Search results for

A Summary of the WWDC25 Group Lab

10,097 results found

Post

Replies

Boosts

Views

Activity

Reply to Cannot get drop action to trigger (Xcode 26 beta 3)
It's not shown in the repro, but I need to do additional things on drop than just reorder the array of items. In the real version, users can drop items onto other items and the items are merged. The frustrating part is that the WWDC25 demo and examples only show how to use the new .draggable(containerItemID:) and .dragContainer(for:) modifiers to drag items to the trash. So there's no demonstration of a drop target working with the new container-based modifiers...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’25
Reply to es_mute_path() vs. deprecated es_mute_path_literal() - incompatibility and wrong documentation
However, after this change, I started receiving tons of ES event messages, for AUTH_OPEN and AUTH_CREATE and many others, from processes/executables I explicitly and successfully muted! I cannot explain what happened, but I don't think it was the API change from es_mute_path_literal to es_mute_path. In terms of API behavior, these two calls: 1) es_mute_path_literal(esClient, path); 2) es_mute_path(esClient, path, ES_MUTE_PATH_TYPE_TARGET_LITERAL); ...have EXACTLY the same behavior. I mean that quite literally. I've looked at our code and both of these two functions call into EXACTLY the same internal function and the ONLY difference between their implementations is that es_mute_path_literal hard codes the value ES_MUTE_PATH_TYPE_TARGET_LITERAL while es_mute_path passes in whatever you passed into it. Similarly: But the ES headers say differently!!! First, as a general comment, the EndpointSecurity headers should be considered the canonical documentation for this API. The EndpointSecurity team puts a great dea
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
Reply to GestureComponent does not support DragGesture
Just jumping in to confirm the issue that @eurobob reported. @Vision Pro Engineer suggested adding a minimalDistance, which works for me. There is something else that could be causing issues. As we know, an Entity can only have one instance of a component type assigned at a time. Add a GestureComponent with Gesture B will overwrite a GestureComponent with Gesture A. I don't see a clear way to add more than one Gesture to a GestureComponent. The docs for this one are essentially, so no help there. Is it possible to use this component with more than one gesture? struct Lab: View { var body: some View { RealityView { content in // Load an entity and set it up for input let subject = ModelEntity( mesh: .generateBox(size: 0.2, cornerRadius: 0.01), materials: [SimpleMaterial(color: .stepGreen, isMetallic: false)] ) subject.name = Subject subject.components.set(InputTargetComponent()) subject.components.set(HoverEffectComponent()) subject.components .set(CollisionComponent(shapes: [.generateBox(width: 0.2,
Topic: Graphics & Games SubTopic: RealityKit Tags:
Jul ’25
Reply to how to show spatial photo on my Application
Hello! There's new API in RealityKit in visionOS 26 to generate and present spatial scenes in your own app. For more information, check out the new ImagePresentationComponent and Spatial3DImage APIs. The Presenting images in RealityKit sample code project is a great place to get started with these APIs, and the What's new in RealityKit video from WWDC25 has a section showing how to use ImagePresentationComponent for spatial scenes.
Topic: Spatial Computing SubTopic: General Tags:
Jul ’25
Reply to Push Notifications
There could be many reasons a push is not received. There could be network problems reaching APNs (even if they have connectivity otherwise), they may have inadvertently turned off notifications for your app, or are sending them to the daily summaries instead, and so on. Also, how are you determining that the notification is not received? Is it user anecdote, or do you have a mechanism that is reporting notifications being received? What is that mechanism? If you can share the apns-id of a push notification that is reportedly not received, we can check what may have happened to it. Argun Tekant /  DTS Engineer / Core Technologies
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
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
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
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
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
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
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
244
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