Search results for

“A Summary of the WWDC25 Group Lab”

11,216 results found

Post

Replies

Boosts

Views

Activity

Reply to WidgetKit WidgetConfigurationIntent Parameter Icons
I have solved this problem. The answer was in the WWDC25 video Get to know App Intends. Here's an example of an WidgetConfigurationIntent to toggle a chart showing data points on or off including icons for the two data point display options. struct WatchDataPointsWidgetIntent: AppIntent, WidgetConfigurationIntent { static var title: LocalizedStringResource = Data Points Widget Configuration static var description = IntentDescription(Configure individual data point display for Watch Widgets.) static var isDiscoverable: Bool { return false} init() {} func perform() async throws -> some IntentResult { print(WatchDataPointsWidgetIntent perform) return .result() } @Parameter(title: Chart Display Options, default: ChartDataPointsOption.showDataPoints) var showDataPoints: ChartDataPointsOption? static var parameterSummary: some ParameterSummary { Summary(Chart Options: (.$showDataPoints)) } } enum ChartDataPointsOption: String, AppEnum { case showDataPoints case hideDataPoints static let typeDis
Jun ’25
TestFlight – can't add build to external group
Hi, I'm unable to add the 3rd build of my TestFlight app to any external testing group (but I can for an internal testing group). The 2nd build was successfully added to an external testing group, the 3rd build has the status Ready to test, and I've expired all other builds. I've also completed the What to test section in English (U.K) and English (U.S). Any idea what I might be doing wrong? Thanks!
1
0
566
Jun ’24
Combine legacy Renewable Subscriptions into same Group
We have had 4 subscription products available for a few years now. 2 are for 25 GB of online storage, 2 are for 10 GB of online storage, each with 1 month and 1 year options:25 GB - 1 Year25 GB - 1 Month10 GB - 1 Year10 GB - 1 MonthI am attempting to update the localized subscription display name, so the users will see the correct verbiage when they Manage their subscriptions with Apple. However my edits are always rejected becuase Your app appears to allow users to inadvertently subscribe to multiple variations of the same thing.I think this issue arises from the incorrect Subscription Groups that Apple put in place. Please refer to this image: http ://i.imgur.com/VTMmwfv.pngThe two 25 GB products are grouped separately from the two 10 GB products. It looks like you could have a subscription for each, 25 and 10. This is not the case in the app coding, nor is it our intention. All 4 of my products should be in the same Group, then sorted into upgrade and downgrade options. This is a
5
0
1k
Feb ’17
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
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
11k
Nov ’16
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
238
Nov ’25
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
521
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
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
746
Sep ’20
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
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
943
May ’26
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
Reply to WidgetKit WidgetConfigurationIntent Parameter Icons
I have solved this problem. The answer was in the WWDC25 video Get to know App Intends. Here's an example of an WidgetConfigurationIntent to toggle a chart showing data points on or off including icons for the two data point display options. struct WatchDataPointsWidgetIntent: AppIntent, WidgetConfigurationIntent { static var title: LocalizedStringResource = Data Points Widget Configuration static var description = IntentDescription(Configure individual data point display for Watch Widgets.) static var isDiscoverable: Bool { return false} init() {} func perform() async throws -> some IntentResult { print(WatchDataPointsWidgetIntent perform) return .result() } @Parameter(title: Chart Display Options, default: ChartDataPointsOption.showDataPoints) var showDataPoints: ChartDataPointsOption? static var parameterSummary: some ParameterSummary { Summary(Chart Options: (.$showDataPoints)) } } enum ChartDataPointsOption: String, AppEnum { case showDataPoints case hideDataPoints static let typeDis
Replies
Boosts
Views
Activity
Jun ’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
439
Activity
Dec ’17
TestFlight – can't add build to external group
Hi, I'm unable to add the 3rd build of my TestFlight app to any external testing group (but I can for an internal testing group). The 2nd build was successfully added to an external testing group, the 3rd build has the status Ready to test, and I've expired all other builds. I've also completed the What to test section in English (U.K) and English (U.S). Any idea what I might be doing wrong? Thanks!
Replies
1
Boosts
0
Views
566
Activity
Jun ’24
Combine legacy Renewable Subscriptions into same Group
We have had 4 subscription products available for a few years now. 2 are for 25 GB of online storage, 2 are for 10 GB of online storage, each with 1 month and 1 year options:25 GB - 1 Year25 GB - 1 Month10 GB - 1 Year10 GB - 1 MonthI am attempting to update the localized subscription display name, so the users will see the correct verbiage when they Manage their subscriptions with Apple. However my edits are always rejected becuase Your app appears to allow users to inadvertently subscribe to multiple variations of the same thing.I think this issue arises from the incorrect Subscription Groups that Apple put in place. Please refer to this image: http ://i.imgur.com/VTMmwfv.pngThe two 25 GB products are grouped separately from the two 10 GB products. It looks like you could have a subscription for each, 25 and 10. This is not the case in the app coding, nor is it our intention. All 4 of my products should be in the same Group, then sorted into upgrade and downgrade options. This is a
Replies
5
Boosts
0
Views
1k
Activity
Feb ’17
Unable to add testflight to build group
I have published my app to testflight and it is ready to submit , however when I am trying to add it to my external testing build group it keeps showing an error, so I am not really sure what is wrong with it. My previous build have no issues , but ever since I encountered this problem all my previous builds got expired too . Please help
Replies
0
Boosts
0
Views
474
Activity
Oct ’22
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
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
11k
Activity
Nov ’16
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
2.9k
Activity
Mar ’18
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
238
Activity
Nov ’25
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
521
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
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
746
Activity
Sep ’20
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
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
943
Activity
May ’26
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