Search results for

“A Summary of the WWDC25 Group Lab”

11,216 results found

Post

Replies

Boosts

Views

Activity

Can apps in an app group share the same IAP?
I have two versions of my game, one under 100mb and one way bigger. Most users will try the game with the small version and then be promted to download the big verison to be able to play more. The light and big version of the game are in the same app group. Is it possible to share the IAP (in app purchases) for both versions? In Itunes connect its easy to import the achivments and leaderboards between the two app versions in the group. But I see no such option for the IAP...
1
0
535
May ’16
How to set a subscription item's level in a subscription group?
In Itunes Connect you can move subscription items up/down inside a subscription group to establish their relative level.But if I have essentially the same subscription, but differing only in duration, how can I assign the subscription items to the same subscription level?A user changing the subscription duration should be considered a crossgrade, not a upgrade or downgrade.I see no way to set 2 subscriptions items to the same subscription level in a subscription group in itunes Connect.Is my assumption that 2 subscription items can both have the same subscription level valid ??
1
0
1.2k
Jan ’18
Favorite Athlete Lab - Fatal error thown when performing 'Add Athlete' SegueAction
I'm working through the Favorite Athlete Lab in the Develop in Swift Data Collections book. The guide says: In the addAthlete method, instantiate and return a new instance of AthleteFormViewController. When I control-dray to create the IBActionSegue, I am given the code: @IBSegueAction func addAthlete(_ coder: NSCoder) -> AthleteFormViewController? { return <#AthleteFormViewController(coder: coder)#> } I'm not sure what I should add but I currently have: @IBSegueAction func addAthlete(_ coder: NSCoder) -> AthleteFormViewController? { let newViewController = AthleteFormViewController(coder: coder) return newViewController } When I run the app and click the button connected to the Segue Action, the required init on the View Controller gives the error: Fatal error: init(coder:) has not been implemented I dont know if the way I instantiate and return AthleteFormViewController is the issue, but it seems to be where it goes wrong and where I dont understand quite what is required. Update: Got i
2
0
1.1k
Jun ’22
getgrouplist called triggering group enumeration
A weird window popped up saying Battery 3 Demo Installer needs permission to access system. Tracing it to:MusicTechFocus/Music Tech Focus Logic Pro/Plug-in demo versions/Battery 3 Demo Installer.appApparently it was triggered by Spotlight Search.macOS Sierra Version 10.12 Beta (16A270f).That file has been there for years. Don't know why it decided to popup.12:10:45.416372 -0700Battery 3 Installergetgrouplist called triggering group enumerationcom.apple.message.value: 50com.apple.message.domain: com.apple.system.libinfocom.apple.message.result: noopcom.apple.message.signature: getgrouplistSenderMachUUID: 00000000-0000-0000-0000-000000000000
0
0
1.8k
Aug ’16
Will UserDefaults via App Group be disallowed?
According to upcoming privacy manifest document, NSUserDefaults is only allowed for a use for the app itself. It is serious for developers who makes App Extensions. https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api CA92.1 Declare this reason to access user defaults to read and write information that is only accessible to the app itself. This reason does not permit reading information that was written by other apps or the system, or writing information that can be accessed by other apps. Developers, please submit a request to add the permission of App Group. https://developer.apple.com/contact/request/privacy-manifest-reason/
2
0
1.9k
Oct ’23
Grouping Apps impossible when Apps are not lined up.
I have been playing around with the page layout on my IPad Pro and discovered that is is impossible to group apps if you leave an empty space in the page. I found the option fun to finally place my apps where i want and not just lined up from top to bottom. I discovered if you leave gaps in the page layout it is impossible to groupe apps. The moment you hover the app over the groupe, the groupe shifts back to fill the empty space. Once I filled up all the empty space then the groupe stops moving. It is pretty annoying. The was excited to see the new feature to finally hate it completely. I do hope someone will fix this problem.
1
0
714
Oct ’24
Share security scoped bookmark in app group?
1) Main app and extension register for app groups.2) Main app gets a url from NSOpenPanel, makes a security scoped bookmark and saves is in NSUserdefaults with group container as the suite name.3) Run the extension, grab the bookmark data from user defaults and resolve it. The data is not nil, but fails to resolve:Error Domain=NSCocoaErrorDomain Code=259 The file couldn’t be opened because it isn’t in the correct format.
20
0
10k
Oct ’16
Reply to Icon Composer questions...
They said Xcode will just read the .icon file so I assume this is only on macOS 26. I'd love to hear a confirmation of that - I'm not going to load Beta macOS. Beta Xcode was a big enough step for me. Someone asked in the group lab if the .icon files were back portable. The answer was Yes but I think what they meant was you can use the output of the Icon Composer back in older Xcode because they are just PNG or SVG files. (whatever you imported) I seem to remember never coming back from deleting the AppIcon asset. It's in the back of my mind as a Bad Idea! I think I created a new project and copied all my files back in. Probably I didn't have a recent enough commit. Xcode 26 Icon Composer Any Appearance Default Dark Dark Tinted Mono
Jun ’25
Reply to how to show spatial photo on my Application
Hello! There's new API in RealityKit in visionOS 26 to generate and present spatial scenes in your own app. For more information, check out the new ImagePresentationComponent and Spatial3DImage APIs. The Presenting images in RealityKit sample code project is a great place to get started with these APIs, and the What's new in RealityKit video from WWDC25 has a section showing how to use ImagePresentationComponent for spatial scenes.
Topic: Spatial Computing SubTopic: General Tags:
Jul ’25
Reply to How do you observe the count of records in a Swift Data relationship?
There are some subtle things that determine if a change on a SwiftData model is observable, as discussed in this WWDC25 session (starting from around 14:00.) Your code snippet doesn't show where the folder in FolderView is from and how you add a new item. If you can share a runnable code snippet that demonstrates the issue, I'd be able to figure out why folder doesn't trigger an update. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’25
mac app id do not have the key APP Group
1.I am applying for APP ID I found some difference between OSX and iOSin iOS it has the key of APP Groups but in OSX do not have the key of APP Group2. When I put the Mac Client submitted to the app store It returns error messagevalue com.test.group for key com.apple.security.application-groups is not supported.3.When I was in the iOS client handle data interaction between app and appex i use the key of APP Group but I am on a MAC client, said the key value is not supported on macOSthat MAC app and data interaction between appex should now how to deal with?anyone can help me?Thank you very much.
3
0
1.9k
Feb ’17
BUG: Groups now create Subdirectories in Xcode 9
I seem to have found a BUG in XCode 9, however I can't submit it, so I'll submit it here and hope one of you that can submit bugs can forward it to Apple.It's an easy bug to test: Create a project, then create a Group. In Xcode 8.3.3 this would create a Group in Xcode but not a subdirectory in Finder. NOW it also generates a Subdirectory (check your finder directory). I discovered this by following some directions in a book on Core Data. I started in Xcode and created the groups as described in the book. Later I downloaded Xcode 9 and started over (creating a new project), creating the group now creates a subdirectory also. This might actually be NICE....if it weren't for the fact that some files, like info.plist are expected to be in the main project directory, or at least it errored when I moved the info.list to the Group, as described in the book (it works in Xcode 8.3.3, does not work in Xcode 9 beta 5).I tried this in iOS, as well as in macOS (both create subd
0
0
735
Aug ’17
Unable to Write to App Group Shared Container on Device
Hi everyone, I'm facing an issue where I cannot write a file to a shared App Group container in my tvOS app when running on a real device. My code works perfectly on the simulator, but fails on a physical device with a permissions error. I’ve set up an App Group with a custom identifier (e.g., group.), and it’s correctly configured in the Capabilities section of Xcode for both my main app and widget targets. Here’s the code I’m using to save a test file: func saveTestFile() { guard let groupURL = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: group.) else { print(Couldn't access the Group URL.) return } let containerURL = groupURL.appendingPathComponent(Library, isDirectory: true) if FileManager.default.isWritableFile(atPath: containerURL.path) { print(Directory IS writable) } else { print(Directory IS NOT writable) } let fileURL = containerURL.appendingPathComponent(test.txt) let content = Hello App Group! do { try content.write(t
1
0
223
Apr ’25
Can apps in an app group share the same IAP?
I have two versions of my game, one under 100mb and one way bigger. Most users will try the game with the small version and then be promted to download the big verison to be able to play more. The light and big version of the game are in the same app group. Is it possible to share the IAP (in app purchases) for both versions? In Itunes connect its easy to import the achivments and leaderboards between the two app versions in the group. But I see no such option for the IAP...
Replies
1
Boosts
0
Views
535
Activity
May ’16
How to set a subscription item's level in a subscription group?
In Itunes Connect you can move subscription items up/down inside a subscription group to establish their relative level.But if I have essentially the same subscription, but differing only in duration, how can I assign the subscription items to the same subscription level?A user changing the subscription duration should be considered a crossgrade, not a upgrade or downgrade.I see no way to set 2 subscriptions items to the same subscription level in a subscription group in itunes Connect.Is my assumption that 2 subscription items can both have the same subscription level valid ??
Replies
1
Boosts
0
Views
1.2k
Activity
Jan ’18
Favorite Athlete Lab - Fatal error thown when performing 'Add Athlete' SegueAction
I'm working through the Favorite Athlete Lab in the Develop in Swift Data Collections book. The guide says: In the addAthlete method, instantiate and return a new instance of AthleteFormViewController. When I control-dray to create the IBActionSegue, I am given the code: @IBSegueAction func addAthlete(_ coder: NSCoder) -> AthleteFormViewController? { return <#AthleteFormViewController(coder: coder)#> } I'm not sure what I should add but I currently have: @IBSegueAction func addAthlete(_ coder: NSCoder) -> AthleteFormViewController? { let newViewController = AthleteFormViewController(coder: coder) return newViewController } When I run the app and click the button connected to the Segue Action, the required init on the View Controller gives the error: Fatal error: init(coder:) has not been implemented I dont know if the way I instantiate and return AthleteFormViewController is the issue, but it seems to be where it goes wrong and where I dont understand quite what is required. Update: Got i
Replies
2
Boosts
0
Views
1.1k
Activity
Jun ’22
getgrouplist called triggering group enumeration
A weird window popped up saying Battery 3 Demo Installer needs permission to access system. Tracing it to:MusicTechFocus/Music Tech Focus Logic Pro/Plug-in demo versions/Battery 3 Demo Installer.appApparently it was triggered by Spotlight Search.macOS Sierra Version 10.12 Beta (16A270f).That file has been there for years. Don't know why it decided to popup.12:10:45.416372 -0700Battery 3 Installergetgrouplist called triggering group enumerationcom.apple.message.value: 50com.apple.message.domain: com.apple.system.libinfocom.apple.message.result: noopcom.apple.message.signature: getgrouplistSenderMachUUID: 00000000-0000-0000-0000-000000000000
Replies
0
Boosts
0
Views
1.8k
Activity
Aug ’16
Will UserDefaults via App Group be disallowed?
According to upcoming privacy manifest document, NSUserDefaults is only allowed for a use for the app itself. It is serious for developers who makes App Extensions. https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api CA92.1 Declare this reason to access user defaults to read and write information that is only accessible to the app itself. This reason does not permit reading information that was written by other apps or the system, or writing information that can be accessed by other apps. Developers, please submit a request to add the permission of App Group. https://developer.apple.com/contact/request/privacy-manifest-reason/
Replies
2
Boosts
0
Views
1.9k
Activity
Oct ’23
Grouping Apps impossible when Apps are not lined up.
I have been playing around with the page layout on my IPad Pro and discovered that is is impossible to group apps if you leave an empty space in the page. I found the option fun to finally place my apps where i want and not just lined up from top to bottom. I discovered if you leave gaps in the page layout it is impossible to groupe apps. The moment you hover the app over the groupe, the groupe shifts back to fill the empty space. Once I filled up all the empty space then the groupe stops moving. It is pretty annoying. The was excited to see the new feature to finally hate it completely. I do hope someone will fix this problem.
Replies
1
Boosts
0
Views
714
Activity
Oct ’24
Share security scoped bookmark in app group?
1) Main app and extension register for app groups.2) Main app gets a url from NSOpenPanel, makes a security scoped bookmark and saves is in NSUserdefaults with group container as the suite name.3) Run the extension, grab the bookmark data from user defaults and resolve it. The data is not nil, but fails to resolve:Error Domain=NSCocoaErrorDomain Code=259 The file couldn’t be opened because it isn’t in the correct format.
Replies
20
Boosts
0
Views
10k
Activity
Oct ’16
Reply to Icon Composer questions...
They said Xcode will just read the .icon file so I assume this is only on macOS 26. I'd love to hear a confirmation of that - I'm not going to load Beta macOS. Beta Xcode was a big enough step for me. Someone asked in the group lab if the .icon files were back portable. The answer was Yes but I think what they meant was you can use the output of the Icon Composer back in older Xcode because they are just PNG or SVG files. (whatever you imported) I seem to remember never coming back from deleting the AppIcon asset. It's in the back of my mind as a Bad Idea! I think I created a new project and copied all my files back in. Probably I didn't have a recent enough commit. Xcode 26 Icon Composer Any Appearance Default Dark Dark Tinted Mono
Replies
Boosts
Views
Activity
Jun ’25
Reply to how to show spatial photo on my Application
Hello! There's new API in RealityKit in visionOS 26 to generate and present spatial scenes in your own app. For more information, check out the new ImagePresentationComponent and Spatial3DImage APIs. The Presenting images in RealityKit sample code project is a great place to get started with these APIs, and the What's new in RealityKit video from WWDC25 has a section showing how to use ImagePresentationComponent for spatial scenes.
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to How do you observe the count of records in a Swift Data relationship?
There are some subtle things that determine if a change on a SwiftData model is observable, as discussed in this WWDC25 session (starting from around 14:00.) Your code snippet doesn't show where the folder in FolderView is from and how you add a new item. If you can share a runnable code snippet that demonstrates the issue, I'd be able to figure out why folder doesn't trigger an update. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’25
mac app id do not have the key APP Group
1.I am applying for APP ID I found some difference between OSX and iOSin iOS it has the key of APP Groups but in OSX do not have the key of APP Group2. When I put the Mac Client submitted to the app store It returns error messagevalue com.test.group for key com.apple.security.application-groups is not supported.3.When I was in the iOS client handle data interaction between app and appex i use the key of APP Group but I am on a MAC client, said the key value is not supported on macOSthat MAC app and data interaction between appex should now how to deal with?anyone can help me?Thank you very much.
Replies
3
Boosts
0
Views
1.9k
Activity
Feb ’17
Reply to Speeding up asset catalog compilation for developer builds
Thank you very much for the reply! You can find a summary of the request in FB9048011.
Replies
Boosts
Views
Activity
Mar ’21
Reply to Help to add some functionality
It displays the game’s information such as the summary and the story line for the games
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’20
BUG: Groups now create Subdirectories in Xcode 9
I seem to have found a BUG in XCode 9, however I can't submit it, so I'll submit it here and hope one of you that can submit bugs can forward it to Apple.It's an easy bug to test: Create a project, then create a Group. In Xcode 8.3.3 this would create a Group in Xcode but not a subdirectory in Finder. NOW it also generates a Subdirectory (check your finder directory). I discovered this by following some directions in a book on Core Data. I started in Xcode and created the groups as described in the book. Later I downloaded Xcode 9 and started over (creating a new project), creating the group now creates a subdirectory also. This might actually be NICE....if it weren't for the fact that some files, like info.plist are expected to be in the main project directory, or at least it errored when I moved the info.list to the Group, as described in the book (it works in Xcode 8.3.3, does not work in Xcode 9 beta 5).I tried this in iOS, as well as in macOS (both create subd
Replies
0
Boosts
0
Views
735
Activity
Aug ’17
Unable to Write to App Group Shared Container on Device
Hi everyone, I'm facing an issue where I cannot write a file to a shared App Group container in my tvOS app when running on a real device. My code works perfectly on the simulator, but fails on a physical device with a permissions error. I’ve set up an App Group with a custom identifier (e.g., group.), and it’s correctly configured in the Capabilities section of Xcode for both my main app and widget targets. Here’s the code I’m using to save a test file: func saveTestFile() { guard let groupURL = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: group.) else { print(Couldn't access the Group URL.) return } let containerURL = groupURL.appendingPathComponent(Library, isDirectory: true) if FileManager.default.isWritableFile(atPath: containerURL.path) { print(Directory IS writable) } else { print(Directory IS NOT writable) } let fileURL = containerURL.appendingPathComponent(test.txt) let content = Hello App Group! do { try content.write(t
Replies
1
Boosts
0
Views
223
Activity
Apr ’25