Search results for

“A Summary of the WWDC25 Group Lab”

11,216 results found

Post

Replies

Boosts

Views

Activity

Reply to Circular Reference Error in Xcode 26
Adding nonisolated to my struct fixed the issue. My project is, as well, on MainActor default isolation mode. Although this fixes the problem, I am not sure about any repercussions that this might have in terms of concurrency. I am also new to Swift concurrency (I found Embracing Swift Concurrency from WWDC25 to be very helpful if you haven't watched it already). However, I am not sure if this is intended functionality or not because the error gives very little information. Thanks for your solutions!
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’25
Prevent collapsing every tab group when collapsing sidebar
I'm not sure if this is even the right place to ask this, or voice this complaint if there's no fix. If not, please direct me where to go. I'm trying to switch all my development over to Safari, but the tab sidebar is driving me absolutely insane. Let's say I have a bunch of tab groups expanded, and I collapse the sidebar to focus on the webapp I am building. When I toggle to show the sidebar again, every single tab group is collapsed. Why is it 2 clicks to see the tabs in the sidebar? Even with zero tab groups, and just tabs in the workspace, if you collapse the sidebar it'll collapse the list of tabs. Is there some hidden setting for this? Who do we have to complain to?
Topic: Safari & Web SubTopic: General
0
0
239
Feb ’25
app groups not functioning with Swift 2
Hi, I have an app group that worked fine between my watch and iPhone using Swift 1. Now, however, nothing is saving to my app group when I use the same code to save and synch the data (and thus nothing appears on my watch).I believe the relevant code is here://in the AppDelegate var sharedData = NSUserDefaults(suiteName: group.RxRemindMe)//in my VC NSKeyedArchiver.setClassName(RxRemindMe.Medication, forClass: Medication.self) NSKeyedUnarchiver.setClass(Medication.self, forClassName: RxRemindMe.Medication) appDelegate.sharedData!.setObject(savedAsData, forKey: TheMedicationsShared) appDelegate.sharedData!.synchronize()if I run the same .setObject command on a non-shared userDefault object, I see bytes saved (size changes to some positive bytes) and my phone app can access the data. However, when I execute line 4 above via the shared group object, the object remains nil in size and nothing has changed. I thus can't recall the data either on the phone or on the watch. Is this a bug in
3
0
629
Jun ’15
shielding behavior - apps in same group
selecting the Facebook app from the FamilyActivityPicker returns an ApplicationToken. When adding that token to a ManagedSettingsStore's shield.applications set, both Facebook and the Facebook Messenger Kids apps gets shielded, even though the latter was not selected from the picker. (Interestingly, the Facebook Messenger app does not get shielded - just the kids version) The same is true for shielding the ApplicationToken produced by selecting the Amazon app. It causes the Alexa app to be shielded. I assume this is occurring because the apps share a keychain group, bundle id substring, or some other property that the picker is using, but how can I avoid this behavior?
1
0
1.3k
Mar ’23
Can't add App Group containers to App Id
I am currently having a nightmare with Xcode trying to set up App Groups I previously had it set up but since I upgraded to Xcode 7.3 it has now broken. I get the error message You don't have sufficient permissions I haven't enrolled in the developer program but I know app groups you don't need to use them. This is what is shown inside Xcode inside the permissions.Image of problem
2
0
1.5k
Mar ’16
Unable to enable App Groups for an App ID
Hi,We've got an App ID that's been around for a substancial amount of years now. Being in the process of developing new features I've tried enable App Groups service in developer portal for this AppID, but the checkmark is disable (i.e. not clickable) for this particular App ID. I can enable the service for other App IDs that were creared recently. I'm stuck wondering how I might start investigating the root cause for why App Groups are not available.Does anyone has an insight about what the root cause might be or what kind of diagnostics exist for me to investigate the issue?Thanks,Dmitry
0
0
1.2k
May ’17
Reply to Task on MainActor does not run on the main thread, why?
Thank you, exhausting enough, everything is clear. Just a final summary for all others reading this thread, the core of my interest (not needed to be further commented, if correct :-) ) Unstructured Task created through Task.init inherits actor async context. (Detached Task does NOT - detached tasks are not subject of the summary below) The inherited actor async context has nothing to do with threads, after each await the thread may change, however the actor async context is kept throughout all the unstructured task (yes, may be on various threads, but this is important just for the executor). If the inherited actor async context is MainActor, then the task runs on the main thread, from beginning till its end, because the actor context is MainActor. This has no impact on any subtasks. Unstructured subtasks may inherit the actor async context, where applicable. async let = tasks, and group tasks (and detached unstructured tasks) do NOT inherit actor context! The bullet above is impor
Jul ’22
New iOS-style App Groups Prevent App Submission
We have a macOS app that has a Photos Extension, which shares documents with the app via an app group container. Historically we used to have an iOS-style group identifier (group.${TeamIdentifier}${groupName}), because we were lead by the web interface in the developer portal to believe this to be the right way to name groups. Later with the first macOS 15 betas last year there was a bug with the operating system warning users, our app would access data from different apps, but it was our own app group container directory. Therefore we added a macOS-style group identifier (${TeamIdentifier}${groupName}) and wrote a migration of documents to the new group container directory. So basically we need to have access to these two app group containers for the foreseeable future. Now with the introduction of iOS-style group identifiers for macOS, Xcode Cloud no longer archives our app for TestFlight or AppStore, because it complains: ITMS
1
0
424
Mar ’25
Sign in With Apple Group existing app Id issue
Hello, I have multiple apps that i would like to login with apple login connected to same backend. I enabled sign in with apple on all and told them to group with primary app id which is one of them. I went and created 1 service id and key and used that on the backend to login the user. I can login fine on the primary app id but not on the grouped ones. Am I missing anything setup wise?
1
0
785
Sep ’21
Reply to Circular Reference Error in Xcode 26
Adding nonisolated to my struct fixed the issue. My project is, as well, on MainActor default isolation mode. Although this fixes the problem, I am not sure about any repercussions that this might have in terms of concurrency. I am also new to Swift concurrency (I found Embracing Swift Concurrency from WWDC25 to be very helpful if you haven't watched it already). However, I am not sure if this is intended functionality or not because the error gives very little information. Thanks for your solutions!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’25
Prevent collapsing every tab group when collapsing sidebar
I'm not sure if this is even the right place to ask this, or voice this complaint if there's no fix. If not, please direct me where to go. I'm trying to switch all my development over to Safari, but the tab sidebar is driving me absolutely insane. Let's say I have a bunch of tab groups expanded, and I collapse the sidebar to focus on the webapp I am building. When I toggle to show the sidebar again, every single tab group is collapsed. Why is it 2 clicks to see the tabs in the sidebar? Even with zero tab groups, and just tabs in the workspace, if you collapse the sidebar it'll collapse the list of tabs. Is there some hidden setting for this? Who do we have to complain to?
Topic: Safari & Web SubTopic: General
Replies
0
Boosts
0
Views
239
Activity
Feb ’25
app groups not functioning with Swift 2
Hi, I have an app group that worked fine between my watch and iPhone using Swift 1. Now, however, nothing is saving to my app group when I use the same code to save and synch the data (and thus nothing appears on my watch).I believe the relevant code is here://in the AppDelegate var sharedData = NSUserDefaults(suiteName: group.RxRemindMe)//in my VC NSKeyedArchiver.setClassName(RxRemindMe.Medication, forClass: Medication.self) NSKeyedUnarchiver.setClass(Medication.self, forClassName: RxRemindMe.Medication) appDelegate.sharedData!.setObject(savedAsData, forKey: TheMedicationsShared) appDelegate.sharedData!.synchronize()if I run the same .setObject command on a non-shared userDefault object, I see bytes saved (size changes to some positive bytes) and my phone app can access the data. However, when I execute line 4 above via the shared group object, the object remains nil in size and nothing has changed. I thus can't recall the data either on the phone or on the watch. Is this a bug in
Replies
3
Boosts
0
Views
629
Activity
Jun ’15
shielding behavior - apps in same group
selecting the Facebook app from the FamilyActivityPicker returns an ApplicationToken. When adding that token to a ManagedSettingsStore's shield.applications set, both Facebook and the Facebook Messenger Kids apps gets shielded, even though the latter was not selected from the picker. (Interestingly, the Facebook Messenger app does not get shielded - just the kids version) The same is true for shielding the ApplicationToken produced by selecting the Amazon app. It causes the Alexa app to be shielded. I assume this is occurring because the apps share a keychain group, bundle id substring, or some other property that the picker is using, but how can I avoid this behavior?
Replies
1
Boosts
0
Views
1.3k
Activity
Mar ’23
Can't add App Group containers to App Id
I am currently having a nightmare with Xcode trying to set up App Groups I previously had it set up but since I upgraded to Xcode 7.3 it has now broken. I get the error message You don't have sufficient permissions I haven't enrolled in the developer program but I know app groups you don't need to use them. This is what is shown inside Xcode inside the permissions.Image of problem
Replies
2
Boosts
0
Views
1.5k
Activity
Mar ’16
Reply to SIP (System Integrity Protection)
the impact for us is over 1200 lab machines that get re-imaged every year. Add to that the potential to netrestore any of our 1000 or so staff machines if they need a nuke-and pave.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Unable to enable App Groups for an App ID
Hi,We've got an App ID that's been around for a substancial amount of years now. Being in the process of developing new features I've tried enable App Groups service in developer portal for this AppID, but the checkmark is disable (i.e. not clickable) for this particular App ID. I can enable the service for other App IDs that were creared recently. I'm stuck wondering how I might start investigating the root cause for why App Groups are not available.Does anyone has an insight about what the root cause might be or what kind of diagnostics exist for me to investigate the issue?Thanks,Dmitry
Replies
0
Boosts
0
Views
1.2k
Activity
May ’17
Reply to Task on MainActor does not run on the main thread, why?
Thank you, exhausting enough, everything is clear. Just a final summary for all others reading this thread, the core of my interest (not needed to be further commented, if correct :-) ) Unstructured Task created through Task.init inherits actor async context. (Detached Task does NOT - detached tasks are not subject of the summary below) The inherited actor async context has nothing to do with threads, after each await the thread may change, however the actor async context is kept throughout all the unstructured task (yes, may be on various threads, but this is important just for the executor). If the inherited actor async context is MainActor, then the task runs on the main thread, from beginning till its end, because the actor context is MainActor. This has no impact on any subtasks. Unstructured subtasks may inherit the actor async context, where applicable. async let = tasks, and group tasks (and detached unstructured tasks) do NOT inherit actor context! The bullet above is impor
Replies
Boosts
Views
Activity
Jul ’22
Reply to Software Updates in Education
Agreed. I need our macOS lab machines to update before 7:30 a.m. but NOT between 7:30 a.m. and 10 p.m. Other hours are fine.
Topic: General SubTopic:
Business & Education Q&A
Replies
Boosts
Views
Activity
Jun ’26
Reply to Navigation Link limitations inside a group in swiftui iphone
The limitation to 10 is effectively a very serious limitation of SwiftUI. But you can use Group and even Groups in Groups or Groups of Groups of Groups ! So the number of items is unlimited in fact Note : the forum does not accept the following text presented as code, so I paste a file. Groups of Groups of Groups
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
New iOS-style App Groups Prevent App Submission
We have a macOS app that has a Photos Extension, which shares documents with the app via an app group container. Historically we used to have an iOS-style group identifier (group.${TeamIdentifier}${groupName}), because we were lead by the web interface in the developer portal to believe this to be the right way to name groups. Later with the first macOS 15 betas last year there was a bug with the operating system warning users, our app would access data from different apps, but it was our own app group container directory. Therefore we added a macOS-style group identifier (${TeamIdentifier}${groupName}) and wrote a migration of documents to the new group container directory. So basically we need to have access to these two app group containers for the foreseeable future. Now with the introduction of iOS-style group identifiers for macOS, Xcode Cloud no longer archives our app for TestFlight or AppStore, because it complains: ITMS
Replies
1
Boosts
0
Views
424
Activity
Mar ’25
Reply to Developer Account Summary
I have the same problem. I cannot chanc=ge my Developer Account Summary.
Replies
Boosts
Views
Activity
Oct ’15
Reply to Shared NEVPNManager and NETunnelProviderManager between application and extensions
I created ticket number FB7788573. In our one-on-one lab, the networking team asked us to make forum posts as well. You may wish to coordinate with them about that.
Replies
Boosts
Views
Activity
Jun ’20
Sign in With Apple Group existing app Id issue
Hello, I have multiple apps that i would like to login with apple login connected to same backend. I enabled sign in with apple on all and told them to group with primary app id which is one of them. I went and created 1 service id and key and used that on the backend to login the user. I can login fine on the primary app id but not on the grouped ones. Am I missing anything setup wise?
Replies
1
Boosts
0
Views
785
Activity
Sep ’21
Reply to VisionOS app stuck in review for a month!
@CodeKit Did Apple state specifically why the app was rejected? Did you spend a day at a developer lab getting your app up to snuff for launching on the App Store? Just curious....
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’24