Search results for

“A Summary of the WWDC26 Group Lab”

11,228 results found

Post

Replies

Boosts

Views

Activity

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
Transfer apps with previous Sandboxed Group Container
I know it was not possible previously, but wonder have things changed to support transfer of apps with this condition: Sandboxed Group Container You can only transfer sandboxed apps that are not sharing a group container. Our old company is having some issues and cannot continue, and would like to transfer to another company without doing the binary reassignment process which loses all the reviews. Thank you!
0
0
278
Nov ’25
Confusion about access groups and iOS extensions.
I have an app that's been out for awhile and uses the Keychain to store a token. Now, I'm adding an extension to my app, and so I'm using the methods described in the App Extension Best Practices sesion from 2015 to share a secret between my app and my extension using an access group.My question is about the automatic search behavior for the query API. It's said in the session that update/delete/matching all do the right thing with accessible keychains. What keychains are supposed to be accessible to the extension? What I'm finding is that for existing app users (people who had saved the secret before I was using access groups), my extension has access to the keychain item despite it not having an access group. What I anticipated was that that wouldn't work, and I'd have to do some kind of migration step to move my non-access group item into an acess group one. But it looks like I don't have to do that, at least when I'm debugging with Xcode. Am I missing something here or
8
0
12k
Nov ’16
Text output of the text based on a lab from a CoreMLDataModel
Hello, I have created a data model with Text Classification which contains many garments with the label clothing, technology equipment with the label technology, etc.... . I have inserted it so that when entering for example T-shirt the label clothing is output. But I want it so that when I create an equipment category with the clothing, that it suggests me clothing items, which I add. How do I implement this. In the function you can only usepreditction.label. I program with SwiftUI. func textml() { do { let model = try DataModel_Symbols_Consilia(configuration: .init()) let prediction = try model.prediction(text: addProjectVM.title) addProjectVM.symbol = prediction.label } catch { modelOutput = Something went wrong } } Greetings Janik
3
0
1.3k
Mar ’23
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
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
547
Nov ’24
Device management lab questions (Tuesday, June 4th at 10:00 AM)
Question: Any plans to be able to login to the Mac with a Managed Apple ID?Answer: Apple does not comment on future plans.Question: Will Apple ever offer more in-depth status information on Apple's system status website for the Apple Business Manager system?Answer: File a Radar to request the specific features you want.Question: Is there any movement with regards to fully automated, zero touch, Apple TV style DEP for macs? It's increasingly challenging to support labs and build farms where we need fully automated installs at scale.Answer: Not happening this year. We get the problem.Question: Activation for Macs? Can we prevent users from bypassing DEP on macOS via offline setup?Answer: Not happening this year. It's a tricky process to cover all deployment scenarios well.Question: How does T2 activation for macs work?Answer: Ask in Security lab.Question: Will we ever be able to manually add macOS devices into DEP similarly to how we can add iOS devices using Apple Configurator?Answer: Pre-T2, hard no.
0
0
356
Jun ’19
How to dynamically change the height of the section or group
How to dynamically change the height of the section or group when i use UICollectionViewCompositionalLayout. For example, i want to change the first section's height when i scroll the collectionview up. I can use the following code to achieve, but this looks very bad. // in didScroll callback collectionView.setCollectionViewLayout(currentCollectionViewLayout(), animated: true)
2
0
4.4k
Jun ’20
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
746
Sep ’21
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
969
May ’26
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
476
Dec ’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
747
Sep ’20
ios 10.1 beta 3 issues reported Summary
I have Installed beta 3 and my iphone 6 has stopped functioning properly. Issues reported are as follows1. Touch ID stopped working. Showing error message Touch ID can not activate on this phone2. Heating issue... Phone is showing adnormal heating issue with the temperature increased during charging or left idle3. Power draining rapidly overnight... If I charge phone 100% and leave it idle it will drain an die by morning so lets say between 11PM to 8AM phone drains 100%Performance of application also not good as whats app crashes in between giving dark screen.Not sure if this is with the whats app issue of ios...Please help I dont wish to downgrade rather would like to get some solution as downdrading I may endup loosing data and settings...ThanksMahi
0
0
122
Oct ’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
Transfer apps with previous Sandboxed Group Container
I know it was not possible previously, but wonder have things changed to support transfer of apps with this condition: Sandboxed Group Container You can only transfer sandboxed apps that are not sharing a group container. Our old company is having some issues and cannot continue, and would like to transfer to another company without doing the binary reassignment process which loses all the reviews. Thank you!
Replies
0
Boosts
0
Views
278
Activity
Nov ’25
Can't add developer account to company group
Hello, My colleague said he couldn't add my developer account into our company group. He tried to cancel my account and added again. However, the system just don't allow it. He also can't delete other accounts in that group. This situation has been lasted for 3 days. Does anyone have the same problem?
Replies
0
Boosts
0
Views
440
Activity
Dec ’17
Confusion about access groups and iOS extensions.
I have an app that's been out for awhile and uses the Keychain to store a token. Now, I'm adding an extension to my app, and so I'm using the methods described in the App Extension Best Practices sesion from 2015 to share a secret between my app and my extension using an access group.My question is about the automatic search behavior for the query API. It's said in the session that update/delete/matching all do the right thing with accessible keychains. What keychains are supposed to be accessible to the extension? What I'm finding is that for existing app users (people who had saved the secret before I was using access groups), my extension has access to the keychain item despite it not having an access group. What I anticipated was that that wouldn't work, and I'd have to do some kind of migration step to move my non-access group item into an acess group one. But it looks like I don't have to do that, at least when I'm debugging with Xcode. Am I missing something here or
Replies
8
Boosts
0
Views
12k
Activity
Nov ’16
Text output of the text based on a lab from a CoreMLDataModel
Hello, I have created a data model with Text Classification which contains many garments with the label clothing, technology equipment with the label technology, etc.... . I have inserted it so that when entering for example T-shirt the label clothing is output. But I want it so that when I create an equipment category with the clothing, that it suggests me clothing items, which I add. How do I implement this. In the function you can only usepreditction.label. I program with SwiftUI. func textml() { do { let model = try DataModel_Symbols_Consilia(configuration: .init()) let prediction = try model.prediction(text: addProjectVM.title) addProjectVM.symbol = prediction.label } catch { modelOutput = Something went wrong } } Greetings Janik
Replies
3
Boosts
0
Views
1.3k
Activity
Mar ’23
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.0k
Activity
Mar ’18
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
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
547
Activity
Nov ’24
Device management lab questions (Tuesday, June 4th at 10:00 AM)
Question: Any plans to be able to login to the Mac with a Managed Apple ID?Answer: Apple does not comment on future plans.Question: Will Apple ever offer more in-depth status information on Apple's system status website for the Apple Business Manager system?Answer: File a Radar to request the specific features you want.Question: Is there any movement with regards to fully automated, zero touch, Apple TV style DEP for macs? It's increasingly challenging to support labs and build farms where we need fully automated installs at scale.Answer: Not happening this year. We get the problem.Question: Activation for Macs? Can we prevent users from bypassing DEP on macOS via offline setup?Answer: Not happening this year. It's a tricky process to cover all deployment scenarios well.Question: How does T2 activation for macs work?Answer: Ask in Security lab.Question: Will we ever be able to manually add macOS devices into DEP similarly to how we can add iOS devices using Apple Configurator?Answer: Pre-T2, hard no.
Replies
0
Boosts
0
Views
356
Activity
Jun ’19
How to dynamically change the height of the section or group
How to dynamically change the height of the section or group when i use UICollectionViewCompositionalLayout. For example, i want to change the first section's height when i scroll the collectionview up. I can use the following code to achieve, but this looks very bad. // in didScroll callback collectionView.setCollectionViewLayout(currentCollectionViewLayout(), animated: true)
Replies
2
Boosts
0
Views
4.4k
Activity
Jun ’20
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
746
Activity
Sep ’21
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
969
Activity
May ’26
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
476
Activity
Dec ’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
747
Activity
Sep ’20
ios 10.1 beta 3 issues reported Summary
I have Installed beta 3 and my iphone 6 has stopped functioning properly. Issues reported are as follows1. Touch ID stopped working. Showing error message Touch ID can not activate on this phone2. Heating issue... Phone is showing adnormal heating issue with the temperature increased during charging or left idle3. Power draining rapidly overnight... If I charge phone 100% and leave it idle it will drain an die by morning so lets say between 11PM to 8AM phone drains 100%Performance of application also not good as whats app crashes in between giving dark screen.Not sure if this is with the whats app issue of ios...Please help I dont wish to downgrade rather would like to get some solution as downdrading I may endup loosing data and settings...ThanksMahi
Replies
0
Boosts
0
Views
122
Activity
Oct ’16