Post

Replies

Boosts

Views

Activity

Reply to Apple Watch Missing Developer Mode Option
Now it seems I was able to activate the Developer Mode option but creating a simple app with a watchOS companion app, using Xcode to install the app on my physical iPhone then use the Watch app to install the app on my watch. When going to launch the app, I get the 'Developer Mode must be enabled' error. I can now see the setting in Settings -> Privacy & Security - Developer Tools. I enable it and restart the watch, when going back to the setting, after the restart it is still disabled. I have waited 15 minutes as outlined in this article: https://developer.apple.com/forums/thread/724444. I've restarted my watch 10+ times now.
May ’25
Reply to Importing Data into SwiftData in the Background Using ModelActor and @Query
I'm experiencing this issue after changing to pass PersistentIdentifiers between Actors instead of the actual model. I have standings, which are children of an event (one to many), When the children are updated by an @ModelActor, the changes are not reflected in the UI. The parent passed to the view as an @Bindable parameter. The updates to the UI do appear upon relaunching or navigating away and returning. I have a sample project I can share if anyone is interested. Observing the NotificationCenter, suggested by @DTS Engineer does not resolve this issue. Feedback Submitted: FB15281260
Sep ’24
Reply to Apple Watch Missing Developer Mode Option
iOS18 watchOS11 macOS15 Xcode 16RC1 - Issue persists iOS18 watchOS11 macOS14 Xcode 15.4 - Issue persists I can install the app on to the phone but get an error when trying to install the app from the phone to the watch "This app could not be installed at this time". The app does appear on the watch, when I try to open the app, I get the error: Unable to Install "APPNAME" This app cannot be installed because its integrity cannot be verified I purchased the watch in June '24 to do watchOS development, I figured they'd sort this out with the release of iOS18 and watchOS11. I've performed every step in this thread multiple times.
Sep ’24
Reply to SwiftData: "Illegal attempt to establish a relationship 'item' between objects in different contexts
It's because all SwiftData relationships must be optional, at least at this time and in my experience thus far. I've received this error quite a bit. Changing your code to the below should resolve your issue, I'd be curious if not class MyItem { var name: String var item: Item? init(name: String, item: Item? = nil) { self.name = name self.item = item } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’23
Reply to No ModifedAt Index in CloudKit
Actually, IT DOES seem that adding 'modifiedTimestamp' as QUERYABLE and SORTABLE (along with recordName) as indexes does allow it to pull down correctly. Upon the very first launch of the app, it does not have any of the Public data and currently takes quitting the app and restarting to get the public records to display. I assume this is something I can handle with polling. Thanks
Sep ’22