Search results for

“A Summary of the WWDC26 Group Lab”

10,958 results found

Post

Replies

Boosts

Views

Activity

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
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
959
May ’23
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
97
1w
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
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
336
Oct ’15
Reply to ubc_msync have a bug
(lldb) image lookup -a 0xffffff801a5ac283 Address: kernel[0xffffff80003ac283] (kernel.TEXT.text + 344707) Summary: kernelpanic + 99 at debug.c (lldb) image lookup -a 0xffffff801a6d91ea Address: kernel[0xffffff80004d91ea] (kernel.TEXT.text + 1577450) Summary: kernelpanic64 + 218 at trapnative.c:152 (lldb) image lookup -a 0xffffff801a55a51f Address: kernel[0xffffff800035a51f] (kernel.TEXT.text + 9503) Summary: kernelhndl_double_fault + 15 (lldb) image lookup -a 0xffffff801a6cd95f Address: kernel[0xffffff80004cd95f] (kernel.TEXT.text + 1530207) Summary: kernelusimplelock + 47 at machineroutines.c (lldb) image lookup -a 0xffffff801a5c95ad Address: kernel[0xffffff80003c95ad] (kernel.TEXT.text + 464301) Summary: kernelthread_dispatch + 445 at sched_prim.c:2768 (lldb) image lookup -a 0xffffff801a5c906e Address: kernel[0xffffff80003c906e] (kernel.TEXT.text + 462958) Summary: kernelthreadinvoke + 1710 at schedprim.c:2559 (lldb) image lookup -a 0xffffff801a5c7d0f Ad
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’21
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
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
549
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
965
Aug ’22
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
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
959
Activity
May ’23
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 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
97
Activity
1w
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
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
336
Activity
Oct ’15
Reply to ubc_msync have a bug
(lldb) image lookup -a 0xffffff801a5ac283 Address: kernel[0xffffff80003ac283] (kernel.TEXT.text + 344707) Summary: kernelpanic + 99 at debug.c (lldb) image lookup -a 0xffffff801a6d91ea Address: kernel[0xffffff80004d91ea] (kernel.TEXT.text + 1577450) Summary: kernelpanic64 + 218 at trapnative.c:152 (lldb) image lookup -a 0xffffff801a55a51f Address: kernel[0xffffff800035a51f] (kernel.TEXT.text + 9503) Summary: kernelhndl_double_fault + 15 (lldb) image lookup -a 0xffffff801a6cd95f Address: kernel[0xffffff80004cd95f] (kernel.TEXT.text + 1530207) Summary: kernelusimplelock + 47 at machineroutines.c (lldb) image lookup -a 0xffffff801a5c95ad Address: kernel[0xffffff80003c95ad] (kernel.TEXT.text + 464301) Summary: kernelthread_dispatch + 445 at sched_prim.c:2768 (lldb) image lookup -a 0xffffff801a5c906e Address: kernel[0xffffff80003c906e] (kernel.TEXT.text + 462958) Summary: kernelthreadinvoke + 1710 at schedprim.c:2559 (lldb) image lookup -a 0xffffff801a5c7d0f Ad
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’21
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
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
549
Activity
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!
Replies
1
Boosts
0
Views
1.8k
Activity
Nov ’17
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
438
Activity
Apr ’21
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
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
965
Activity
Aug ’22
How to access tab groups api on Safari
Hi all, I am on the Mac OS Monterey beta and I want an extension to handle some tab groups for me (switch to a specific tab group with a shortcut). Can someone guide me where I can find the documentation for tab groups in the safari extensions api.
Replies
1
Boosts
0
Views
1.3k
Activity
Aug ’21