Search results for

“A Summary of the WWDC26 Group Lab”

11,825 results found

Post

Replies

Boosts

Views

Activity

Migrating to Game Center Groups
Hey,I have an existing iOS App with Game Center Leaderboards and Achievements that I now want to transfer to a Game Center Group for multi-platform shared leaderboards. (OS X / tvOS)1. I have an update already in the review pipeline set to the standard leaderboard id's.2. I have setup a Game Center Group for this App post this being in review.3. I want to retain all player scores / achievementsNotes: According to Diego:I migrated to my game to GC groups, then submitted my game for OS X using the grp prefix. I didn't have to make any changes to the iOS version, it just worked. Game is called Arcane Tower in case you're interestedI checked his App on iOS and OS X and the leaderboards are in sync.So it seems the old id's (original ones) seem to keep in sync with the new grp versions. However if you create a new application using these you must use the grp prefix to address them (say the OS X version or tvOS).My questions are:1. Do I need to modify the iOS leaderboard / achievement id's
0
0
651
Oct ’15
Backing up and restoring an app group container
We're in the process of moving our app's storage from the app container to an app group container so that the data can be accessed by app extensions (such as share extensions) as well. However, we found that Xcode does not backup app group containers via the Devices and Simulators window. How can I include the app group in the backup and restore process? Similarly, could you confirm that app groups are indeed included in the iCloud backup and restore process?
4
0
2.1k
Nov ’21
Reply to Develop in swift fundamentals and xcode 12
Thanks. I downloaded the material and opened Lab - Classes.playground with XCode 12 (12GM Version 12.0 (12A7208)) with no problem. I tried also to open Lab - Collections.playground with Version 12.2 beta (12B5018i). It works as well. It works the same way as in XCode 11. I did not experienced any forced Quit. Note: to see code, I had to tap on the link at the bottom of the page, not very intuitive.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’20
Supported US API for voluntary screen-time summaries shared between two adults?
We are evaluating a native iOS feature for Kept, a two-adult daily-connection app, with initial customers physically in the United States using US-region Apple Accounts. Each adult would independently authorize access on their own iPhone and opt in to share daily total screen time and per-app names/minutes with one paired adult through our backend. Each person would preview the same summary their partner receives and could stop sharing or unpair at any time. Neither could configure or enforce restrictions on the other's device. Any app blocking would be separately controlled by the device owner. We do not need message contents, websites visited, or a live activity feed. We have reviewed: DeviceActivityReport, whose extension isolates usage data and prevents networking. DeviceActivityData.activityData(filteredBy:using:), whose documented customer availability is limited to EU devices/accounts, despite broader development testing access. Developer Program License Agreement section 3.3.3 P, which raises
0
0
355
Sep ’26
Save an Identity into app group Keychain
Hello everyone, I am trying to save an identity into a group keychain. I am doing it this way, following the documentation: let queryAdd: [String: AnyObject] = [ kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: kSecImportItemIdentity as AnyObject, kSecValueData as String: identity as SecIdentity, kSecAttrAccessible as String: kSecAttrAccessibleWhenUnlocked, kSecAttrAccessGroup as String: accessGroup as AnyObject ] let resultCode = SecItemAdd(queryAdd as CFDictionary, nil) if resultCode != noErr { print(Error saving to Keychain: (resultCode)) } I am getting error (or resultCode) -50, which means password has not been save successfully. As a no-team programmer, my accessGroup it's just the group Bundle identifier, registered in Signing & Capabilities -> Keychain Sharing. I don't know if maybe the reason of this code is because the group is not alright or something else it's happening, although it looks I am using the identity the right way.
2
0
1.1k
Aug ’20
Reply to Unable to edit problematic keychain-access-groups setting of downloaded provisioningprofile for signing
Solution Summary: To build using EAS build, we need an Apple Distribution Certificate, but EAS's credentials tool creates an iOS Distribution Certificate. Therefor what is needed is to create the distribution cert on Apple Dev portal, download the .cer file from there, add it to your OSX keychain, then export to .p12 with a password. Then when using EAS build, you will choose: > eas build --profile production --platform ios --local ... ... Generate a new Apple Distribution Certificate? … no Path to P12 file: … /path/to/your.p12 P12 password: … *the password your exported to .p12 with* Would you like to reuse the original profile? … no Generate a new Apple Provisioning Profile? … yes During the build process, your OSX should prompt you for your OSX login chain pw (Your OSX admin pw, not the .p12 export password) multiple times. As for the keychain-access-groups entitlement, even though XCode complains as follows: Provisioning profile doesn't include the com.apple.developer.keychain-access-
Feb ’25
Group with an existing primary App ID Change
Is it possible to change the Primary App ID set in the Group with an existing primary App ID to another Primary App ID within the same group If there is a change, whether the sub values of the token will be changed upon successful login If an app corresponding to the existing Group Primary App ID is deleted from the app store, ask whether or not other apps in the same group are affected and what effect it will have If anyone knows about the above, please let me know please
0
0
315
Apr ’25
Reply to Should ModelActor be used to populate a view?
I decided to run this task on app launch to sync the clinical labs into the SwiftData store. This allows me to use Query macro in the views where it's needed and no need to combine lab results. Let me know if this is the right approach: import SwiftData import SwiftUI import OSLog @ModelActor actor HealthKitSyncManager { private let logger = Logger(subsystem: com.trtmanager, category: HealthKitSyncManager) func sync() async { do { // Get all Clinical labs let hkClinicalRecords = try await TRTHealthKitService.getHKClinicalRecords() guard !hkClinicalRecords.isEmpty else { return } // Get existing HealthKit IDs in one query let descriptor = FetchDescriptor( // predicate: #Predicate { $0.source == .clinicalRecord } ) let existing = try modelContext.fetch(descriptor) .compactMap { $0.fhirResourceId } let existingIDs = Set(existing) let missingRecords = hkClinicalRecords.filter { lab in guard let fhirResource = lab.fhirResource else { return false } return !existingIDs.contains(f
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’25
Questions about Subscription Groups in In-App Purchases
Hello, I have a question about subscription groups in in-app purchases. Suppose I create a subscription group like this: Subscription Group A Subscription Item A1 (one month) Subscription Item A2 (one week) Subscription Item A3 (one year) The documentation mentions, A subscription group is made up of subscriptions with different access levels, prices, and durations so people can select the option that best fits their needs. Since people can only buy one subscription within a group at a time. Does this mean that if a user purchases Subscription Item A1 in Subscription Group A, they can only purchase other subscription items in Subscription Group A after the one-month period ends, when that subscription expires?
1
0
439
Oct ’24
Notes from WWDC 2017 Deployment Lab Part Two
These questions are community-driven. I am also not the original questioner, I'm just posting them with permission. Thank you to the anonymous folks who helped gather this information.Software Update Server related:- This product is officially deprecated (which we all knew). It has no future, guaranteed.- They were surprised, however, that the ability to set a custom CatalogURL as an argument to /usr/sbin/softwareupdate (client) disappeared at some point. 1. See github dot com / munki / munki / issues / 511 as an example of this issue. 2. They rely on that internally, obviously.- This functionality should exist at all times; file a bug report at any point we don't see this happening (and maybe this something Munki can go back to using?)- They weren't aware of Reposado, but I showed it to them and they like the idea. I asked if they had any plans to obstruct or otherwise change how it works in a way that would break this functionality, and they didn't seem to be cagey about it. Sounds like Software Update has
4
0
1.7k
Jun ’17
Removing subscription groups from app review
Recently my app was rejected because I have accidentally included two subscription groups that I did not intend to sell. In the current App Store Connect UI, I don't see a way to remove the subscription groups from this version, or entirely from the account. These items have never been on sale. Does anyone know how to fix this issue?
0
0
734
Jun ’22
Reply to Can I import images into my app with App Intent Schemas?
In addition to the .photos.addAssetsToAlbum, you will need to adopt the .photos.createAssets schema. To support incoming content in your app, you can add the Transferable protocol to the entity representing the incoming content. Then, use importing on the transferRepresentation of that entity. See these sessions for more information on Transferable. WWDC26 session Build intelligent Siri experiences with App Schemas WWDC24 session What's new in App Intents
Jun ’26
Migrating to Game Center Groups
Hey,I have an existing iOS App with Game Center Leaderboards and Achievements that I now want to transfer to a Game Center Group for multi-platform shared leaderboards. (OS X / tvOS)1. I have an update already in the review pipeline set to the standard leaderboard id's.2. I have setup a Game Center Group for this App post this being in review.3. I want to retain all player scores / achievementsNotes: According to Diego:I migrated to my game to GC groups, then submitted my game for OS X using the grp prefix. I didn't have to make any changes to the iOS version, it just worked. Game is called Arcane Tower in case you're interestedI checked his App on iOS and OS X and the leaderboards are in sync.So it seems the old id's (original ones) seem to keep in sync with the new grp versions. However if you create a new application using these you must use the grp prefix to address them (say the OS X version or tvOS).My questions are:1. Do I need to modify the iOS leaderboard / achievement id's
Replies
0
Boosts
0
Views
651
Activity
Oct ’15
Backing up and restoring an app group container
We're in the process of moving our app's storage from the app container to an app group container so that the data can be accessed by app extensions (such as share extensions) as well. However, we found that Xcode does not backup app group containers via the Devices and Simulators window. How can I include the app group in the backup and restore process? Similarly, could you confirm that app groups are indeed included in the iCloud backup and restore process?
Replies
4
Boosts
0
Views
2.1k
Activity
Nov ’21
Reply to Develop in swift fundamentals and xcode 12
Thanks. I downloaded the material and opened Lab - Classes.playground with XCode 12 (12GM Version 12.0 (12A7208)) with no problem. I tried also to open Lab - Collections.playground with Version 12.2 beta (12B5018i). It works as well. It works the same way as in XCode 11. I did not experienced any forced Quit. Note: to see code, I had to tap on the link at the bottom of the page, not very intuitive.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’20
Supported US API for voluntary screen-time summaries shared between two adults?
We are evaluating a native iOS feature for Kept, a two-adult daily-connection app, with initial customers physically in the United States using US-region Apple Accounts. Each adult would independently authorize access on their own iPhone and opt in to share daily total screen time and per-app names/minutes with one paired adult through our backend. Each person would preview the same summary their partner receives and could stop sharing or unpair at any time. Neither could configure or enforce restrictions on the other's device. Any app blocking would be separately controlled by the device owner. We do not need message contents, websites visited, or a live activity feed. We have reviewed: DeviceActivityReport, whose extension isolates usage data and prevents networking. DeviceActivityData.activityData(filteredBy:using:), whose documented customer availability is limited to EU devices/accounts, despite broader development testing access. Developer Program License Agreement section 3.3.3 P, which raises
Replies
0
Boosts
0
Views
355
Activity
Sep ’26
Save an Identity into app group Keychain
Hello everyone, I am trying to save an identity into a group keychain. I am doing it this way, following the documentation: let queryAdd: [String: AnyObject] = [ kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: kSecImportItemIdentity as AnyObject, kSecValueData as String: identity as SecIdentity, kSecAttrAccessible as String: kSecAttrAccessibleWhenUnlocked, kSecAttrAccessGroup as String: accessGroup as AnyObject ] let resultCode = SecItemAdd(queryAdd as CFDictionary, nil) if resultCode != noErr { print(Error saving to Keychain: (resultCode)) } I am getting error (or resultCode) -50, which means password has not been save successfully. As a no-team programmer, my accessGroup it's just the group Bundle identifier, registered in Signing & Capabilities -> Keychain Sharing. I don't know if maybe the reason of this code is because the group is not alright or something else it's happening, although it looks I am using the identity the right way.
Replies
2
Boosts
0
Views
1.1k
Activity
Aug ’20
Reply to Unable to edit problematic keychain-access-groups setting of downloaded provisioningprofile for signing
Solution Summary: To build using EAS build, we need an Apple Distribution Certificate, but EAS's credentials tool creates an iOS Distribution Certificate. Therefor what is needed is to create the distribution cert on Apple Dev portal, download the .cer file from there, add it to your OSX keychain, then export to .p12 with a password. Then when using EAS build, you will choose: > eas build --profile production --platform ios --local ... ... Generate a new Apple Distribution Certificate? … no Path to P12 file: … /path/to/your.p12 P12 password: … *the password your exported to .p12 with* Would you like to reuse the original profile? … no Generate a new Apple Provisioning Profile? … yes During the build process, your OSX should prompt you for your OSX login chain pw (Your OSX admin pw, not the .p12 export password) multiple times. As for the keychain-access-groups entitlement, even though XCode complains as follows: Provisioning profile doesn't include the com.apple.developer.keychain-access-
Replies
Boosts
Views
Activity
Feb ’25
Group with an existing primary App ID Change
Is it possible to change the Primary App ID set in the Group with an existing primary App ID to another Primary App ID within the same group If there is a change, whether the sub values of the token will be changed upon successful login If an app corresponding to the existing Group Primary App ID is deleted from the app store, ask whether or not other apps in the same group are affected and what effect it will have If anyone knows about the above, please let me know please
Replies
0
Boosts
0
Views
315
Activity
Apr ’25
Reply to Should ModelActor be used to populate a view?
I decided to run this task on app launch to sync the clinical labs into the SwiftData store. This allows me to use Query macro in the views where it's needed and no need to combine lab results. Let me know if this is the right approach: import SwiftData import SwiftUI import OSLog @ModelActor actor HealthKitSyncManager { private let logger = Logger(subsystem: com.trtmanager, category: HealthKitSyncManager) func sync() async { do { // Get all Clinical labs let hkClinicalRecords = try await TRTHealthKitService.getHKClinicalRecords() guard !hkClinicalRecords.isEmpty else { return } // Get existing HealthKit IDs in one query let descriptor = FetchDescriptor( // predicate: #Predicate { $0.source == .clinicalRecord } ) let existing = try modelContext.fetch(descriptor) .compactMap { $0.fhirResourceId } let existingIDs = Set(existing) let missingRecords = hkClinicalRecords.filter { lab in guard let fhirResource = lab.fhirResource else { return false } return !existingIDs.contains(f
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’25
Questions about Subscription Groups in In-App Purchases
Hello, I have a question about subscription groups in in-app purchases. Suppose I create a subscription group like this: Subscription Group A Subscription Item A1 (one month) Subscription Item A2 (one week) Subscription Item A3 (one year) The documentation mentions, A subscription group is made up of subscriptions with different access levels, prices, and durations so people can select the option that best fits their needs. Since people can only buy one subscription within a group at a time. Does this mean that if a user purchases Subscription Item A1 in Subscription Group A, they can only purchase other subscription items in Subscription Group A after the one-month period ends, when that subscription expires?
Replies
1
Boosts
0
Views
439
Activity
Oct ’24
Notes from WWDC 2017 Deployment Lab Part Two
These questions are community-driven. I am also not the original questioner, I'm just posting them with permission. Thank you to the anonymous folks who helped gather this information.Software Update Server related:- This product is officially deprecated (which we all knew). It has no future, guaranteed.- They were surprised, however, that the ability to set a custom CatalogURL as an argument to /usr/sbin/softwareupdate (client) disappeared at some point. 1. See github dot com / munki / munki / issues / 511 as an example of this issue. 2. They rely on that internally, obviously.- This functionality should exist at all times; file a bug report at any point we don't see this happening (and maybe this something Munki can go back to using?)- They weren't aware of Reposado, but I showed it to them and they like the idea. I asked if they had any plans to obstruct or otherwise change how it works in a way that would break this functionality, and they didn't seem to be cagey about it. Sounds like Software Update has
Replies
4
Boosts
0
Views
1.7k
Activity
Jun ’17
Removing subscription groups from app review
Recently my app was rejected because I have accidentally included two subscription groups that I did not intend to sell. In the current App Store Connect UI, I don't see a way to remove the subscription groups from this version, or entirely from the account. These items have never been on sale. Does anyone know how to fix this issue?
Replies
0
Boosts
0
Views
734
Activity
Jun ’22
Reply to Can I import images into my app with App Intent Schemas?
In addition to the .photos.addAssetsToAlbum, you will need to adopt the .photos.createAssets schema. To support incoming content in your app, you can add the Transferable protocol to the entity representing the incoming content. Then, use importing on the transferRepresentation of that entity. See these sessions for more information on Transferable. WWDC26 session Build intelligent Siri experiences with App Schemas WWDC24 session What's new in App Intents
Replies
Boosts
Views
Activity
Jun ’26