Search results for

“A Summary of the WWDC25 Group Lab”

11,534 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
649
Oct ’15
Reply to UISplitViewController primary column differences in 27 vs 26
In iPadOS 27, sidebars are edge-to-edge. The sidebar adds a safe area inset to the adjacent column in the split view controller. To prevent content from being occluded by a sidebar, ensure that it is positioned within the safe area. For more information, check out Make your UIKit app more flexible from WWDC25.
Topic: UIKit SubTopic:
UIKit Q&A
Jun ’26
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
IPC within app group
Hi folks, I'm trying to build communication between the main app and its helper via inter-process communication. I found here that it is possible if the apps are in the same app group. But I really cannot make it work, and cannot understand what I do wrong. It works all good if I add com.apple.security.temporary-exception.mach-lookup.global-name entitlement, so the setup seems to be correct? Where should I look to fix it? Also because having that entitlement means that it is gonna be tricky to get through the App Review.
4
0
1.6k
Sep ’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
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
431
Oct ’24
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
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
245
Apr ’25
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
733
Jun ’22
Reply to Missing Parameter "AreaName" in WeatherAlertSummary object via the API
The field areaName on WeatherAlertSummary is documented as optional at https://developer.apple.com/documentation/weatherkitrestapi/weatheralertsummary so it might not always be available. A number of factors could lead to the summary not including an area name, but since it is included in the details page it does seem reasonable it can be in the summary as well. We will investigate further and see why areaName may not have been included in the summary.
Topic: App & System Services SubTopic: General Tags:
Sep ’24
App group shared user defaults
In iOS 16 beta 3, my iOS app sets some strings in the shared user defaults of the app group. The iOS widget extension reads the strings from the shared user defaults correctly, but the watchOS app and watchOS widget extension could not read them (get nil). Integers stored in the shared user defaults can be read everywhere. All targets are in the same app group. Does anyone have similar problems?
7
0
6.5k
Jul ’22
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
649
Activity
Oct ’15
Reply to UISplitViewController primary column differences in 27 vs 26
In iPadOS 27, sidebars are edge-to-edge. The sidebar adds a safe area inset to the adjacent column in the split view controller. To prevent content from being occluded by a sidebar, ensure that it is positioned within the safe area. For more information, check out Make your UIKit app more flexible from WWDC25.
Topic: UIKit SubTopic:
UIKit Q&A
Replies
Boosts
Views
Activity
Jun ’26
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
IPC within app group
Hi folks, I'm trying to build communication between the main app and its helper via inter-process communication. I found here that it is possible if the apps are in the same app group. But I really cannot make it work, and cannot understand what I do wrong. It works all good if I add com.apple.security.temporary-exception.mach-lookup.global-name entitlement, so the setup seems to be correct? Where should I look to fix it? Also because having that entitlement means that it is gonna be tricky to get through the App Review.
Replies
4
Boosts
0
Views
1.6k
Activity
Sep ’21
iOS CalKit: How many calls can be grouped with CXSetGroupCallAction
Hi,Using iOS CallkIt VoIP API on iOS 10.THe API for CXSetGroupCallAction allows specifying a call UUID and another UUID of a call to be grouped with.THis suggests only two calls are allowed in a group. Is this the case or are more calls allowed in a group ie 3+.Thanks
Replies
0
Boosts
0
Views
353
Activity
Feb ’17
Reply to Feedback assistant not working at all
Does not work for me either... And the funny thing at a WWDC lab I was told to use it to submit our issue as a bug :-)
Replies
Boosts
Views
Activity
Jun ’19
Reply to New Widget size for visionOS?
I got a reply to this during one of the lab times. See the response there: https://developer.apple.com/forums/thread/834345
Replies
Boosts
Views
Activity
Jun ’26
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
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
431
Activity
Oct ’24
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
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
245
Activity
Apr ’25
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
733
Activity
Jun ’22
Reply to Missing Parameter "AreaName" in WeatherAlertSummary object via the API
The field areaName on WeatherAlertSummary is documented as optional at https://developer.apple.com/documentation/weatherkitrestapi/weatheralertsummary so it might not always be available. A number of factors could lead to the summary not including an area name, but since it is included in the details page it does seem reasonable it can be in the summary as well. We will investigate further and see why areaName may not have been included in the summary.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
App group shared user defaults
In iOS 16 beta 3, my iOS app sets some strings in the shared user defaults of the app group. The iOS widget extension reads the strings from the shared user defaults correctly, but the watchOS app and watchOS widget extension could not read them (get nil). Integers stored in the shared user defaults can be read everywhere. All targets are in the same app group. Does anyone have similar problems?
Replies
7
Boosts
0
Views
6.5k
Activity
Jul ’22
XCode9: syntax for capture groups in search/replace?
If I search for regex (.*)How do I replace with the capture group? It was 0 and then $0. Any clue what it is in the new editor?For bonus points: can I change the case on the capture groups?Thanks,Andrew
Replies
0
Boosts
0
Views
403
Activity
Jun ’17