Search results for

“A Summary of the WWDC25 Group Lab”

11,207 results found

Post

Replies

Boosts

Views

Activity

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
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
815
Nov ’21
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
415
Jul ’25
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 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
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
777
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
235
Jun ’24
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
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
815
Activity
Nov ’21
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
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
415
Activity
Jul ’25
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 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
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
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
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
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
777
Activity
Mar ’24
Factory Unlocked iPhone Group Messaging
I Own a Factory Unlocked iPhone 6S Plus running ios 9.3 on MetroPCS and group messaging is not enabled and all the apn settings i have tried nothing has work can someone help me and find a solutions thanks.
Replies
0
Boosts
0
Views
105
Activity
Mar ’16
iPadOS 15.2 group chat broke
Anyone else have issue where group chats are being split, only working that way on my devices running iIpados 15.2
Replies
4
Boosts
0
Views
647
Activity
Oct ’21
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
235
Activity
Jun ’24
Reply to SIP (System Integrity Protection)
Yes, I use this all the time on my lab machines that are locked with a firmware password. Using bless I can reboot them to netboot.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to A case against TN3135 WatchOS restrictions (NWPathMonitor)
Thanks for the details of your use case. We'll talk more about the options available to you in your lab appointment today.
Replies
Boosts
Views
Activity
Jun ’24