Post

Replies

Boosts

Views

Activity

Reply to SwiftData app always at 100% cpu when idle after upgrading to Xcode 15.3
Glad to see other people are facing the same issue with swiftdata, I've been coding for a week straight trying to figure out in my settings and codes why I was facing this issue. My CPU goes between 100% and 200% when using the app with my swiftdata. Whenever I remove swiftdata from the data my app works normally. I even tried to use Product - Profile - Instruments - Time Profiler, and the issue is pointing at swiftdata getter. At the beginning I was getting a white screen whenever opening the app for the first time from the compiler on both simulators and phone. I improved the cpu usage a bit but now it's still running between 100%-200% with extreme lags that make the app impossible to use. I was ready launch the app and then i upgraded to the new xcode version and everything went downhill. Overall in my other apps I also had a lot of issue having to refactor some codes that used to work in the prior xcode version (good practice i guess but kind of annoying). Looking forward to an update that will fix this issue! Thanks to the dev team working on this.
Mar ’24
Reply to SwiftData app always at 100% cpu when idle after upgrading to Xcode 15.3
Glad to see other people are facing the same issue with swiftdata, I've been coding for a week straight trying to figure out in my settings and codes why I was facing this issue. My CPU goes between 100% and 200% when using the app with my swiftdata. Whenever I remove swiftdata from the data my app works normally. I even tried to use Product - Profile - Instruments - Time Profiler, and the issue is pointing at swiftdata getter. At the beginning I was getting a white screen whenever opening the app for the first time from the compiler on both simulators and phone. I improved the cpu usage a bit but now it's still running between 100%-200% with extreme lags that make the app impossible to use. I was ready launch the app and then i upgraded to the new xcode version and everything went downhill. Overall in my other apps I also had a lot of issue having to refactor some codes that used to work in the prior xcode version (good practice i guess but kind of annoying). Looking forward to an update that will fix this issue! Thanks to the dev team working on this.
Replies
Boosts
Views
Activity
Mar ’24