Search results for

A Summary of the WWDC25 Group Lab

10,084 results found

Post

Replies

Boosts

Views

Activity

App Intent Parameter (AppEntity) not registering
I'm currently testing this on a physical device (12 Pro Max, iOS 26). Through shortcuts, I know for a fact that I am able to successfully trigger the perform code to do what's needed. In addition, if I just tell siri the phrase without my unit parameter, and it asks me which unit, I am able to, once again, successfully call my perform. The problem is any of my phrases that I include my unit, it either just opens my application, or says I can't understand Here is my sample code: My Entity: import Foundation import AppIntents struct Unit: Codable, Identifiable { let nickname: String let ipAddress: String let id: String } struct UnitEntity: AppEntity { static var typeDisplayRepresentation: TypeDisplayRepresentation { TypeDisplayRepresentation( name: LocalizedStringResource(Unit, table: AppIntents) ) } static let defaultQuery = UnitEntityQuery() // Unique Identifer var id: Unit.ID // @Property allows this data to be available to Shortcuts, Siri, Etc. @Property var name: String // By not including @Property, this
1
0
43
1w
AppIntentConfiguration WatchOS & iOS inconsistent
I'm having problems with my released app with iOS & WatchOS 26 support. I've added AppIntentConfiguration support in the WatchOS app such that users can configure the complication. My complications also support multiple families and so I have slightly different configuration options available if its in the .accessoryRectangular slot or the .accessoryCircular one. This works fine on Apple Watch when editing the Watch face. Here you can then select the configuration options fine and they are correct for the different variants. However on iOS when configuring in the Apple Watch app on iPhone, the different complication size is ignored and the same configuration options are offered meaning they are wrong for one of them. I created a sample project, here is the app intent code: struct TestWidgetConfigurationIntent: AppIntent, WidgetConfigurationIntent { static var title: LocalizedStringResource = New Widgets with Configuration static var description = IntentDescription(Lots of stuff.) static var isDiscoverable
1
0
103
1w
Reply to Multiple-frames BlendShape (failed) Animation in Reality Composer Pro
Hi @alfstg, Is the idea here that you'll write the results of this simulation to a USDZ file then load that into your app on the AVP or are you planning on doing a real time rendering of this simulation? I'm working on getting more info on the USDZ to RCP path you ask about. In the mean time though I wonder if you could use your existing code to convert your surface vtks data into a LowLevelMesh and a group of updates to the vertices (from he deformations on the nodes) played out over time. That won't be as convenient as making a USDZ from the data but might provide more flexibility in your rendering.
1w
Reply to SSO Extension Fails XPC Connection to System Daemon (mach-lookup exception used)
My general advice on this front is to avoid temporary exception entitlements where you can. This is critical for App Store apps, but generally a good idea for products that you directly distribute using Developer ID signing. In this case there’s a standard way for sandboxed programs to use XPC without needing temporary exception entitlements, namely an app group. If you set up an app group, grant your app and your appex access to that group, and then have your daemon publish its named XPC endpoint ‘within’ that group, the sandboxed processes should be able to access that service without the need for a temporary exception entitlement. See App Groups Entitlement for info on how that works. Well, the app certainly will be able to. The situation with the appex is more nuanced, because appexen run in a custom sandbox that doesn’t always align with the standard App Sandbox used by apps. Which is probably the reason why your temporary exception entitlement is failing. I t
1w
Can I save data to an App Group container from a ILClassificationRequest classifier?
Title's basically the whole question. I'm writing an SMS/Call Reporting extension (ILClassificationUIExtensionViewController). My goal is to keep everything on device and not use the built-in SMS/network reporting. To that end, I'm trying to write to a file in the App Group container from the classificationResponse handler. I'm getting Error 513: You don’t have permission to save the file “classification_log.txt” in the [app group container folder]. I haven't been able to find much in the documentation on whether this behavior is enforced in classificationResponse handlers. Apple's barebones page on SMS and Call Spam Reporting[1] says the system always deletes your extension’s container after your extension terminates, but that doesn't answer whether you can write to an App Group container. I haven't been able to find that answer elsewhere. ChatGPT and Gemini are both very sure it can be done. Any thoughts? [1] https://developer.apple.com/documentation/identitylookup/sms-and-call-sp
5
0
318
1w
Adding a custom widget to the Capture group in Control Center
I noticed that with iOS 18, when adding a widget to the Control Center, there is now some grouping system. I'm interested in the Capture group, which contains native widgets from Apple as well as third party apps like Instagram and Blackmagic cam, widgets in this group open the camera. My widget also opens the camera in my app, how can I add it to this group?
2
0
309
1w
Reply to iTMSTransporter 4.1: --assetDescription fails with “No value present”
We are also impacted by this. This appears to be some kind of server-side regression because Apple is now rejecting assetFile / assetDescription pairs that previously uploaded successfully. Using iTMSTransporter 4.0.0.4 on Linux an assetFile / assetDescription pair uploaded successfully on Sept. 25th. As of Sept. 30th that same assetFile / assetDescription is now being rejected with: [2025-10-01 21:43:07 UTC] DEBUG: Setting System property: DataCenters = contentdelivery02.itunes.apple.com,contentdelivery01.itunes.apple.com [2025-10-01 21:43:07 UTC] DEBUG: Setting System property: DataCenters.host = contentdelivery02.itunes.apple.com [2025-10-01 21:43:07 UTC] DEBUG: Setting System property: DataCenters.setBy = Defaults.properties [2025-10-01 21:43:08 UTC] INFO: Configuring logging... [2025-10-01 21:43:08 UTC] INFO: Logging level set to eXtreme [2025-10-01 21:43:10 UTC] DEBUG: SMART-CLIENT: initializing data center locking ops: [authenticateForSession, validateAssets] [2025-10-01 21:43:10 UTC] DEBUG: SMA
1w
Crash in libquic.dylib when app is backgrounded and issues an HTTP/3 request on iOS 26
Title / Summary Crash in libquic.dylib when app is backgrounded and issues an HTTP/3 request Description On iOS 26, the app crashes inside libquic.dylib while performing a network request using HTTP/3 (QUIC) after the app has moved to the background. The crash happens within low-level QUIC / libquic internals. Reproduction Steps Launch the app, perform normal operations. Background the app (press home / switch away). While in background, trigger a network request that uses HTTP/3 / QUIC. Observe that the app crashes (stack trace pointing into libquic.dylib). Expected Behavior The HTTP/3 request in background should either be handled gracefully (fail or complete) without causing a crash; the app must not be terminated due to internal libquic failures. Actual Behavior The app crashes with signals/exceptions coming from libquic.dylib (in the QUIC / packet building / encryption / key state logic) when a HTTP/3 request is made in background. Environment / Device Information • OS: iOS 26 • Device: iPhone 1
3
0
111
2w
iOS 26 SwiftData crash does not happen in iOS 16
I have a simple app that makes an HTTPS call to gather some JSON which I then parse and add to my SwiftData database. The app then uses a simple @Query in a view to get the data into a list. on iOS 16 this works fine. No problems. But the same code on iOS 26 (targeting iOS 18.5) crashes after about 15 seconds of idle time after the list is populated. The error message is: Could not cast value of type '__NSCFNumber' (0x1f31ee568) to 'NSString' (0x1f31ec718). and occurs when trying to access ANY property of the list. I have a stripped down version of the app that shows the crash available. To replicate the issue: open the project in Xcode 26 target any iOS 26 device or simulator compile and run the project. after the list is displayed, wait about 15 seconds and the app crashes. It is also of note that if you try to run the app again, it will crash immediately, unless you delete the app from the device. Any help on this would be appreciated. Feedback number FB20295815 includes .zip file Below is the basic code (
4
0
162
2w
Reply to Can I save data to an App Group container from a ILClassificationRequest classifier?
I haven't been able to find much in the documentation on whether this behavior is enforced in classificationResponse handlers. Apple's barebones page on SMS and Call Spam Reporting[1] says the system always deletes your extension’s container after your extension terminates, but that doesn't answer whether you can write to an App Group container. No, you cannot. This could have been more directly stated, but this is basically implementing one of the strongest possible restrictions* around your extension. For comparison, the filter data provider extension, which can examine the contents of all network traffic, is allowed to write to its data container but cannot write ANYWHERE else on the system (nor can its container be read). ILClassificationUIExtensionViewController takes that level of protection one step further and doesn't even preserve your app’s own container. *We could have simply blocked writing, but I suspect container writing was allowed to provide a bit more implementation flexibility. For
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to Building macOS apps with Xcode 26 on macOS 26 VM
[quote='860281022, RickMaddy, /thread/787500?answerId=860281022#860281022, /profile/RickMaddy'] where does this all stand? [/quote] For a summary of the current state of the issues being discussed in this thread, see my 27 Aug 2025 reply. However, your questions extend beyond that, so let’s dig in. [quote='860281022, RickMaddy, /thread/787500?answerId=860281022#860281022, /profile/RickMaddy'] is there any viable way for a solo developer with one Mac to develop and test a macOS app that runs on more than one version of macOS? [/quote] Yes. As marco.masser suggested, you can boot your Mac into older versions of macOS and test there. I want to stress that, while VMs are super useful, they are not a substitute for testing on real hardware [1]. VMs have limits: Some are bugs, as we’ve been discussing on this thread. Some of them are absent features. Of these, the lack of TestFlight support is the most critical. I’ll come back to that below. Some of them are just fundamental to VMs. For example, if you’re
2w
StoreKit Configuration Not Syncing to Xcode
Hello! I am attempting to add Subscriptions to an App that Is already published on the App Store. I cannot get Xcode to actually sync what is in my App Store Connect. When adding the Storekit configuration file, I go through the automatic linking process and select the proper bundleID. The configuration file says 'Synced @ [CurrentTime]' however there are no subscriptions listed in there. I have attempted deleting the file several times, creating a new subscription group. With no success. Do I need to publish the subscriptions without the features first? Upon attempting to write the supporting code that will enable these features within the app, I cannot get Xcode to identify that I have these subscriptions. I have also tried pushing these to TestFlight, still with no success. Thank you.
13
0
1.4k
2w
Reply to How To Position Controls With SwiftUI
After a bunch of more digging around, I am finally getting a little traction on how to create a SwiftUI interface. And I am posting this here in hopes of helping someone else in my position. struct MyCustomView: View { @State private var volume: Double = 0 var body: some View { Group { HStack { Text(oo) .padding(2) .border(Color.black) Button(Stop) { } Button(Play) { } Button(Jump) { } } .padding(.top, 10) VStack { Slider(value: $volume, in: -10...100) .offset(x: 13,y: 0) .frame(width: 150, height: 40) } } .offset(x: -150, y: 0) } } I did a screenshot of a portion of the original music player controls and the same thing using SwiftUI. Now there is the basis for improving the SwiftUI code to better match that of the original screen. I hope this helps someone else.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
Reply to Mac OS X App for collecting linear displacement of a sample
I've often used serial-to-USB converters connected to a Mac, and not had reliability problems with them. I like to use the Silabs CP2104. Silicon Labs have drivers for these for various platforms. Your code need to know the /dev name of the serial device, which you can derive by inspection in your case (just plug it in, install the driver, list /dev). To get things going, you can use a terminal emulator like CoolTerm. The Modbus RTU protocol is well described in the documentation you linked. If I were you, I'd make a command line tool written in Python which reads one displacement value from the voltmeter. I'd utilize that tool into my app's bundle and call it from there. Since I don't use Python very often and the problem is simple, I'd ask an LLM to write the program for me. you said although the instrument is displaying 0.000 volts, the data collected changes at each message I send to the instrument, proving me that Modbus RTU set up is not working. but what does the data you collected actually re
Topic: App & System Services SubTopic: Hardware Tags:
2w