Search results for

“A Summary of the WWDC26 Group Lab”

10,960 results found

Post

Replies

Boosts

Views

Activity

"Responsible Caller" seems arbitrary in Instruments Zombie Allocation Summary View?
I'm wondering if anyone else is seeing this:it looks to me like the Responsible caller value in the allocation summary is misleading, and randomly dropping to stack frames. for example, right now i'm looking at a summary that has these three lines (among others):Retain -[Solution initWithContentsOfURL:] Retain -[Solution init] Release -[Solution init]seems line 2 and three match, right? think again. if you look at the full stack frames for each, you see this: 0 Fire -[Solution init] /Users/mh/Code/Fire/SharedProjectSystem/Solution.cs:0 1 Fire -[Solution initWithContentsOfURL:] /Users/mh/Code/Fire/SharedProjectSystem/Solution.cs:85 2 Fire +[Solution solutionWithContentsOfURL:] /Users/mh/Code/Fire/SharedProjectSystem/Solution.cs:664 3 Fire -[SolutionDocument readFromURL:] /Users/mh/Code/Fire/SharedCoreApp/SolutionDocument.cs:70 4 Fire -[SolutionDocument readFromURL:ofType:error:] /Users/mh/Code/Fire/SharedCoreApp/SolutionDocument.NSDocument.cs:78 5 AppKit -[NSDocument _initForURL:withContentsO
0
0
529
Apr ’17
How to handle multiple users purchasing a subscription from a single Apple ID, or group them based on subscription group?
We are implementing auto-renewable subscriptions on iOS. We face a problem where users can purchase multiple subscriptions on a single Apple ID linked to the device. We are having 3 subscription plans as Regular (Monthly), Regular (Yearly), and Special (Yearly). Now, we have decided that Regular plans will be configured in a separate subscription group and special plan on the other since we don't want the Regular users to know that there is a special plan that is less costly than theirs. (Through Manage Subscription of the device Settings) Scenario 1: If User A subscribes to the Special plan on his Apple Id, his subscription gets active. Now, if on the same Apple ID, user B logs in to the app and is a Regular user then he can purchase any of the Regular plans. But the issue is User A's receipt and User B's receipt cause problems sometime later since their receipts are created on the same Apple ID. We are not able to restrict User B to purchase from User A's device in this case, since the original_tra
0
0
773
Apr ’21
Group iMessage Apps are problematic
I get the distinct feeling, based on the WWDC presentations, that group iMessage apps are either incomplete or not really thought out. Add to this that there are no group conversations possible in the simulator. The group message part of the demo was just a couple of slides and he used the phrase we are recommending for the moment which leads me to believe that Apple probably has unfinished business here. I think that the idea of making MSSession the carrier of data and make each subsequent message create a stack of unprocessed responses so that when the user clicks on the bubble it sees each response and can process them one by one. What I'm wondering is, in the same section, they talk about privacy. So each device will get different identifiers for each user. If you are using the cloud, I don't see how you can then aggregate responses correctly. Take this scenario:I send an iMessage App (IMA) to two of my friends and it asks them to pick what they want for lunch.Friend A responds
5
0
1.1k
Jul ’16
Reply to Unable to edit problematic keychain-access-groups setting of downloaded provisioningprofile for signing
Solution Summary: To build using EAS build, we need an Apple Distribution Certificate, but EAS's credentials tool creates an iOS Distribution Certificate. Therefor what is needed is to create the distribution cert on Apple Dev portal, download the .cer file from there, add it to your OSX keychain, then export to .p12 with a password. Then when using EAS build, you will choose: > eas build --profile production --platform ios --local ... ... Generate a new Apple Distribution Certificate? … no Path to P12 file: … /path/to/your.p12 P12 password: … *the password your exported to .p12 with* Would you like to reuse the original profile? … no Generate a new Apple Provisioning Profile? … yes During the build process, your OSX should prompt you for your OSX login chain pw (Your OSX admin pw, not the .p12 export password) multiple times. As for the keychain-access-groups entitlement, even though XCode complains as follows: Provisioning profile doesn't include the com.apple.developer.keychain-access-
Feb ’25
QuickLook Extension and App Groups on macOS
Hello, I am trying to use app groups to share preferences between an app and its QuickLook extension (both sandboxed), but I can't understand why it's not working. For testing, I created an empty macOS app project and added a QuickLook Extension, then on both the targets' entitlement files I added the app group domain in the form teamid.test. Last but not least, in the Info.plist file of the QL extension i added some UTIs to have the QL extension called when previewing. In the QL extension's PreviewViewController.swift file I try to save a value like this: func preparePreviewOfFile(at url: URL, completionHandler handler: @escaping (Error?) -> Void) { let defaults=UserDefaults(suiteName: teamid.***) defaults?.set(1, forKey: test) handler(nil) } If I try to run the app and preview a file though, I get this message in the Console: Couldn't write values for keys ( test ) in CFPrefsPlistSource<0x7fb63681cce0> (Domain: teamid.***, User: kCFPreferencesCurrentUser, ByHost: No, Container: (n
0
0
807
Nov ’21
Where did Keychain Access Groups entitlements go
In the 2020 WWDC changes to the Developer site, the section in Profiles for Keychain Access Groups went away. I understand that this entitlement is now rolled into App Groups, but I don't see my preexisting Access Group identifier listed on my page anymore. Where do I modify or remove the Access Group entitlement I've been using, or create new ones?
4
0
6.1k
Jul ’20
Reply to Should ModelActor be used to populate a view?
I decided to run this task on app launch to sync the clinical labs into the SwiftData store. This allows me to use Query macro in the views where it's needed and no need to combine lab results. Let me know if this is the right approach: import SwiftData import SwiftUI import OSLog @ModelActor actor HealthKitSyncManager { private let logger = Logger(subsystem: com.trtmanager, category: HealthKitSyncManager) func sync() async { do { // Get all Clinical labs let hkClinicalRecords = try await TRTHealthKitService.getHKClinicalRecords() guard !hkClinicalRecords.isEmpty else { return } // Get existing HealthKit IDs in one query let descriptor = FetchDescriptor( // predicate: #Predicate { $0.source == .clinicalRecord } ) let existing = try modelContext.fetch(descriptor) .compactMap { $0.fhirResourceId } let existingIDs = Set(existing) let missingRecords = hkClinicalRecords.filter { lab in guard let fhirResource = lab.fhirResource else { return false } return !existingIDs.contains(f
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’25
BLE Connection Failure with iPad A16 and Silicon Labs Gecko SDK 3.x Devices
We're seeing a consistent issue where iPads with the A16 chip fail to connect to our BLE device, which uses a Silicon Labs chip running Gecko SDK 3.x. All other Apple devices — including older iPads and iPhones — connect without any problems. According to Silicon Labs, the issue stems from the iPad A16 sending an LL_CHANNEL_REPORTING_IND message (opcode 0x28) during connection establishment: Per Silicon Labs: Currently the iPad 16 will send a message for LL_CHANNEL_REPORTING_IND (opcode 0x28). This is a feature that is not supported in Gecko SDK 3.x. Shortly after, the BLE module responds with an 'Unknown Response' (opcode 0x07), indicating that it does not support opcode 0x28 After this exchange the iPad stops sending meaningful transactions to the BLE module and eventually closes the connection. The BLE Module is responding to this unknown request as specified in the BT Core Spec Volume 6 Part B. Unfortunately, the firmware on these BLE modules cannot be updated remotely, and we'v
2
0
369
Jul ’25
Group Activities Entitlements on MacCatalyst
I am adding Group Activities integration with a MacCatalyst app. I have added the Group Activities entitlement in Xcode. I also checked the entitlements with : codesign --display --entitlements :- I can see the entitlement : com.apple.developer.group-session The feature work fine on iPadOS but when I run it on MacOS, the GroupActivitySharingController is not loading properly. I get the following error messages: Cannot run query EXQuery: extension point com.apple.groupactivities platforms: 6 with error: (null) Failed to lookup extension with query EXQuery: extension point com.apple.groupactivities platforms: 6 on <_GroupActivities_UIKit.PeoplePickerController: 0x600005020980> Failed to fetch config for hostViewController <_GroupActivities_UIKit.PeoplePickerController: 0x600005020980> Failed to build remote hostViewController for <_GroupActivities_UIKit.GroupActivitySharingController: 0x1417f1250> Failed to fetch extensionViewController Calling -viewDidAppear: directly on a v
0
0
769
Mar ’24
Header alignment with UICollectionLayoutListConfiguration in grouped appearance
Hello, I am using compositional layout to create list of objects. I have followed the official documentation and tried the provided sample here: https://developer.apple.com/documentation/uikit/views_and_controls/collection_views/implementing_modern_collection_views However, I have seen something weird with the ListAppearancesViewController. When I use the sample as provided (initial appearance is set to plain), if I change the appearance to grouped by clicking on the bar item, the height of the header is displayed according to the label: But if I change the initial appearance in the code to grouped or insetGrouped, the height is higher: Which one is the correct behavior? Having this space or not? But with this space, the accessory is not vertically aligned with the header, which is weird. How to solve that? Thanks for the help! Nghia
Topic: UI Frameworks SubTopic: UIKit
1
0
231
Jun ’24
"Responsible Caller" seems arbitrary in Instruments Zombie Allocation Summary View?
I'm wondering if anyone else is seeing this:it looks to me like the Responsible caller value in the allocation summary is misleading, and randomly dropping to stack frames. for example, right now i'm looking at a summary that has these three lines (among others):Retain -[Solution initWithContentsOfURL:] Retain -[Solution init] Release -[Solution init]seems line 2 and three match, right? think again. if you look at the full stack frames for each, you see this: 0 Fire -[Solution init] /Users/mh/Code/Fire/SharedProjectSystem/Solution.cs:0 1 Fire -[Solution initWithContentsOfURL:] /Users/mh/Code/Fire/SharedProjectSystem/Solution.cs:85 2 Fire +[Solution solutionWithContentsOfURL:] /Users/mh/Code/Fire/SharedProjectSystem/Solution.cs:664 3 Fire -[SolutionDocument readFromURL:] /Users/mh/Code/Fire/SharedCoreApp/SolutionDocument.cs:70 4 Fire -[SolutionDocument readFromURL:ofType:error:] /Users/mh/Code/Fire/SharedCoreApp/SolutionDocument.NSDocument.cs:78 5 AppKit -[NSDocument _initForURL:withContentsO
Replies
0
Boosts
0
Views
529
Activity
Apr ’17
macOS available window tab groups?
Howdy. I recently discussed the tab feature from within Google Chrome. I absolutely love this feature. This is a long shot, but is there any way to create similar tab groups with the available window icons on mac OS?
Replies
0
Boosts
0
Views
233
Activity
Apr ’21
How to handle multiple users purchasing a subscription from a single Apple ID, or group them based on subscription group?
We are implementing auto-renewable subscriptions on iOS. We face a problem where users can purchase multiple subscriptions on a single Apple ID linked to the device. We are having 3 subscription plans as Regular (Monthly), Regular (Yearly), and Special (Yearly). Now, we have decided that Regular plans will be configured in a separate subscription group and special plan on the other since we don't want the Regular users to know that there is a special plan that is less costly than theirs. (Through Manage Subscription of the device Settings) Scenario 1: If User A subscribes to the Special plan on his Apple Id, his subscription gets active. Now, if on the same Apple ID, user B logs in to the app and is a Regular user then he can purchase any of the Regular plans. But the issue is User A's receipt and User B's receipt cause problems sometime later since their receipts are created on the same Apple ID. We are not able to restrict User B to purchase from User A's device in this case, since the original_tra
Replies
0
Boosts
0
Views
773
Activity
Apr ’21
Group iMessage Apps are problematic
I get the distinct feeling, based on the WWDC presentations, that group iMessage apps are either incomplete or not really thought out. Add to this that there are no group conversations possible in the simulator. The group message part of the demo was just a couple of slides and he used the phrase we are recommending for the moment which leads me to believe that Apple probably has unfinished business here. I think that the idea of making MSSession the carrier of data and make each subsequent message create a stack of unprocessed responses so that when the user clicks on the bubble it sees each response and can process them one by one. What I'm wondering is, in the same section, they talk about privacy. So each device will get different identifiers for each user. If you are using the cloud, I don't see how you can then aggregate responses correctly. Take this scenario:I send an iMessage App (IMA) to two of my friends and it asks them to pick what they want for lunch.Friend A responds
Replies
5
Boosts
0
Views
1.1k
Activity
Jul ’16
Share Play / Group Acitivities GDPR
I know that Apple is very aware of privacy concerns. Do Share Play and Group Activities comply with GDPR's legal rules? What kind of servers (e.g. geography) are involved to manage the connection? Thanks Lars
Replies
1
Boosts
0
Views
822
Activity
Feb ’22
Reply to Unable to edit problematic keychain-access-groups setting of downloaded provisioningprofile for signing
Solution Summary: To build using EAS build, we need an Apple Distribution Certificate, but EAS's credentials tool creates an iOS Distribution Certificate. Therefor what is needed is to create the distribution cert on Apple Dev portal, download the .cer file from there, add it to your OSX keychain, then export to .p12 with a password. Then when using EAS build, you will choose: > eas build --profile production --platform ios --local ... ... Generate a new Apple Distribution Certificate? … no Path to P12 file: … /path/to/your.p12 P12 password: … *the password your exported to .p12 with* Would you like to reuse the original profile? … no Generate a new Apple Provisioning Profile? … yes During the build process, your OSX should prompt you for your OSX login chain pw (Your OSX admin pw, not the .p12 export password) multiple times. As for the keychain-access-groups entitlement, even though XCode complains as follows: Provisioning profile doesn't include the com.apple.developer.keychain-access-
Replies
Boosts
Views
Activity
Feb ’25
QuickLook Extension and App Groups on macOS
Hello, I am trying to use app groups to share preferences between an app and its QuickLook extension (both sandboxed), but I can't understand why it's not working. For testing, I created an empty macOS app project and added a QuickLook Extension, then on both the targets' entitlement files I added the app group domain in the form teamid.test. Last but not least, in the Info.plist file of the QL extension i added some UTIs to have the QL extension called when previewing. In the QL extension's PreviewViewController.swift file I try to save a value like this: func preparePreviewOfFile(at url: URL, completionHandler handler: @escaping (Error?) -> Void) { let defaults=UserDefaults(suiteName: teamid.***) defaults?.set(1, forKey: test) handler(nil) } If I try to run the app and preview a file though, I get this message in the Console: Couldn't write values for keys ( test ) in CFPrefsPlistSource<0x7fb63681cce0> (Domain: teamid.***, User: kCFPreferencesCurrentUser, ByHost: No, Container: (n
Replies
0
Boosts
0
Views
807
Activity
Nov ’21
Where did Keychain Access Groups entitlements go
In the 2020 WWDC changes to the Developer site, the section in Profiles for Keychain Access Groups went away. I understand that this entitlement is now rolled into App Groups, but I don't see my preexisting Access Group identifier listed on my page anymore. Where do I modify or remove the Access Group entitlement I've been using, or create new ones?
Replies
4
Boosts
0
Views
6.1k
Activity
Jul ’20
Something new in keychain-access-groups
All identifiers updated in summer 2020 has new value for keychain-access-groups - com.apple.token. What is its purpose? What can happen if this value will not be added to entitlements?
Replies
4
Boosts
0
Views
3.2k
Activity
Jul ’20
Reply to Should ModelActor be used to populate a view?
I decided to run this task on app launch to sync the clinical labs into the SwiftData store. This allows me to use Query macro in the views where it's needed and no need to combine lab results. Let me know if this is the right approach: import SwiftData import SwiftUI import OSLog @ModelActor actor HealthKitSyncManager { private let logger = Logger(subsystem: com.trtmanager, category: HealthKitSyncManager) func sync() async { do { // Get all Clinical labs let hkClinicalRecords = try await TRTHealthKitService.getHKClinicalRecords() guard !hkClinicalRecords.isEmpty else { return } // Get existing HealthKit IDs in one query let descriptor = FetchDescriptor( // predicate: #Predicate { $0.source == .clinicalRecord } ) let existing = try modelContext.fetch(descriptor) .compactMap { $0.fhirResourceId } let existingIDs = Set(existing) let missingRecords = hkClinicalRecords.filter { lab in guard let fhirResource = lab.fhirResource else { return false } return !existingIDs.contains(f
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to can't download
This worked for me. Thanks. I was going to talk to someone about it tomorrow at WWDC but now I get to focus on other labs. Thanks!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
BLE Connection Failure with iPad A16 and Silicon Labs Gecko SDK 3.x Devices
We're seeing a consistent issue where iPads with the A16 chip fail to connect to our BLE device, which uses a Silicon Labs chip running Gecko SDK 3.x. All other Apple devices — including older iPads and iPhones — connect without any problems. According to Silicon Labs, the issue stems from the iPad A16 sending an LL_CHANNEL_REPORTING_IND message (opcode 0x28) during connection establishment: Per Silicon Labs: Currently the iPad 16 will send a message for LL_CHANNEL_REPORTING_IND (opcode 0x28). This is a feature that is not supported in Gecko SDK 3.x. Shortly after, the BLE module responds with an 'Unknown Response' (opcode 0x07), indicating that it does not support opcode 0x28 After this exchange the iPad stops sending meaningful transactions to the BLE module and eventually closes the connection. The BLE Module is responding to this unknown request as specified in the BT Core Spec Volume 6 Part B. Unfortunately, the firmware on these BLE modules cannot be updated remotely, and we'v
Replies
2
Boosts
0
Views
369
Activity
Jul ’25
Can we add "app groups" to iOS loadable plugin
Hi,We can add app-group to Containig application and app-extension to share the data. But is it also possible to add app-group to iOS plugin's entitlements so that it can also have an access to shared container if needed?Thanks and regards,Sanjay
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
280
Activity
Jan ’16
Group Activities Entitlements on MacCatalyst
I am adding Group Activities integration with a MacCatalyst app. I have added the Group Activities entitlement in Xcode. I also checked the entitlements with : codesign --display --entitlements :- I can see the entitlement : com.apple.developer.group-session The feature work fine on iPadOS but when I run it on MacOS, the GroupActivitySharingController is not loading properly. I get the following error messages: Cannot run query EXQuery: extension point com.apple.groupactivities platforms: 6 with error: (null) Failed to lookup extension with query EXQuery: extension point com.apple.groupactivities platforms: 6 on <_GroupActivities_UIKit.PeoplePickerController: 0x600005020980> Failed to fetch config for hostViewController <_GroupActivities_UIKit.PeoplePickerController: 0x600005020980> Failed to build remote hostViewController for <_GroupActivities_UIKit.GroupActivitySharingController: 0x1417f1250> Failed to fetch extensionViewController Calling -viewDidAppear: directly on a v
Replies
0
Boosts
0
Views
769
Activity
Mar ’24
Header alignment with UICollectionLayoutListConfiguration in grouped appearance
Hello, I am using compositional layout to create list of objects. I have followed the official documentation and tried the provided sample here: https://developer.apple.com/documentation/uikit/views_and_controls/collection_views/implementing_modern_collection_views However, I have seen something weird with the ListAppearancesViewController. When I use the sample as provided (initial appearance is set to plain), if I change the appearance to grouped by clicking on the bar item, the height of the header is displayed according to the label: But if I change the initial appearance in the code to grouped or insetGrouped, the height is higher: Which one is the correct behavior? Having this space or not? But with this space, the accessory is not vertically aligned with the header, which is weird. How to solve that? Thanks for the help! Nghia
Topic: UI Frameworks SubTopic: UIKit
Replies
1
Boosts
0
Views
231
Activity
Jun ’24