Search results for

“A Summary of the WWDC26 Group Lab”

10,966 results found

Post

Replies

Boosts

Views

Activity

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
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
628
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
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
400
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
Group Session active participants not working
I am using SharePlay and the Group Activities framework in my app and my usecase requires the number of participants, so I am trying to get it like this: _ = SharePlayManager.sharedInstance.groupSession?.$activeParticipants.sink(receiveValue: { participants in print(participants.count) }) But this always prints 0, am I doing something wrong? (groupSession is 100% not nil)
0
0
764
Dec ’21
Unable to add Group to TestFlight build in App Store Connect
I am unable to add a Group to my app's TestFlight build. Steps: In App Store Connect, Go to TestFlight > Build # > Add Group (Group + button) Add 'Export Compliance Information' Click on 'Start Internal Testing' When following these steps, the entire screen reloads, however navigating back to the same screen shows that no Groups have been added to the build. A friend who is on the same account is able to follow these steps successfully. Is there something we should be checking to allow me to do this?
1
0
3.1k
Aug ’22
How to show group name in the subtitle of the Communication Notification?
Hi all, I am trying to display the name of the group in the subtitle of the communication notification, like this: Here is my code: override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) { self.contentHandler = contentHandler var personNameComponents = PersonNameComponents() personNameComponents.nickname = Test Person let avatar = INImage(url: URL(string: https:imageURL)!) let senderPerson = INPerson(personHandle: INPersonHandle(value: 1233211234, type: .unknown), nameComponents: personNameComponents, displayName: Test Person, image: avatar, contactIdentifier: nil, customIdentifier: nil, isMe: false, suggestionType: .none) let mePerson = INPerson( personHandle: INPersonHandle(value: 1233211232, type: .unknown), nameComponents: nil, displayName: nil, image: nil, contactIdentifier: nil, customIdentifier: nil, isMe: true, suggestionType: .none) let incomingMessagingIntent = INSendMessageIntent(recipients: [mePerson], ou
2
0
2.2k
Oct ’21
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
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
628
Activity
Jun ’15
Reply to Add in-app purchases
I'm also having this issue. None of my iap's show up on the summary
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Nov ’17
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 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
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
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
400
Activity
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?
Replies
1
Boosts
0
Views
785
Activity
Sep ’21
Group Session active participants not working
I am using SharePlay and the Group Activities framework in my app and my usecase requires the number of participants, so I am trying to get it like this: _ = SharePlayManager.sharedInstance.groupSession?.$activeParticipants.sink(receiveValue: { participants in print(participants.count) }) But this always prints 0, am I doing something wrong? (groupSession is 100% not nil)
Replies
0
Boosts
0
Views
764
Activity
Dec ’21
Unable to add Group to TestFlight build in App Store Connect
I am unable to add a Group to my app's TestFlight build. Steps: In App Store Connect, Go to TestFlight > Build # > Add Group (Group + button) Add 'Export Compliance Information' Click on 'Start Internal Testing' When following these steps, the entire screen reloads, however navigating back to the same screen shows that no Groups have been added to the build. A friend who is on the same account is able to follow these steps successfully. Is there something we should be checking to allow me to do this?
Replies
1
Boosts
0
Views
3.1k
Activity
Aug ’22
Reply to Link, SwiftUI bug?, button trait identified on VoiceOver for a link.
I got feedback in a WWDC25 accessibility lab that a link was being read by VoiceOver as both a link and a button. I was surprised to discover that this seems to be the the default behavior. I'm also wondering if this is intentional or a bug.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’25
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
1w
How to show group name in the subtitle of the Communication Notification?
Hi all, I am trying to display the name of the group in the subtitle of the communication notification, like this: Here is my code: override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) { self.contentHandler = contentHandler var personNameComponents = PersonNameComponents() personNameComponents.nickname = Test Person let avatar = INImage(url: URL(string: https:imageURL)!) let senderPerson = INPerson(personHandle: INPersonHandle(value: 1233211234, type: .unknown), nameComponents: personNameComponents, displayName: Test Person, image: avatar, contactIdentifier: nil, customIdentifier: nil, isMe: false, suggestionType: .none) let mePerson = INPerson( personHandle: INPersonHandle(value: 1233211232, type: .unknown), nameComponents: nil, displayName: nil, image: nil, contactIdentifier: nil, customIdentifier: nil, isMe: true, suggestionType: .none) let incomingMessagingIntent = INSendMessageIntent(recipients: [mePerson], ou
Replies
2
Boosts
0
Views
2.2k
Activity
Oct ’21