Search results for

“A Summary of the WWDC26 Group Lab”

11,484 results found

Post

Replies

Boosts

Views

Activity

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
Reply to request for a kernel I/O passthrough API for file-backed volumes (FUSE_PASSTHROUGH / ProjFS equivalent)
My usual response to a post this would be to recommend that you make it official by filing an enhancement request. In this case, however, you might wanna wait a week to see what WWDC26 brings. If there’s new stuff, you can evaluate that before filing your ER. And if there isn’t, you’ve only ‘lost’ a week. If you do file an ER, please post your bug number here, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’26
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
375
Apr ’25
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
738
Aug ’17
Can defaults command on macOS read app group preferences?
Is there any way to read/write preferences for a Mac app group using the defaults command? I'm talking about the stuff you would programmatically manipulate using [NSUserDefaults initWithSuiteName:], and that is stored on disk in ~/Library/Group Containers. If I just say defaults read <suite name>, it tells me the the domain does not exist.
5
0
2.9k
Jan ’23
What does "Cannot solve for a non-group item." mean?
I'm using a UICollectionViewCompositionalLayout, and an exception is thrown when I load my collection view.The exception says Cannot solve for a non-group item.Any idea what might be wrong? Or how to fix it?Here's my layout codefunc sideBarSectionCollectionLayout()->UICollectionViewCompositionalLayout { let size = NSCollectionLayoutSize(widthDimension:.fractionalWidth(1), heightDimension:.estimated(105)) let item = NSCollectionLayoutItem(layoutSize: size) let group = NSCollectionLayoutGroup.horizontal(layoutSize: size, subitems: [item]) let section = NSCollectionLayoutSection(group: group) section.contentInsets = NSDirectionalEdgeInsets(top: 5, leading: 5, bottom: 5, trailing: 5) section.interGroupSpacing = 5 return UICollectionViewCompositionalLayout(section: section) }My cells are set up in the storyboard.I'm running xcode 11.1 (11A1027), and catalina 10.15.1 Beta (19B68f)It started after the catalina upgrade from the GM.Here's the relevant part of the stack trace.2019
9
0
2.4k
Oct ’19
Reply to On-device model capabilities, limits, and versioning
Sharing what's confirmed from the WWDC26 ML labs, sub-question by sub-question — and flagging where Apple's direct answer is needed. Context window + overflow: On-device is 4096 tokens, shared between input and output. PCC is 32K. Overflow handling is developer-managed, not automatic — there's no silent truncation you can rely on. The framework added token-counting APIs (check context size, count tokens before sending) and the response reports input/output/cached token usage. Use those to chunk or summarize proactively. Guided generation / schema complexity: There's no published hard limit on nesting depth or enum/array/optional counts. The practical guidance from the labs was to keep schemas as flat and simple as the use case allows, since deeply nested structures are harder for the model to satisfy reliably. The failure mode is a generation error rather than silent malformed output. Best practice: validate the decoded result and be ready to retry. The exact complexity ceiling is s
Topic: Foundation Models SubTopic:
Foundation Models Q&A
Jun ’26
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 request for a kernel I/O passthrough API for file-backed volumes (FUSE_PASSTHROUGH / ProjFS equivalent)
My usual response to a post this would be to recommend that you make it official by filing an enhancement request. In this case, however, you might wanna wait a week to see what WWDC26 brings. If there’s new stuff, you can evaluate that before filing your ER. And if there isn’t, you’ve only ‘lost’ a week. If you do file an ER, please post your bug number here, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’26
Reply to Thanks for making these!
I second this! I really enjoyed the Widget code along! This is something that google does fairly well as well with their code labs and I've always wanted more of their ilk for our community!
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’20
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
375
Activity
Apr ’25
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
738
Activity
Aug ’17
Can defaults command on macOS read app group preferences?
Is there any way to read/write preferences for a Mac app group using the defaults command? I'm talking about the stuff you would programmatically manipulate using [NSUserDefaults initWithSuiteName:], and that is stored on disk in ~/Library/Group Containers. If I just say defaults read <suite name>, it tells me the the domain does not exist.
Replies
5
Boosts
0
Views
2.9k
Activity
Jan ’23
What does "Cannot solve for a non-group item." mean?
I'm using a UICollectionViewCompositionalLayout, and an exception is thrown when I load my collection view.The exception says Cannot solve for a non-group item.Any idea what might be wrong? Or how to fix it?Here's my layout codefunc sideBarSectionCollectionLayout()->UICollectionViewCompositionalLayout { let size = NSCollectionLayoutSize(widthDimension:.fractionalWidth(1), heightDimension:.estimated(105)) let item = NSCollectionLayoutItem(layoutSize: size) let group = NSCollectionLayoutGroup.horizontal(layoutSize: size, subitems: [item]) let section = NSCollectionLayoutSection(group: group) section.contentInsets = NSDirectionalEdgeInsets(top: 5, leading: 5, bottom: 5, trailing: 5) section.interGroupSpacing = 5 return UICollectionViewCompositionalLayout(section: section) }My cells are set up in the storyboard.I'm running xcode 11.1 (11A1027), and catalina 10.15.1 Beta (19B68f)It started after the catalina upgrade from the GM.Here's the relevant part of the stack trace.2019
Replies
9
Boosts
0
Views
2.4k
Activity
Oct ’19
Reply to On-device model capabilities, limits, and versioning
Sharing what's confirmed from the WWDC26 ML labs, sub-question by sub-question — and flagging where Apple's direct answer is needed. Context window + overflow: On-device is 4096 tokens, shared between input and output. PCC is 32K. Overflow handling is developer-managed, not automatic — there's no silent truncation you can rely on. The framework added token-counting APIs (check context size, count tokens before sending) and the response reports input/output/cached token usage. Use those to chunk or summarize proactively. Guided generation / schema complexity: There's no published hard limit on nesting depth or enum/array/optional counts. The practical guidance from the labs was to keep schemas as flat and simple as the use case allows, since deeply nested structures are harder for the model to satisfy reliably. The failure mode is a generation error rather than silent malformed output. Best practice: validate the decoded result and be ready to retry. The exact complexity ceiling is s
Topic: Foundation Models SubTopic:
Foundation Models Q&A
Replies
Boosts
Views
Activity
Jun ’26
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
MISSION CONTROL GROUPING WINDOWS FEATURE REQUEST
I would like to request the ability to group windows in mission control so that I can easily swap all windows between my 2 external monitors easily. Anyway to make swapping all windows between the displays easier would be a huge time saver. Making this an option in shortcuts would work as well.
Replies
0
Boosts
0
Views
559
Activity
Mar ’24
Static method 'buildBlock' requires that 'Group' conform to 'View'
I'm Trying add SwiftUI to Old Project. But Error in Group. How do I solve this problem? My Project: Xcode: 12.5.1 iOS Deployment Target: 13.0 Swift Compiler Error Static method 'buildBlock' requires that 'Group' conform to 'View' Trailing closure passed to parameter of type 'NSManagedObjectContext' that does not accept a closure
Replies
2
Boosts
0
Views
15k
Activity
Sep ’21
Reply to Network Extension for tvOS?
Thank you very much for looking into it. We were asked by one of the engineers in the Network Extension team (from a lab) to post about it here. I hope we can see this framework become available in a future tvOS release :-)
Replies
Boosts
Views
Activity
Jun ’20
Reply to DrawTogether example code?
By the way, I attended a GroupActivities lab and the engineer seemed surprised the code wasn't up. He indicated that it'd probably go up eventually, but it's unclear whether this was guaranteed.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jun ’21
I can't add a group to test my app in Test Flight.
After i submited a version to review and it approved. I can`t to add new versions to test in Test Flight. New versions kepp the status Ready to Submit and i can't to add a group to test this versions. I canceled submission before it sent to store and i can't to add a group to test new versions in Test Flight. Can someone help me?
Replies
2
Boosts
0
Views
779
Activity
Mar ’22