Search results for

“A Summary of the WWDC26 Group Lab”

11,829 results found

Post

Replies

Boosts

Views

Activity

How to add and move a group (folder) in Xcode project?
After I add a new group to my project inside the project navigator in Xcode, by right clicking, it always seems to appear somewhere I don't want it - for example, even if I am under App Delegate at the time of right clicking, it will still land right at the top of everything else. How can I add it where I need it to avoid having to move it? Also, I am not sure how to move a group in an efficient manner. When I try to drag and drop a group folder to another spot within my project navigator in Xcode, a green drag and add line appears and it automatically adds a duplicate. I then have to delete the original folder but even so I don't feel comfortable doing so.
5
0
5.5k
Aug ’17
Group leaderboards show "No Data Available"
After migrating my iOS leaderboard to a group and adding to this group my macOS game, I can't get to display my leaderboards anywhere.After testing in real devices, I don't get errors when reporting scores to the leaderbords with the grp prefix, but when trying to display the gamecenter leaderbords I only get the No Data Availble, also when trying to force load the scores on my leaderboards using the GKLeaderboard() .loadscores I get the following error: The requested operation could not be completed due to an error communicating with the server.
0
0
663
Jun ’17
network extension, app groups, unix domain socket
Hi to all.I am developing network extension and have several issues that I faced and have no idea how to solve.So:1. there is sandboxed application that can install/unintall own network extension;2. there is App Group(https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_application-groups?language=objc), sandboxed application and appropriate network extension are included into group via owns entitlement files;3. App group registered manualy on https://developer.apple.com/account/resources/identifiers/list/applicationGroup, the same identifier is used in appropriate entitlement files. Identifier on site looks like group.TEAM_ID.com.company.app-group. Identifier in entitlement looks like TEAM_ID.com.company.app-group, i.e. without precending group;4. It is required to use unix domain socket for IPC communication between sandboxed application and network extension(I am porting existing software, so this is not a b
5
0
2.6k
May ’20
turn based game with groups message
If we have a turn base game that only accepts 2 players at a time, will Apple reject us if within a group text message session (>2 users), that only 2 of those user can play at once.Sorry for these questions but Apple documentation is not really helping out with anything especially if they are expecting us to release apps by mid September - we are kinda frustrated a bit since we running into road blocks on every turn or decision.
1
0
384
Aug ’16
Catalyst: Cannot submit/validate app with App Groups
I'm testing the submission/validation process for my Catalyst app, and I keep getting an App Store Connect error saying I have invalid code signing entitlements because my App Group does not start with my team ID. Mac apps are supposed to prefix their App Groups with the team ID, but iOS apps are prefixed with just the word group. And there's no way to manually change an iOS app group to start with a team ID (at least not that I can find). Has anyone found a workaround for this? Or am I just not able to use App Groups in a Catalyst app?(Note that I am using manual code signing because I need to submit the app for an existing app ID, so perhaps this isn't an issue for automatic signing.)
0
0
998
Aug ’19
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
909
Mar ’23
Error -34018 calling SecItemCopyMatching (no group)
Hi, I'm getting the error code -34018 in the VisionOS simulator when calling SecItemCopyMatching with this query: let getquery: [String: Any] = [kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: name, kSecReturnData as String: kCFBooleanTrue!, kSecMatchLimit as String : kSecMatchLimitOne ] The console says: copy_matching Error Domain=NSOSStatusErrorDomain Code=-34018 Client has neither application-identifier nor keychain-access-groups entitlements UserInfo={numberOfErrorsDeep=0, NSDescription=Client has neither application-identifier nor keychain-access-groups entitlements} I'm NOT using groups. I've tried changing the bundle id. Xcode version 15.0 beta 2 (15A5161b) Anyone have any ideas? Anyone using the keychain in their visionOS app? :-)
2
0
1.7k
Jul ’23
Is there any way to prevent a folder (Group) from building/executing?
I have a folder (group) under my project folder, which I collect temporary files and mostly in .txt format. I need those files they are not complete garbage. The issue is xCode (swiftui) is throwing warnings of No rule to process file... etc. I know it's because of the txt files etc. How to let xCode (swiftui) know that I don't wanna compile or xCode (swiftui) doesn't even have to go through those files? or How to ignore all the warnings from that specific folder (group)?
1
0
1.8k
Dec ’21
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
953
Jun ’21
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.9k
Oct ’23
How to add and move a group (folder) in Xcode project?
After I add a new group to my project inside the project navigator in Xcode, by right clicking, it always seems to appear somewhere I don't want it - for example, even if I am under App Delegate at the time of right clicking, it will still land right at the top of everything else. How can I add it where I need it to avoid having to move it? Also, I am not sure how to move a group in an efficient manner. When I try to drag and drop a group folder to another spot within my project navigator in Xcode, a green drag and add line appears and it automatically adds a duplicate. I then have to delete the original folder but even so I don't feel comfortable doing so.
Replies
5
Boosts
0
Views
5.5k
Activity
Aug ’17
Group leaderboards show "No Data Available"
After migrating my iOS leaderboard to a group and adding to this group my macOS game, I can't get to display my leaderboards anywhere.After testing in real devices, I don't get errors when reporting scores to the leaderbords with the grp prefix, but when trying to display the gamecenter leaderbords I only get the No Data Availble, also when trying to force load the scores on my leaderboards using the GKLeaderboard() .loadscores I get the following error: The requested operation could not be completed due to an error communicating with the server.
Replies
0
Boosts
0
Views
663
Activity
Jun ’17
network extension, app groups, unix domain socket
Hi to all.I am developing network extension and have several issues that I faced and have no idea how to solve.So:1. there is sandboxed application that can install/unintall own network extension;2. there is App Group(https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_application-groups?language=objc), sandboxed application and appropriate network extension are included into group via owns entitlement files;3. App group registered manualy on https://developer.apple.com/account/resources/identifiers/list/applicationGroup, the same identifier is used in appropriate entitlement files. Identifier on site looks like group.TEAM_ID.com.company.app-group. Identifier in entitlement looks like TEAM_ID.com.company.app-group, i.e. without precending group;4. It is required to use unix domain socket for IPC communication between sandboxed application and network extension(I am porting existing software, so this is not a b
Replies
5
Boosts
0
Views
2.6k
Activity
May ’20
turn based game with groups message
If we have a turn base game that only accepts 2 players at a time, will Apple reject us if within a group text message session (>2 users), that only 2 of those user can play at once.Sorry for these questions but Apple documentation is not really helping out with anything especially if they are expecting us to release apps by mid September - we are kinda frustrated a bit since we running into road blocks on every turn or decision.
Replies
1
Boosts
0
Views
384
Activity
Aug ’16
Catalyst: Cannot submit/validate app with App Groups
I'm testing the submission/validation process for my Catalyst app, and I keep getting an App Store Connect error saying I have invalid code signing entitlements because my App Group does not start with my team ID. Mac apps are supposed to prefix their App Groups with the team ID, but iOS apps are prefixed with just the word group. And there's no way to manually change an iOS app group to start with a team ID (at least not that I can find). Has anyone found a workaround for this? Or am I just not able to use App Groups in a Catalyst app?(Note that I am using manual code signing because I need to submit the app for an existing app ID, so perhaps this isn't an issue for automatic signing.)
Replies
0
Boosts
0
Views
998
Activity
Aug ’19
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
909
Activity
Mar ’23
Error -34018 calling SecItemCopyMatching (no group)
Hi, I'm getting the error code -34018 in the VisionOS simulator when calling SecItemCopyMatching with this query: let getquery: [String: Any] = [kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: name, kSecReturnData as String: kCFBooleanTrue!, kSecMatchLimit as String : kSecMatchLimitOne ] The console says: copy_matching Error Domain=NSOSStatusErrorDomain Code=-34018 Client has neither application-identifier nor keychain-access-groups entitlements UserInfo={numberOfErrorsDeep=0, NSDescription=Client has neither application-identifier nor keychain-access-groups entitlements} I'm NOT using groups. I've tried changing the bundle id. Xcode version 15.0 beta 2 (15A5161b) Anyone have any ideas? Anyone using the keychain in their visionOS app? :-)
Replies
2
Boosts
0
Views
1.7k
Activity
Jul ’23
Is there any way to prevent a folder (Group) from building/executing?
I have a folder (group) under my project folder, which I collect temporary files and mostly in .txt format. I need those files they are not complete garbage. The issue is xCode (swiftui) is throwing warnings of No rule to process file... etc. I know it's because of the txt files etc. How to let xCode (swiftui) know that I don't wanna compile or xCode (swiftui) doesn't even have to go through those files? or How to ignore all the warnings from that specific folder (group)?
Replies
1
Boosts
0
Views
1.8k
Activity
Dec ’21
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
953
Activity
Jun ’21
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.9k
Activity
Oct ’23