Search results for

“A Summary of the WWDC26 Group Lab”

11,482 results found

Post

Replies

Boosts

Views

Activity

Keychain Group
Dear Apple Developer Support Team, I would like to inquire whether there is a stable and official method to obtain the correct Team ID. When my app attempts to store data in the Keychain on a physical device, the retrieved Team ID is an unknown one and does not match the Team ID of my developer certificate. This issue consistently results in Keychain access failure with error code -34018. Could you please advise the root cause and provide a reliable solution to fix this Team ID mismatch and resolve the -34018 Keychain error? NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys: kSecClassGenericPassword, kSecClass, @bundleSeedID, kSecAttrAccount, @, kSecAttrService, (id)kCFBooleanTrue, kSecReturnAttributes, nil]; CFDictionaryRef result = nil; OSStatus status = SecItemCopyMatching((CFDictionaryRef)query, (CFTypeRef *)&result); if (status == errSecItemNotFound) status = SecItemAdd((CFDictionaryRef)query, (CFTypeRef *)&result); if (status != errSecSuccess) return nil; NSString *accessGroup = [
5
0
1k
May ’26
Adding a custom widget to the Capture group in Control Center
I noticed that with iOS 18, when adding a widget to the Control Center, there is now some grouping system. I'm interested in the Capture group, which contains native widgets from Apple as well as third party apps like Instagram and Blackmagic cam, widgets in this group open the camera. My widget also opens the camera in my app, how can I add it to this group?
2
0
646
Nov ’24
Game Center leaderboard groups
Hi.I have an iOS game with a single leaderboard (the game is called Arcane Tower). I'm porting the game to OSX and I want to use the same leaderboard for both apps. My question is: is there a way to use the iOS leaderboard in the OSX version of the game without making changes to the iOS version? The documentation mentions that leaderboards in a group must have ids beginning with grp., but if I do that, the iOS version of the game will stop working. If that's the only option, then I'm forced to update the iOS version, but in that case people who don't update the game will stop being able to post their scores.Thanks!
4
0
1k
Jun ’15
Sending to Multicast Group, Receiving on own IP
Hey there. I've struggled now for some time to archieve this in Swift/iOS. The situation is as followed: The app is sending via a multicastGroup (NWMulticastGroup) on a specific Port say 4555 a udp message: Hello. (App) xx.x.x.101:Port=> Hello => Multicastgroup:4555 Device within the local Network, in this Group, receives and replies with World directly to the IP of the sender, and on the Port from the sender. Hello received xx.x.x.105 sending World => x.x.x.101:Port The app should receive and add this Device (via Ip) My Concept: Start: guard let multicast = try? NWMulticastGroup(for: [ .hostPort(host: multicast.ip.address, port: 4555) ] ) let params = NWParameters.udp; params.allowLocalEndpointReuse = true; ...... // And then after starting the queue multicast.send(content: msgData) Thats not the big deal. The App sends via a generic port, (e.g. 53222) so the network device receives and replies on this port directly (but not inside the multicast group). First Question: Is there a w
0
0
749
Sep ’21
App Groups Entitlement: ad hoc signing
On MacOS, I know that App Groups (com.apple.security.application-groups) do not require a provisioning profile. I was wondering if it's possible to sign them ad hoc and have it work? So maybe use a random TEAMID prefix and have it work? I would only need the app to work locally (for testing), not be distributed in that fashion, of course.
3
0
601
Mar ’25
Swift Charts Accessibility Grouping
SwiftUI Charts automatically groups accessibility elements on the graph (Double / Date for example) when there's a lot of data, which overrides the accessibilityLabel and value I set for each data point. This makes sense, but how do we modify the chart navigation accessibility readout when this grouping occurs? Here's an example: var body: some View { let salesData: [(Date, Double)] = [ (Date().addingTimeInterval(-1 * 24 * 60 * 60), 1200), (Date().addingTimeInterval(-2 * 24 * 60 * 60), 1500), (Date().addingTimeInterval(-3 * 24 * 60 * 60), 1000), (Date().addingTimeInterval(-4 * 24 * 60 * 60), 500), (Date().addingTimeInterval(-5 * 24 * 60 * 60), 1500), (Date().addingTimeInterval(-6 * 24 * 60 * 60), 1400), (Date().addingTimeInterval(-7 * 24 * 60 * 60), 1300), (Date().addingTimeInterval(-8 * 24 * 60 * 60), 1800), (Date().addingTimeInterval(-9 * 24 * 60 * 60), 500), (Date().addingTimeInterval(-10 * 24 * 60 * 60), 800), (Date().addingTimeInterval(-11 * 24 * 60 * 60), 800), (Date().addingTimeInterv
2
0
956
Aug ’24
Please help me!! Invalid expiration date in profile of summary of review app.ipa content
The profile expiration date is approaching, and no amount of inquiries will solve it. Create a new profile Download a new profile from Xcode Press archive, press Distribute App, press Enterprise, and distribute Invalid expiration date in profile of summary of review app.ipa content I've tried everything that comes out by Googleing profiles, such as regenerating profiles, erasing caches, updating Xcode, updating macOS, deleting existing profile information, etc. Expiration date different from the expiration date of the profile created in that menu is displayed. The expiration date of the profile I created is December 8, 2026, and the previous certificate is January 22, 2026. However, the profile information of the generated ipa is February 12, 2026. So I can't distribute this app because I'm scared, and the expiration date is coming up. Users should have a period of time to update. Get me a novice developer who's choking up.
0
0
649
Dec ’25
Reply to iCloud LiveSharing link to colaborate
SwiftData + CloudKit integration doesn't natively support CloudKit sharing today, as discussed in this thread. WWDC26 doesn't have any announcement in this regard. To be clear, you do be able to use Swift the language + Core Data (NSPersistentCloudKitContainer) to implement the sharing feature, as demonstrated in this sample. It's also possible that you implement the sharing feature with your own code by using CloudKit directly, though that will be quite involved. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: App & System Services SubTopic: iCloud Tags:
Jun ’26
Behaviour of dispatch group tasks with completions?
Hi, I have pseudo code for a repeating task of work: api_call(/status) { tif response.statusCode == 418 { ttapi_call(/rotate-credentials) { ... } t} telse { ttdoSomeWork() t} tsleep(60) tapi_call(/status) } I want to make a call to /status roughly every 60 seconds, but if the response is a 418 then I want to complete a call to /rotate-credentials before continuing with the next status request. There are other api calls going on as well, triggered by user interaction. These other api calls should wait until the /status call is completed in full (including if a credential rotation is triggered). This implies a serial queue? But that won't wait for the completions to finish, so I should be looking at a dispatch group enter(), leave() and wait() right? I can't find/understand from the docs where completion handlers go, in terms of execution, relative to dispatch queues. So where is the completion handler execution of the subsequent call to /rotate-credentials ? If I wrap the status call in a dispatch group
2
0
930
Jun ’20
Transfer an application between accounts with an existing App Group
Due to business requirements, we need to transfer our app Gem Space for iOS from our current Apple Developer account to a new account. We have a major concern regarding our users and the data associated with the app. The user data is currently stored using an App Group with the identifier, for example: group.com.app.sharedData According to some information we’ve found, it might be possible to complete the transfer by removing the App Group from the old account and creating a new one with the same identifier in the new account. However, other sources suggest that App Group containers are owned by the specific team, and data stored in the container may become inaccessible after the app is transferred to a different team. This raises concerns about the possibility of users losing access to their data after updating the app from the new account. Could you please clarify the expected behavior of App Groups in this case? Do we need to perform any kind of data migration, and if so
2
0
146
Apr ’25
Not able to access the summary day values for Active Energy from Apple HealthKit
I have already created a function to fetch active energy data from HealthKit. But if I try to fetch records of 1 year with multiple active energy records per day, the app hangs and in some cases App does crash and I don't get any data. I couldn't find any other way to access the summary day values for Active Energy from Apple HealthKit. Below is my code for getting Active Energy from HealthKit. func getActiveEnergy(startDate : Date) { ttvar startingDate = startDate tt ttHealthKitSetupManager.getActiveEnergy(date: startDate, withSuccess: { (isSuccess, error) in ttttif isSuccess { ttttttprint(Active Energy Fetch) tttt} tttt ttttstartingDate = NSCalendar.current.date(byAdding: .day, value: 1, to: startDate) ?? Date() tttt ttttif startingDate <= Date() { ttttttself.getActiveEnergy(startDate: startingDate) tttt} else { ttttttself.getSickNumber(startDate : self.globalDate) tttt} tt}) } HealthKitSetupManager.swift class func getActiveEnergy(date:Date, withSuccess: @escaping(Bool,String?) -> Void) { tt
0
0
750
Sep ’20
Keychain Group
Dear Apple Developer Support Team, I would like to inquire whether there is a stable and official method to obtain the correct Team ID. When my app attempts to store data in the Keychain on a physical device, the retrieved Team ID is an unknown one and does not match the Team ID of my developer certificate. This issue consistently results in Keychain access failure with error code -34018. Could you please advise the root cause and provide a reliable solution to fix this Team ID mismatch and resolve the -34018 Keychain error? NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys: kSecClassGenericPassword, kSecClass, @bundleSeedID, kSecAttrAccount, @, kSecAttrService, (id)kCFBooleanTrue, kSecReturnAttributes, nil]; CFDictionaryRef result = nil; OSStatus status = SecItemCopyMatching((CFDictionaryRef)query, (CFTypeRef *)&result); if (status == errSecItemNotFound) status = SecItemAdd((CFDictionaryRef)query, (CFTypeRef *)&result); if (status != errSecSuccess) return nil; NSString *accessGroup = [
Replies
5
Boosts
0
Views
1k
Activity
May ’26
How do I create a new campaign from a campaign group
Just created an Advanced Search Ads account.My dashboard only shows a campaign group I created.I cannot see an option to link iTunes Connect, or create a campaign.How do I get started from here?
Replies
2
Boosts
0
Views
3.1k
Activity
Mar ’18
Adding a custom widget to the Capture group in Control Center
I noticed that with iOS 18, when adding a widget to the Control Center, there is now some grouping system. I'm interested in the Capture group, which contains native widgets from Apple as well as third party apps like Instagram and Blackmagic cam, widgets in this group open the camera. My widget also opens the camera in my app, how can I add it to this group?
Replies
2
Boosts
0
Views
646
Activity
Nov ’24
Game Center leaderboard groups
Hi.I have an iOS game with a single leaderboard (the game is called Arcane Tower). I'm porting the game to OSX and I want to use the same leaderboard for both apps. My question is: is there a way to use the iOS leaderboard in the OSX version of the game without making changes to the iOS version? The documentation mentions that leaderboards in a group must have ids beginning with grp., but if I do that, the iOS version of the game will stop working. If that's the only option, then I'm forced to update the iOS version, but in that case people who don't update the game will stop being able to post their scores.Thanks!
Replies
4
Boosts
0
Views
1k
Activity
Jun ’15
Sending to Multicast Group, Receiving on own IP
Hey there. I've struggled now for some time to archieve this in Swift/iOS. The situation is as followed: The app is sending via a multicastGroup (NWMulticastGroup) on a specific Port say 4555 a udp message: Hello. (App) xx.x.x.101:Port=> Hello => Multicastgroup:4555 Device within the local Network, in this Group, receives and replies with World directly to the IP of the sender, and on the Port from the sender. Hello received xx.x.x.105 sending World => x.x.x.101:Port The app should receive and add this Device (via Ip) My Concept: Start: guard let multicast = try? NWMulticastGroup(for: [ .hostPort(host: multicast.ip.address, port: 4555) ] ) let params = NWParameters.udp; params.allowLocalEndpointReuse = true; ...... // And then after starting the queue multicast.send(content: msgData) Thats not the big deal. The App sends via a generic port, (e.g. 53222) so the network device receives and replies on this port directly (but not inside the multicast group). First Question: Is there a w
Replies
0
Boosts
0
Views
749
Activity
Sep ’21
App Groups Entitlement: ad hoc signing
On MacOS, I know that App Groups (com.apple.security.application-groups) do not require a provisioning profile. I was wondering if it's possible to sign them ad hoc and have it work? So maybe use a random TEAMID prefix and have it work? I would only need the app to work locally (for testing), not be distributed in that fashion, of course.
Replies
3
Boosts
0
Views
601
Activity
Mar ’25
Swift Charts Accessibility Grouping
SwiftUI Charts automatically groups accessibility elements on the graph (Double / Date for example) when there's a lot of data, which overrides the accessibilityLabel and value I set for each data point. This makes sense, but how do we modify the chart navigation accessibility readout when this grouping occurs? Here's an example: var body: some View { let salesData: [(Date, Double)] = [ (Date().addingTimeInterval(-1 * 24 * 60 * 60), 1200), (Date().addingTimeInterval(-2 * 24 * 60 * 60), 1500), (Date().addingTimeInterval(-3 * 24 * 60 * 60), 1000), (Date().addingTimeInterval(-4 * 24 * 60 * 60), 500), (Date().addingTimeInterval(-5 * 24 * 60 * 60), 1500), (Date().addingTimeInterval(-6 * 24 * 60 * 60), 1400), (Date().addingTimeInterval(-7 * 24 * 60 * 60), 1300), (Date().addingTimeInterval(-8 * 24 * 60 * 60), 1800), (Date().addingTimeInterval(-9 * 24 * 60 * 60), 500), (Date().addingTimeInterval(-10 * 24 * 60 * 60), 800), (Date().addingTimeInterval(-11 * 24 * 60 * 60), 800), (Date().addingTimeInterv
Replies
2
Boosts
0
Views
956
Activity
Aug ’24
Please help me!! Invalid expiration date in profile of summary of review app.ipa content
The profile expiration date is approaching, and no amount of inquiries will solve it. Create a new profile Download a new profile from Xcode Press archive, press Distribute App, press Enterprise, and distribute Invalid expiration date in profile of summary of review app.ipa content I've tried everything that comes out by Googleing profiles, such as regenerating profiles, erasing caches, updating Xcode, updating macOS, deleting existing profile information, etc. Expiration date different from the expiration date of the profile created in that menu is displayed. The expiration date of the profile I created is December 8, 2026, and the previous certificate is January 22, 2026. However, the profile information of the generated ipa is February 12, 2026. So I can't distribute this app because I'm scared, and the expiration date is coming up. Users should have a period of time to update. Get me a novice developer who's choking up.
Replies
0
Boosts
0
Views
649
Activity
Dec ’25
Reply to VPP or DEP simulators? Anyone find the download links?
Same procedure as every year... I'm more interested in the updated MDM ref. Seems we've to bug them tomorrow in the lab. ;-)
Replies
Boosts
Views
Activity
Jun ’15
How to enable App Groups without Developer Account
How to enable App Groups without Developer Account in Xcode7.3 or Xcode8
Replies
0
Boosts
0
Views
419
Activity
Sep ’16
Reply to iCloud LiveSharing link to colaborate
SwiftData + CloudKit integration doesn't natively support CloudKit sharing today, as discussed in this thread. WWDC26 doesn't have any announcement in this regard. To be clear, you do be able to use Swift the language + Core Data (NSPersistentCloudKitContainer) to implement the sharing feature, as demonstrated in this sample. It's also possible that you implement the sharing feature with your own code by using CloudKit directly, though that will be quite involved. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Jun ’26
Behaviour of dispatch group tasks with completions?
Hi, I have pseudo code for a repeating task of work: api_call(/status) { tif response.statusCode == 418 { ttapi_call(/rotate-credentials) { ... } t} telse { ttdoSomeWork() t} tsleep(60) tapi_call(/status) } I want to make a call to /status roughly every 60 seconds, but if the response is a 418 then I want to complete a call to /rotate-credentials before continuing with the next status request. There are other api calls going on as well, triggered by user interaction. These other api calls should wait until the /status call is completed in full (including if a credential rotation is triggered). This implies a serial queue? But that won't wait for the completions to finish, so I should be looking at a dispatch group enter(), leave() and wait() right? I can't find/understand from the docs where completion handlers go, in terms of execution, relative to dispatch queues. So where is the completion handler execution of the subsequent call to /rotate-credentials ? If I wrap the status call in a dispatch group
Replies
2
Boosts
0
Views
930
Activity
Jun ’20
Transfer an application between accounts with an existing App Group
Due to business requirements, we need to transfer our app Gem Space for iOS from our current Apple Developer account to a new account. We have a major concern regarding our users and the data associated with the app. The user data is currently stored using an App Group with the identifier, for example: group.com.app.sharedData According to some information we’ve found, it might be possible to complete the transfer by removing the App Group from the old account and creating a new one with the same identifier in the new account. However, other sources suggest that App Group containers are owned by the specific team, and data stored in the container may become inaccessible after the app is transferred to a different team. This raises concerns about the possibility of users losing access to their data after updating the app from the new account. Could you please clarify the expected behavior of App Groups in this case? Do we need to perform any kind of data migration, and if so
Replies
2
Boosts
0
Views
146
Activity
Apr ’25
Not able to access the summary day values for Active Energy from Apple HealthKit
I have already created a function to fetch active energy data from HealthKit. But if I try to fetch records of 1 year with multiple active energy records per day, the app hangs and in some cases App does crash and I don't get any data. I couldn't find any other way to access the summary day values for Active Energy from Apple HealthKit. Below is my code for getting Active Energy from HealthKit. func getActiveEnergy(startDate : Date) { ttvar startingDate = startDate tt ttHealthKitSetupManager.getActiveEnergy(date: startDate, withSuccess: { (isSuccess, error) in ttttif isSuccess { ttttttprint(Active Energy Fetch) tttt} tttt ttttstartingDate = NSCalendar.current.date(byAdding: .day, value: 1, to: startDate) ?? Date() tttt ttttif startingDate <= Date() { ttttttself.getActiveEnergy(startDate: startingDate) tttt} else { ttttttself.getSickNumber(startDate : self.globalDate) tttt} tt}) } HealthKitSetupManager.swift class func getActiveEnergy(date:Date, withSuccess: @escaping(Bool,String?) -> Void) { tt
Replies
0
Boosts
0
Views
750
Activity
Sep ’20
Reply to Access to gyroscope?
There is no gyroscope in the watch - at least that's what i was told in the lab. If you want to use a gyroscope, you'll have to access the phone. A bummer for sure.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’15