Search results for

A Summary of the WWDC25 Group Lab

10,098 results found

Post

Replies

Boosts

Views

Activity

Reply to App Groups Entitlement Mismatch Between Provisioning Profile and Xcode Requirements for iOS App Extension
Most folks who run into weird app group problems do so on the Mac, because app groups on the Mac are weird. See App Groups: macOS vs iOS: Working Towards Harmony. App groups on iOS are straightforward. There’s a single style (group.xyz) with a single entitlement (com.apple.security.application-groups) whose values must be authorised by a provisioning profile. It looks like you’re trying to use the com.apple.developer.app-groups entitlement. That’s just wrong, and your use of it explains the specific problem you’re hitting. I suspect you’ve been manually editing (or letting an LLM edit) you’re .entitlements file. If you use Xcode’s Signing & Capabilities editor to set this up in both your app and appex, it’ll do the right thing. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Jul ’25
Is it possible to programmatically set macOS notification preferences for an app in Swift?
Hi, I’m working on a Safari extension for macOS, and I’d like the app to use specific system notification settings right after installation. I’m wondering if there’s a way in Swift to programmatically configure the default notification preferences (as seen in System Settings > Notifications > [my app]). Here are the desired settings: Only Desktop – without “Notification Center” or “Lock Screen” Alert Style: Temporary Badge App Icon: Enabled Play Sound for Notifications: Disabled Show Previews: When Unlocked Notification Grouping: Off (I don’t want them to accumulate in Notification Center) Here is the code I’m currently using to display a basic notification: private func handleNotificationRequest(_ message: [String: Any]) { guard let title = message[title] as? String, let body = message[body] as? String else { return } UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { granted, error in if granted { self.showNotification(title: title, body: body) } } }
1
0
414
Jul ’25
SMAppService Error 108 'Unable to read plist' on macOS 15 - Comprehensive Analysis & Test Case
SMAppService Error 108 Unable to read plist on macOS 15 Sequoia - Comprehensive Test Case Summary We have a fully notarized SMAppService implementation that consistently fails with Error 108 Unable to read plist on macOS 15 Sequoia, despite meeting all documented requirements. After systematic testing including AI-assisted analysis, we've eliminated all common causes and created a comprehensive test case. Error: SMAppServiceErrorDomain Code=108 Unable to read plist: com.keypath.helperpoc.helper 📋 Complete Repository: https://github.com/malpern/privileged_helper_help What We've Systematically Verified ✅ Perfect bundle structure: Helper at Contents/MacOS/, plist at Contents/Library/LaunchDaemons/ Correct SMAuthorizedClients: Embedded in helper binary via CREATE_INFOPLIST_SECTION_IN_BINARY=YES Aligned identifiers: Main app, helper, and plist all use consistent naming Production signing: Developer ID certificates with full Apple notarization and stapling BundleProgram paths: Tested both Contents/MacOS/h
2
0
248
Jul ’25
Reply to DriverKit issue with TestFlight
Thanks for the response. No, but iPadOS apps should not include com.apple.developer.driverkit.userclient-access. Note that your construction of that entitlement is also invalid (it's a list of bundle IDs and requires approval to use), We realized this was for MacOS only and since our app is for iOS, we plan to remove this. The actual bundleId was approved and we just use a censored bundle ID here Assuming the contents you've posted are accurate, then this mismatch is the problem: Those dictionaries must match in order for your DEXT to load. Yes, we also noticed the missing idVendor in our driver entitlement and updated it to match the provisioning profile. However, the issue still persists—our DriverKit is realized but does not start in the TestFlight build. Local Build (works): After enabling the driver and connecting the hardware, the system logs show the driver is both realized and started successfully. TestFlight Build (broken): On the same hardware and sequence, the system only logs the realization of th
Topic: App & System Services SubTopic: Drivers Tags:
Jul ’25
Reply to A Summary of the WWDC25 Group Lab - Apple Intelligence
(Continued) Can Vision Intelligence in Apple Intelligence be used to analyze a live camera feed and detect the dimensions of a box in real time? Is this possible using the new FoundationModels API, or would ARKit / RoomPlan be required? FoundationModels API is not multimodal and provides access to Apple’s on device large language model which is unrelated to machine learning models you’d use for bounding box detection. The Visual Intelligence framework does not support this use case as it is more focused on Visual Search and classification. How powerful is the apple intelligence on device model in terms of model size, architecture, and capabilities like reasoning, generalization, and zero-shot performance. It’s a large language model with 3 billion parameters, each quantized to 2 bits so good for summarization, extraction, classification, and many more use cases. It’s not designed for world knowledge or advanced reasoning. Knowing App Intents is the core element to integrate our apps with the system via Apple
Jul ’25
A Summary of the WWDC25 Group Lab - Apple Intelligence
At WWDC25 we launched a new type of Lab event for the developer community - Group Labs. A Group Lab is a panel Q&A designed for a large audience of developers. Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the WWDC25 Group Lab for Apple Intelligence. Can I integrate writing tools in my own text editor? UITextView, NSTextView, and SwiftUI TextEditor automatically get Writing Tools on devices that support Apple Intelligence. For custom text editors, check out Enhancing your custom text engine with Writing Tools. Given that Foundation Models are on-device, how will Apple update the models over time? And how should we test our app against the model updates? Model updates are in sync with OS updates. As for testing with updated models, watch our WWDC session about prompt engineering and safety, and read
2
0
245
Jul ’25
Reply to No "Unregistered" Error Returned for Background Notifications
The Unregistered (410) status is sent back on a best-effort basis, and on a fuzzy logic that may delay the status update randomly. Also, for a token to go into the Unregistered state, the device has to receive a push after the token is no longer valid on the device (either the app has been removed, or unregisterForRemoteNotifications() is called). One reason you are not seeing any (or as many) Unregistered status for background notifications could be that they are heavily throttled, and it could be that they are dropped before the point the status would be updated. In summary, Unregistered should be working for background notifications as well, but the reason you are not seeing could be due to how they are handled, and not necessarily due to an issue on your side. Argun Tekant /  DTS Engineer / Core Technologies
Jul ’25
UIVisualEffectView using UIGlassEffect does not follow layer.cornerRadius values
Starting on iOS 26 Beta 3, any UIVisualEffectView using a UIGlassEffect will have a default corner radius that cannot be modified by using UIVisualEffectView's layer.cornerRadius. This was working on Beta 1 and Beta 2. On WWDC25 Build a UIKit app with the new design, a UIVisualEffectView property called cornerConfiguration is used as example for changing the effect's corner radius, but this property does not seem to be available on any of the beta versions. Is there any other way to update the UIGlassEffect corner radius on UIKit?
Topic: UI Frameworks SubTopic: UIKit Tags:
3
0
198
Jul ’25
Reply to Codesigning in Europe still doesn't work with IPv6
[quote='848428022, intown, /thread/792209?answerId=848428022#848428022, /profile/intown'] Is there anyway I can get some assistance. [/quote] It’s hard to say without knowing more about the problem you’re experiencing. If this is a technical problem, then I recommend that you open a new thread here on the forums with the details [1]. Please pay careful attention to the topic, subtopic, and tags you choose, because many of us use that info to find relevant questions. For more info on how to use the forums effectively, see Quinn’s Top Ten DevForums Tips. OTOH, if this is a non-technical problem then the Apple Developer Forums might not be the right option. In that case, post a short summary of the issue here and I’ll see if I can offer a path forward. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Unless the problem happens to be about codesigning timestamps on IPv6 networks in Europe, but that seems unlikely. But, hey, if it doe
Topic: Code Signing SubTopic: General Tags:
Jul ’25
App Groups Entitlement Mismatch Between Provisioning Profile and Xcode Requirements for iOS App Extension
Hello Apple Developer Community, I'm experiencing a persistent issue with App Groups configuration for an iOS app extension that I can't resolve despite trying multiple approaches. I hope someone can help identify what I'm missing. Problem Description I'm getting this error when trying to build my iOS App Extension: Provisioning profile iOS Team Provisioning Profile: com.idlrapp.Spleeft.SpleeftDataSaver doesn't include the com.apple.developer.app-groups entitlement. My Setup Main App Bundle ID: com.idlrapp.Spleeft Extension Bundle ID: com.idlrapp.Spleeft.SpleeftDataSaver App Group ID: group.com.idlrapp.spleeft.shared Extension Type: Action Extension (Share Sheet) What I've Verified App Group Creation ✅ Created App Group group.com.idlrapp.spleeft.shared in Apple Developer Portal ✅ App Group shows as Active in the portal App ID Configuration ✅ Both App IDs (com.idlrapp.Spleeft and com.idlrapp.Spleeft.SpleeftDataSaver) have App Groups capability enab
1
0
270
Jul ’25
App Groups Entitlement Mismatch Between Provisioning Profile and Xcode Requirements for iOS App Extension
Hello Apple Developer Community, I'm experiencing a persistent issue with App Groups configuration for an iOS app extension that I can't resolve despite trying multiple approaches. I hope someone can help identify what I'm missing. Problem Description I'm getting this error when trying to build my iOS App Extension: Provisioning profile iOS Team Provisioning Profile: com.idlrapp.Spleeft.SpleeftDataSaver doesn't include the com.apple.developer.app-groups entitlement. My Setup Main App Bundle ID: com.idlrapp.Spleeft Extension Bundle ID: com.idlrapp.Spleeft.SpleeftDataSaver App Group ID: group.com.idlrapp.spleeft.shared Extension Type: Action Extension (Share Sheet) What I've Verified App Group Creation ✅ Created App Group group.com.idlrapp.spleeft.shared in Apple Developer Portal ✅ App Group shows as Active in the portal App ID Configuration ✅ Both App IDs (com.idlrapp.Spleeft and com.idlrapp.Spleeft.SpleeftDataSaver) have App Groups capability enab
2
0
204
Jul ’25
Clarification on Using Secure UITextField to Prevent Screen Capture
Hello Developer Forums Team, I’ve seen that some banking apps prevent screenshots on certain sensitive screens. I’m working on a similar feature in my SDK and want to confirm if my implementation complies with App Store guidelines. Since there’s no public API to block screenshots, I’m using a workaround based on the secure rendering behavior of UITextField (isSecureTextEntry = true). I embed my custom content (e.g., a UITableView) inside the internal secure container of a UITextField, which results in blank content being captured during screenshots—similar to what some banking apps do. Approach Summary I create a UITextField I detect its internal secure container by matching UIKit internal class names as strings I embed my real UI content into that container I do not use or call any private APIs, just match view class names via strings. ScreenshotPreventingView.swift final class ScreenshotPreventingView: UIView { private let textField = UITextField() private let recognizer = HiddenContainerRecognizer
1
0
127
Jul ’25
Migrating App ID prefix to Team ID
My existing iOS app has a legacy App ID prefix which does not match my Team ID. I am planning on migrating it to my Team ID. I am aware of the potential issues with keychain access groups, however I wanted to double check that there are no issues related to Sign in with Apple. My app is currently the Primary App ID in the Sign in with Apple settings. The full App ID is listed there, including the prefix. Can someone from the relevant team at Apple confirm that changing the App ID prefix to Team ID has no effect related to Sign in with Apple?
0
0
137
Jul ’25