Search results for

“A Summary of the WWDC25 Group Lab”

10,703 results found

Post

Replies

Boosts

Views

Activity

Is it possible to share an app group between Catalyst and AppKit Apps?
I have 2 Apps. A sandboxed native Mac App written in AppKit/SwiftUI. A Catalyst App. I would like them to be able to communicate with each other. I assumed I would be able to do this using a shared App Group but I can't get it to work and I think this is because the App Group naming conventions appear to be different. As far as I can make out: A Mac App uses App groups prefixed with the team ID A Catalyst App uses the iOS App groups which are prefixed with group. I have tried multiple combinations of different prefixes to try and make this work but without success. I have been testing this by using UserDefaults(suiteName: appGroup) and then attempting to read write values between the 2 Apps but without success so far. My questions are: Is sharing an App Group between Catalyst and native technically possible? If it is possible what is the magic combo of App Group prefixes that makes it work? If it is not possible then do I have any other options fo
2
0
1.6k
Jun ’22
keychain-access-groups in entitlement is replaced by app ID
in my app i added keychain access group in capabilities, then i checked the entitlement file, the value of keychain-access-groups is 94KV3E626X.com.frank.keychainAccessGroup I turned on Automatically manage signing in xcode everything looks fine. i tested in simulator and device in debug environment, and it works fine. I could shared data across main app and app extension... but after I build the app thru pipeline and use adhoc environment and get the .app file, i run this command in terminal: codesign --display --entitlements :- myapp.app it shows the value of keychain-access-groups is NOT 94KV3E626X.com.frank.keychainAccessGroup that is defined before. it is replaced by the app id 94KV3E626X.com.frank.development.adhoc. Does anyone know why the value of keychain-access-groups is replaced? it supposes to be the one i defined in Xcode, which is 94KV3E626X.com.frank.keychainAccessGroup
2
0
923
Jun ’21
big sur keychain-access-groups crash
We recently added keychain-access-group to our macOS app but the app failed to open in big sur (macOS 11). It works fine in Monterey and Ventura. The crash log shows. Exception Type: EXC_CRASH (Code Signature Invalid) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace CODESIGNING, Code 0x1 Here is our entitlement and provision profile codesign -d --entitlements <plist version=1.0> <dict> <key>com.apple.security.device.audio-input</key><true/><key>com.apple.security.device.camera</key><true/> <key>keychain-access-groups</key> <array> <string>Q76YUSCMX8.com.veevasystems.crmdesktop</string> </array> </dict> </plist> The provision profile shows security cms -D -i <key>ApplicationIdentifierPrefix</key> <array> <string>Q76YUSCMX8</string> </array> ... <key>Entitlements</key> <dict>
1
0
883
Mar ’23
BUG: Groups now create Subdirectories in Xcode 9
I seem to have found a BUG in XCode 9, however I can't submit it, so I'll submit it here and hope one of you that can submit bugs can forward it to Apple.It's an easy bug to test: Create a project, then create a Group. In Xcode 8.3.3 this would create a Group in Xcode but not a subdirectory in Finder. NOW it also generates a Subdirectory (check your finder directory). I discovered this by following some directions in a book on Core Data. I started in Xcode and created the groups as described in the book. Later I downloaded Xcode 9 and started over (creating a new project), creating the group now creates a subdirectory also. This might actually be NICE....if it weren't for the fact that some files, like info.plist are expected to be in the main project directory, or at least it errored when I moved the info.list to the Group, as described in the book (it works in Xcode 8.3.3, does not work in Xcode 9 beta 5).I tried this in iOS, as well as in macOS (both create subd
0
0
731
Aug ’17
Can apps in an app group share the same IAP?
I have two versions of my game, one under 100mb and one way bigger. Most users will try the game with the small version and then be promted to download the big verison to be able to play more. The light and big version of the game are in the same app group. Is it possible to share the IAP (in app purchases) for both versions? In Itunes connect its easy to import the achivments and leaderboards between the two app versions in the group. But I see no such option for the IAP...
1
0
531
May ’16
getgrouplist called triggering group enumeration
A weird window popped up saying Battery 3 Demo Installer needs permission to access system. Tracing it to:MusicTechFocus/Music Tech Focus Logic Pro/Plug-in demo versions/Battery 3 Demo Installer.appApparently it was triggered by Spotlight Search.macOS Sierra Version 10.12 Beta (16A270f).That file has been there for years. Don't know why it decided to popup.12:10:45.416372 -0700Battery 3 Installergetgrouplist called triggering group enumerationcom.apple.message.value: 50com.apple.message.domain: com.apple.system.libinfocom.apple.message.result: noopcom.apple.message.signature: getgrouplistSenderMachUUID: 00000000-0000-0000-0000-000000000000
0
0
1.8k
Aug ’16
Will UserDefaults via App Group be disallowed?
According to upcoming privacy manifest document, NSUserDefaults is only allowed for a use for the app itself. It is serious for developers who makes App Extensions. https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api CA92.1 Declare this reason to access user defaults to read and write information that is only accessible to the app itself. This reason does not permit reading information that was written by other apps or the system, or writing information that can be accessed by other apps. Developers, please submit a request to add the permission of App Group. https://developer.apple.com/contact/request/privacy-manifest-reason/
2
0
1.8k
Oct ’23
Grouping Apps impossible when Apps are not lined up.
I have been playing around with the page layout on my IPad Pro and discovered that is is impossible to group apps if you leave an empty space in the page. I found the option fun to finally place my apps where i want and not just lined up from top to bottom. I discovered if you leave gaps in the page layout it is impossible to groupe apps. The moment you hover the app over the groupe, the groupe shifts back to fill the empty space. Once I filled up all the empty space then the groupe stops moving. It is pretty annoying. The was excited to see the new feature to finally hate it completely. I do hope someone will fix this problem.
1
0
691
Oct ’24
Share security scoped bookmark in app group?
1) Main app and extension register for app groups.2) Main app gets a url from NSOpenPanel, makes a security scoped bookmark and saves is in NSUserdefaults with group container as the suite name.3) Run the extension, grab the bookmark data from user defaults and resolve it. The data is not nil, but fails to resolve:Error Domain=NSCocoaErrorDomain Code=259 The file couldn’t be opened because it isn’t in the correct format.
20
0
10k
Oct ’16
Is it possible to share an app group between Catalyst and AppKit Apps?
I have 2 Apps. A sandboxed native Mac App written in AppKit/SwiftUI. A Catalyst App. I would like them to be able to communicate with each other. I assumed I would be able to do this using a shared App Group but I can't get it to work and I think this is because the App Group naming conventions appear to be different. As far as I can make out: A Mac App uses App groups prefixed with the team ID A Catalyst App uses the iOS App groups which are prefixed with group. I have tried multiple combinations of different prefixes to try and make this work but without success. I have been testing this by using UserDefaults(suiteName: appGroup) and then attempting to read write values between the 2 Apps but without success so far. My questions are: Is sharing an App Group between Catalyst and native technically possible? If it is possible what is the magic combo of App Group prefixes that makes it work? If it is not possible then do I have any other options fo
Replies
2
Boosts
0
Views
1.6k
Activity
Jun ’22
Notifications when user changes Subscription in Subscription Group
With the new subscription groups, users can upgrade and downgrade from outside the app. Is there any mechanism that lets the app know when those events have happened? Or do we have to keep track of it ourselves by parsing the receipt file every time the app is opened?
Replies
0
Boosts
0
Views
273
Activity
Sep ’16
keychain-access-groups in entitlement is replaced by app ID
in my app i added keychain access group in capabilities, then i checked the entitlement file, the value of keychain-access-groups is 94KV3E626X.com.frank.keychainAccessGroup I turned on Automatically manage signing in xcode everything looks fine. i tested in simulator and device in debug environment, and it works fine. I could shared data across main app and app extension... but after I build the app thru pipeline and use adhoc environment and get the .app file, i run this command in terminal: codesign --display --entitlements :- myapp.app it shows the value of keychain-access-groups is NOT 94KV3E626X.com.frank.keychainAccessGroup that is defined before. it is replaced by the app id 94KV3E626X.com.frank.development.adhoc. Does anyone know why the value of keychain-access-groups is replaced? it supposes to be the one i defined in Xcode, which is 94KV3E626X.com.frank.keychainAccessGroup
Replies
2
Boosts
0
Views
923
Activity
Jun ’21
big sur keychain-access-groups crash
We recently added keychain-access-group to our macOS app but the app failed to open in big sur (macOS 11). It works fine in Monterey and Ventura. The crash log shows. Exception Type: EXC_CRASH (Code Signature Invalid) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace CODESIGNING, Code 0x1 Here is our entitlement and provision profile codesign -d --entitlements <plist version=1.0> <dict> <key>com.apple.security.device.audio-input</key><true/><key>com.apple.security.device.camera</key><true/> <key>keychain-access-groups</key> <array> <string>Q76YUSCMX8.com.veevasystems.crmdesktop</string> </array> </dict> </plist> The provision profile shows security cms -D -i <key>ApplicationIdentifierPrefix</key> <array> <string>Q76YUSCMX8</string> </array> ... <key>Entitlements</key> <dict>
Replies
1
Boosts
0
Views
883
Activity
Mar ’23
BUG: Groups now create Subdirectories in Xcode 9
I seem to have found a BUG in XCode 9, however I can't submit it, so I'll submit it here and hope one of you that can submit bugs can forward it to Apple.It's an easy bug to test: Create a project, then create a Group. In Xcode 8.3.3 this would create a Group in Xcode but not a subdirectory in Finder. NOW it also generates a Subdirectory (check your finder directory). I discovered this by following some directions in a book on Core Data. I started in Xcode and created the groups as described in the book. Later I downloaded Xcode 9 and started over (creating a new project), creating the group now creates a subdirectory also. This might actually be NICE....if it weren't for the fact that some files, like info.plist are expected to be in the main project directory, or at least it errored when I moved the info.list to the Group, as described in the book (it works in Xcode 8.3.3, does not work in Xcode 9 beta 5).I tried this in iOS, as well as in macOS (both create subd
Replies
0
Boosts
0
Views
731
Activity
Aug ’17
Reply to Swift Package that has `@objc` in Swift code can’t be used due to Objective-C module failure
Hi, Developer Tools Engineer, So as we discussed on Xcode Open Hours lab today, I filed FB7799213 with these examples (and there is also original FB7781285.) Please track the issue by using these feedback! Thank you!
Replies
Boosts
Views
Activity
Jun ’20
Reply to Can't begin NFCNDEFReaderSession, invalidates immediately.
For Feature not Supported seeming to be random:Make sure the VALUE for the KEY 'com.apple.developer.nfc.readersession.formats' is an ARRAY with 'NDEF' in it. This will all likely become clearer if you visit the Lab @ WWDC or wait until the talk.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’17
Can apps in an app group share the same IAP?
I have two versions of my game, one under 100mb and one way bigger. Most users will try the game with the small version and then be promted to download the big verison to be able to play more. The light and big version of the game are in the same app group. Is it possible to share the IAP (in app purchases) for both versions? In Itunes connect its easy to import the achivments and leaderboards between the two app versions in the group. But I see no such option for the IAP...
Replies
1
Boosts
0
Views
531
Activity
May ’16
Reply to Thanks for making these!
I second this! I really enjoyed the Widget code along! This is something that google does fairly well as well with their code labs and I've always wanted more of their ilk for our community!
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’20
getgrouplist called triggering group enumeration
A weird window popped up saying Battery 3 Demo Installer needs permission to access system. Tracing it to:MusicTechFocus/Music Tech Focus Logic Pro/Plug-in demo versions/Battery 3 Demo Installer.appApparently it was triggered by Spotlight Search.macOS Sierra Version 10.12 Beta (16A270f).That file has been there for years. Don't know why it decided to popup.12:10:45.416372 -0700Battery 3 Installergetgrouplist called triggering group enumerationcom.apple.message.value: 50com.apple.message.domain: com.apple.system.libinfocom.apple.message.result: noopcom.apple.message.signature: getgrouplistSenderMachUUID: 00000000-0000-0000-0000-000000000000
Replies
0
Boosts
0
Views
1.8k
Activity
Aug ’16
Will UserDefaults via App Group be disallowed?
According to upcoming privacy manifest document, NSUserDefaults is only allowed for a use for the app itself. It is serious for developers who makes App Extensions. https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api CA92.1 Declare this reason to access user defaults to read and write information that is only accessible to the app itself. This reason does not permit reading information that was written by other apps or the system, or writing information that can be accessed by other apps. Developers, please submit a request to add the permission of App Group. https://developer.apple.com/contact/request/privacy-manifest-reason/
Replies
2
Boosts
0
Views
1.8k
Activity
Oct ’23
Reply to Speeding up asset catalog compilation for developer builds
Thank you very much for the reply! You can find a summary of the request in FB9048011.
Replies
Boosts
Views
Activity
Mar ’21
Reply to Help to add some functionality
It displays the game’s information such as the summary and the story line for the games
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’20
Grouping Apps impossible when Apps are not lined up.
I have been playing around with the page layout on my IPad Pro and discovered that is is impossible to group apps if you leave an empty space in the page. I found the option fun to finally place my apps where i want and not just lined up from top to bottom. I discovered if you leave gaps in the page layout it is impossible to groupe apps. The moment you hover the app over the groupe, the groupe shifts back to fill the empty space. Once I filled up all the empty space then the groupe stops moving. It is pretty annoying. The was excited to see the new feature to finally hate it completely. I do hope someone will fix this problem.
Replies
1
Boosts
0
Views
691
Activity
Oct ’24
Share security scoped bookmark in app group?
1) Main app and extension register for app groups.2) Main app gets a url from NSOpenPanel, makes a security scoped bookmark and saves is in NSUserdefaults with group container as the suite name.3) Run the extension, grab the bookmark data from user defaults and resolve it. The data is not nil, but fails to resolve:Error Domain=NSCocoaErrorDomain Code=259 The file couldn’t be opened because it isn’t in the correct format.
Replies
20
Boosts
0
Views
10k
Activity
Oct ’16