Post

Replies

Boosts

Views

Activity

Comment on Share extension activation rule for selected text on macOS
@Engineer Yes! This seems to solve the issue. Thank you. 🙏 Tip to anybody having issues debugging their share extensions on the Mac: It seems that macOS caches the share extension activation rules for all apps that are in the Applications folder. If changes to your activation rule seem to have no effect when run from XCode, try to make a production build and place it in your Applications folder (and maybe reboot).
Topic: UI Frameworks SubTopic: AppKit Tags:
Feb ’25
Comment on NSPersistentCloudKitContainer CKRecord conversion errors
Awesome! I had the exact same issue. When testing on the Development environment, I had never added this many images or very large images. So CoreData would never extract image data to external ckAsset files / objects and the field was missing from the schema on the iCloud Dashboard. The trick is to really force CoreData to extract the data to separate assets by adding a lot of large assets (in my case images). Thank you very much!
Topic: App & System Services SubTopic: iCloud Tags:
Oct ’23
Comment on How to submit Watch companion apps to App Store on XCode 14
I can't follow you. When I first setup the Watch target in XCode 13, XCode created two targets: one Watch App target and one Extension. This is also how it is shown in the latest tutorial: https://developer.apple.com/tutorials/swiftui/creating-a-watchos-app But when I moved to XCode 14 and set up the new single-target for the Watch App is not included in archives and submissions anymore. When I inspect the archive, it is not included and in TestFlight app details it states "Watch App: No".
Sep ’22
Comment on Invalid code signing entitlements with app group on macOS
I found that his is (now?) also mentioned in the XCode 16.3 beta release notes: https://developer.apple.com/documentation/xcode-release-notes/xcode-16_3-release-notes#Distribution There are in fact two locations that should be deleted: /Library/MobileDevice/Provisioning Profiles and ~/Library/Developer/Xcode/UserData/Provisioning Profiles
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Mar ’25
Comment on Share extension activation rule for selected text on macOS
@Engineer Yes! This seems to solve the issue. Thank you. 🙏 Tip to anybody having issues debugging their share extensions on the Mac: It seems that macOS caches the share extension activation rules for all apps that are in the Applications folder. If changes to your activation rule seem to have no effect when run from XCode, try to make a production build and place it in your Applications folder (and maybe reboot).
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’25
Comment on NSPersistentCloudKitContainer CKRecord conversion errors
Awesome! I had the exact same issue. When testing on the Development environment, I had never added this many images or very large images. So CoreData would never extract image data to external ckAsset files / objects and the field was missing from the schema on the iCloud Dashboard. The trick is to really force CoreData to extract the data to separate assets by adding a lot of large assets (in my case images). Thank you very much!
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on Share NSUbiquitousKeyValueStore between Watch app and iOS app
This is the correct way to do it. In fact, the Watch app will sync to a different Key-Value store. The iCloudKey-Value Store needs to be changed manually in the entitlements file as you said. However, I decided to change the Watch app's entitlements file to use the bundle identifier of the iOS app by setting it to $(TeamIdentifierPrefix)com.my-company.myApp
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’23
Comment on How to submit Watch companion apps to App Store on XCode 14
I can't follow you. When I first setup the Watch target in XCode 13, XCode created two targets: one Watch App target and one Extension. This is also how it is shown in the latest tutorial: https://developer.apple.com/tutorials/swiftui/creating-a-watchos-app But when I moved to XCode 14 and set up the new single-target for the Watch App is not included in archives and submissions anymore. When I inspect the archive, it is not included and in TestFlight app details it states "Watch App: No".
Replies
Boosts
Views
Activity
Sep ’22