Search results for

“A Summary of the WWDC26 Group Lab”

11,224 results found

Post

Replies

Boosts

Views

Activity

UserDefaults and App Groups ID
Is it a bad idea to use the App Group ID as an UserDefaults' suiteName? This seems to be a general aproach I see on code bases out there. When using the App Groups ID as a UserDefaults suiteName: extension UserDefaults { static let shared = UserDefaults(suiteName: group.com.example.app)! } I'm getting this warning/error: [User Defaults] Couldn't read values in CFPrefsPlistSource<0x000000000> (Domain: group.com.example.app, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd An App Groups ID with the same String (group.com.example.app) is defined in Signing & Capabilities > App Groups. If I change the suitName or change the App Groups ID the warning goes away. Is it not a good idea to use the App Group ID as an UserDefaults' suiteName? Does anybody had the same problem? I searched everywhere about thi
1
0
963
May ’23
Unable to add build to group
Adding a build to a group of tester doesn't work for me.Steps:Navigate to itunes connectClick My AppsClick the appClick TestflightClick the name of the group (for me: External Testers)Click BuildClick Add a build to start testing (or click +)Click the build to make availableClick the button NextA spinner appears & this spinner won't go away (& the build will NOT be made available to the group of tester)Additional note: Chrome developer console shows an error message: TypeError: Cannot read property 'feedbackEmail' of undefined. (I've made sure all fields, especially any email fields, for the app-build etc contain information)
13
0
27k
Apr ’17
Reply to PHAssetChangeRequest revertAssetContentToOriginal without original asset content
Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports. Also, worth mentioning, if you're attending WWDC25 there is a Camera & Photos frameworks group lab today at 6PM PST where you can ask questions about PhotoKit. Bug Reporting: How and Why? has tips on creating your bug report.
Jun ’25
Documentation for group subscription renewals
I just caught the video for group and organization subscriptions. I haven't yet found documentation that describes how renewals work for the auto-renewable subscriptions when bought for a group. To reuse the video example of a run club, a coach might get a bulk of subscriptions for the team, for that season (or year). The next year might have a different number of club members, a mix of both new members, as well as some lapsed ones. The MDM portion talks about seat assignment so I think that would cover it for organizations, but what about groups?
1
0
236
Jun ’26
How to use delegates in app-groups
I have set up a share extension in my app and I have successfully enabled app groups. The share extension grabs the URL of a webpage. I would like that URL to be passed back to my app to be upload to Google Cloud Firestore and I want to use delegates to notify my main app when the share extension has grabbed a URL. How can I use delegate methods within the app group?
3
0
1k
Sep ’19
Xcode file template with groups
Hey,I'm attempting to create a File Template that contains folders. Take the structure below as an exampleMyFileTemplete.xctemplate TopLevelFolder SecondLevelFolder - class SecondLevelFolder ThirdLevelFolder -classIf I just setup a template and add my folders and classes it works but when it adds to the project it addes them as File Referance(blue folder icon).Is there any way to add the folders as a group?EDIT: I'm looking for a way simialar to the project template where you use Definitions and node keys to create groups. This doesn't seem to translate over to the file template.<key>Definitions</key> <dict> <key>hello.h</key> <dict> <key>Group</key> <string>Supporting Files</string> </dict> </dict>BooRanger
2
0
4.2k
Jun ’16
Regex Conditional Group ?
Looking at this article ... https://www.codeproject.com/Articles/21080/In-Depth-with-RegEx-Matching-Nested-Constructions, where it says The Push-down Automata roughly 1/4 way down, although am not sure the same will be using Swift. Apparently using (?<S>Agora)(?(S)(?!)|(.*)) should work but does not.Any suggestions for using conditional group ?
1
0
1.6k
May ’19
Group leaderboards not in sync
Can someone explain to me how group leaderboards are supposed to work?I have a game that has been live on iTunes for about a month, and it has 16 leaderboards (all full with scores now).I decided that I wanted to create a free version of the app, that shares the same leaderboards.So, I changed the leaderboards the paid app uses over to a group, and updated all the leaderboard names with grp.*. That change is now live, and everything is looking great, the leaderboards are still full with scores.Now, yesterday, I released the free version of my app, also using the group leaderboards. It took all day for the app to finally show up in the appstore. This morning, when I downloaded the app, and looked at the leaderboards, they are empty, except for a few scores.I know the code is pointing to the exact same leaderboard names, as the 2 versions of the game are built from the same exact code. I double checked itunes connect, and it shows the 2 apps are sharing the same group leaderb
0
0
337
Oct ’15
WatchKit groups layout questions
Hi,I've started working on my first WatchKit app UI, and I've run into some things that I don't know if it's possible to solve in WatchKit without using SwiftUI (or at all):1) Is it possible to have a group element that's sized to fill all remaining space? E.g. have a vertical group set to fill whole screen height, one label at the top and one at the bottom, and some group in the middle automatically taking the space that's left between them. Or a horizontal group filling the screen width, with a label on the left and right and a spacer in between that uses whatever space is left.2) Is it possible to configure a group or another element to keep a constant aspect ratio, i.e. its width relative to its height or the other way around? E.g. to have an element configured to fill the screen width, and to automatically have the same height as the width, so that it always stays a perfect square.
1
0
552
Jun ’20
App Groups problem
I have an app with CallKit Extension and when I try to pass data from ViewController to the Directory Extension with App Groups and UserDefaults I have this error:2017-11-12 13:42:07.199664+0100 CallKitTest[6851:2093165] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x101a25f60> (Domain: group.com.rubenfernandez.CallKitTest, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsdAny ideas?Thanks!
1
0
1.8k
Nov ’17
Needed Actions for Group Feature
Hi! The app that I am building has the ability for users to join and be added to groups. Are there any requirements from Apple beyond the ability to leave and report the group that the user must be able to do? I read through the developer guidelines but I just wanted to make sure before submission. Thank you!
0
0
990
Aug ’22
Reply to A case against TN3135 WatchOS restrictions (NWPathMonitor)
Forgive me, but I was unaware of having a lab appointment today. What am I missing?
Replies
Boosts
Views
Activity
Jun ’24
Reply to Managed To Brick iPhone
Are any of you at WWDC? Willing to bet a run to a lab will get you sorted out.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’17
UserDefaults and App Groups ID
Is it a bad idea to use the App Group ID as an UserDefaults' suiteName? This seems to be a general aproach I see on code bases out there. When using the App Groups ID as a UserDefaults suiteName: extension UserDefaults { static let shared = UserDefaults(suiteName: group.com.example.app)! } I'm getting this warning/error: [User Defaults] Couldn't read values in CFPrefsPlistSource<0x000000000> (Domain: group.com.example.app, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd An App Groups ID with the same String (group.com.example.app) is defined in Signing & Capabilities > App Groups. If I change the suitName or change the App Groups ID the warning goes away. Is it not a good idea to use the App Group ID as an UserDefaults' suiteName? Does anybody had the same problem? I searched everywhere about thi
Replies
1
Boosts
0
Views
963
Activity
May ’23
Unable to add build to group
Adding a build to a group of tester doesn't work for me.Steps:Navigate to itunes connectClick My AppsClick the appClick TestflightClick the name of the group (for me: External Testers)Click BuildClick Add a build to start testing (or click +)Click the build to make availableClick the button NextA spinner appears & this spinner won't go away (& the build will NOT be made available to the group of tester)Additional note: Chrome developer console shows an error message: TypeError: Cannot read property 'feedbackEmail' of undefined. (I've made sure all fields, especially any email fields, for the app-build etc contain information)
Replies
13
Boosts
0
Views
27k
Activity
Apr ’17
Reply to PHAssetChangeRequest revertAssetContentToOriginal without original asset content
Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports. Also, worth mentioning, if you're attending WWDC25 there is a Camera & Photos frameworks group lab today at 6PM PST where you can ask questions about PhotoKit. Bug Reporting: How and Why? has tips on creating your bug report.
Replies
Boosts
Views
Activity
Jun ’25
Documentation for group subscription renewals
I just caught the video for group and organization subscriptions. I haven't yet found documentation that describes how renewals work for the auto-renewable subscriptions when bought for a group. To reuse the video example of a run club, a coach might get a bulk of subscriptions for the team, for that season (or year). The next year might have a different number of club members, a mix of both new members, as well as some lapsed ones. The MDM portion talks about seat assignment so I think that would cover it for organizations, but what about groups?
Replies
1
Boosts
0
Views
236
Activity
Jun ’26
How to use delegates in app-groups
I have set up a share extension in my app and I have successfully enabled app groups. The share extension grabs the URL of a webpage. I would like that URL to be passed back to my app to be upload to Google Cloud Firestore and I want to use delegates to notify my main app when the share extension has grabbed a URL. How can I use delegate methods within the app group?
Replies
3
Boosts
0
Views
1k
Activity
Sep ’19
Xcode file template with groups
Hey,I'm attempting to create a File Template that contains folders. Take the structure below as an exampleMyFileTemplete.xctemplate TopLevelFolder SecondLevelFolder - class SecondLevelFolder ThirdLevelFolder -classIf I just setup a template and add my folders and classes it works but when it adds to the project it addes them as File Referance(blue folder icon).Is there any way to add the folders as a group?EDIT: I'm looking for a way simialar to the project template where you use Definitions and node keys to create groups. This doesn't seem to translate over to the file template.<key>Definitions</key> <dict> <key>hello.h</key> <dict> <key>Group</key> <string>Supporting Files</string> </dict> </dict>BooRanger
Replies
2
Boosts
0
Views
4.2k
Activity
Jun ’16
Regex Conditional Group ?
Looking at this article ... https://www.codeproject.com/Articles/21080/In-Depth-with-RegEx-Matching-Nested-Constructions, where it says The Push-down Automata roughly 1/4 way down, although am not sure the same will be using Swift. Apparently using (?<S>Agora)(?(S)(?!)|(.*)) should work but does not.Any suggestions for using conditional group ?
Replies
1
Boosts
0
Views
1.6k
Activity
May ’19
Group leaderboards not in sync
Can someone explain to me how group leaderboards are supposed to work?I have a game that has been live on iTunes for about a month, and it has 16 leaderboards (all full with scores now).I decided that I wanted to create a free version of the app, that shares the same leaderboards.So, I changed the leaderboards the paid app uses over to a group, and updated all the leaderboard names with grp.*. That change is now live, and everything is looking great, the leaderboards are still full with scores.Now, yesterday, I released the free version of my app, also using the group leaderboards. It took all day for the app to finally show up in the appstore. This morning, when I downloaded the app, and looked at the leaderboards, they are empty, except for a few scores.I know the code is pointing to the exact same leaderboard names, as the 2 versions of the game are built from the same exact code. I double checked itunes connect, and it shows the 2 apps are sharing the same group leaderb
Replies
0
Boosts
0
Views
337
Activity
Oct ’15
WatchKit groups layout questions
Hi,I've started working on my first WatchKit app UI, and I've run into some things that I don't know if it's possible to solve in WatchKit without using SwiftUI (or at all):1) Is it possible to have a group element that's sized to fill all remaining space? E.g. have a vertical group set to fill whole screen height, one label at the top and one at the bottom, and some group in the middle automatically taking the space that's left between them. Or a horizontal group filling the screen width, with a label on the left and right and a spacer in between that uses whatever space is left.2) Is it possible to configure a group or another element to keep a constant aspect ratio, i.e. its width relative to its height or the other way around? E.g. to have an element configured to fill the screen width, and to automatically have the same height as the width, so that it always stays a perfect square.
Replies
1
Boosts
0
Views
552
Activity
Jun ’20
Reply to Guidance for cases when you can link to an external shop from an app
Thank you for your question. During WWDC, you can take advantage of Labs, where Apple engineers, designers, and App Store experts can provide personalized guidance to your questions. Labs are available through the end of WWDC on June 9. Visit Apple Developer to learn more about eligibility and request an appointment.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jun ’23
How to remove empty subscription group
I am getting rejected from Apple because of subscription groups that I do not use. How can I solve this?
Replies
0
Boosts
0
Views
443
Activity
Apr ’21
App Groups problem
I have an app with CallKit Extension and when I try to pass data from ViewController to the Directory Extension with App Groups and UserDefaults I have this error:2017-11-12 13:42:07.199664+0100 CallKitTest[6851:2093165] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x101a25f60> (Domain: group.com.rubenfernandez.CallKitTest, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsdAny ideas?Thanks!
Replies
1
Boosts
0
Views
1.8k
Activity
Nov ’17
Needed Actions for Group Feature
Hi! The app that I am building has the ability for users to join and be added to groups. Are there any requirements from Apple beyond the ability to leave and report the group that the user must be able to do? I read through the developer guidelines but I just wanted to make sure before submission. Thank you!
Replies
0
Boosts
0
Views
990
Activity
Aug ’22