Search results for

“show when run”

115,100 results found

Post

Replies

Boosts

Views

Activity

Reply to SystemLanguageModel.Adapter leaks ~100MB of irrecoverable APFS disk space per call
To clarify, this isn't a memory leak, it's an issue with not de-duplicating or evicting copied model weights from a SIP-protected disk space. I'm also not sure the bug is CLI-specific. I definitely observed it with my CLI tool, Junco,, but I have another SwiftUI application where I'm observing the issue as well. Simply running the app from XCode copies the weights & metadata to the location above, and I've only been able to delete the accumulated ~104GB (645 model clones) through Recovery Mode.
1w
Reply to HID Device Access / Mode Switch
Is there any way at all to do this on macOS? I'm not sure exactly which APIs you're interacting with and how that translates to the specific failure you're seeing, so I'm going to outline what should work. Give it a try and then we can dig into the specifics of any issue you run into. Getting into the details: You should be using the IOUSBHost Framework, which is the modern framework for interacting with USB devices from user space. I'll assume you already know how to find your target in the IORegistry, but please let me know if you need guidance on that. You should be looking and connecting to the IOUSBHostDevice, NOT the https://developer.apple.com/documentation/iousbhost/iousbhostinterface?language=objc. That gives you full control over the accessory and removes all other drivers, which is what you want for a firmware updater. When you create your host object, you'll need to pass in the IOUSBHostObjectInitOptionsDeviceCapture option. You can also try IOUSBHostObjectInitOptionsDeviceSeize, but I th
Topic: App & System Services SubTopic: Drivers Tags:
1w
Reply to SceneKit shader compile and cache issues? :(
Your diagnosis is correct — this is Metal shader compilation and GPU resource setup. SceneKit compiles pipeline states and uploads textures and geometry buffers lazily the first time a particular combination of geometry, materials, and lighting reaches the GPU. SceneKit caches the compiled results to disk, which is why every subsequent launch is smooth and why installing over an existing copy doesn't trigger the problem. If you want to confirm this, you can profile a first-launch run in Instruments using the Metal System Trace template — you'll see pipeline state compilation happening on the GPU timeline right at the moments the frame hitches occur. But based on what you're describing (first install hitches, smooth after that, returns after delete/reinstall) this is almost certainly what's happening. In watchOS, the tools available for prewarming are limited. SCNRenderer (which offers offscreen rendering and snapshots) is not available in watchOS. What you do have are the prepare methods on the SCNSc
Topic: Graphics & Games SubTopic: SceneKit Tags:
1w
Reply to HCE not working in Testflight Builds
TestFlight distribution and testers have the same requirements as your end users who would be downloading your app from the App Store. This means the testers will have to be: physically be in the EEA logged on to their phones with an iCloud account based in the EEA As explained in the documentation HCE-based contactless NFC transactions for apps in the European Economic Area (EEA), if you have testers outside the EEA, you cannot use TestFlight builds. Testing requirements Apple has developed a solution which allows HCE Developers to develop and test HCE Payment Apps outside the EEA. The new solution allows development and testing on a device through known and well-used means such as Xcode and provisioning of profiles used for testing on devices within a developer’s organization. Developers will be able to have up to 100 test devices outside the EEA. To test HCE-based contactless transactions, you’ll need to test with an iPhone and NFC hardware. CardSession requires the presence of an NFC reader, which isn’t s
1w
Reply to SystemLanguageModel.Adapter leaks ~100MB of irrecoverable APFS disk space per call
Thanks for confirming this! A follow-up question: when you say specific to command line tools, what is the distinction exactly? My CLI (hunch) is a Swift executable compiled with swiftc, no app bundle, no NSApplication. Each invocation is a new process that loads the adapter, runs one inference, and exits. Is the difference that: App bundles (.app with NSApplication) store adapter caches in a different location that gets cleaned up on termination? Or is there a cleanup callback tied to the app lifecycle (applicationWillTerminate, etc.) that CLI tools never trigger? Would wrapping the same code in a minimal .app bundle avoid the issue?
1w
Reply to How to reset user preference for crypto token kit access
My main goal was to use Authentication Services but it requires the device to be managed via mobile device management. For non-managed devices, I was looking to create an extension that all apps on the device can talk to silently using CTK for tokens in the CTK host app's possession. In iOS, with the sandbox restrictions, as you pointed out, only apps hosting their extensions can talk to it via XPC. iOS26 introduced some APIs in extensionKit to add an interactive view for users. I was hoping, as a developer I can control the messaging in the consent prompt that shows up when an app tries to access tokens using CTK the first time. The best path would be to open up XPC communication across apps using extensionKit in iOS but that is Apple's decision to make :) Or remove the device management prequisite to use Single-sign on extension in Authentication Services.
Topic: Privacy & Security SubTopic: General Tags:
1w
In-App Event analytics not showing after 18 days
I added an Apple In-App Event for the App Store on March 31, and it has now been more than 18 days. However, I am still not seeing any analytics data for the event in App Store Connect. I wanted to check if this delay is normal or if I might be missing something. Has anyone else experienced this issue? Are there any specific requirements, settings, or reporting delays I should be aware of for In-App Event analytics? Any guidance would be appreciated. Thanks in advance!
1
0
71
1w
Reply to NSLocalizedDescription = \"Peer removed pairing information\";
What is it that triggers iOS to show my device as a paired device on the Bluetooth settings screen after it is paired? I have managed to make it appear once or twice and seems to depend on the advertising data and scan response. It looks like I must have the Complete Name in the advertising data (not the scan response) but there is some other switch as well. It is working sporadically for me at the moment. Could someone tell me what the heuristic is?
Topic: App & System Services SubTopic: Hardware Tags:
1w
Trying to load image & identifier from photo library with PhotosPicker
I'm updating an older Mac app written in Objective C and OpenGL to be a mutliplatform app in SwiftUI and Metal. The app loads images and creates kaleidoscope animations from them. It is a document-based application, and saves info about the kaleidoscope into the document. On macOS, it creates a security-scoped bookmark to remember the user's chosen image. On iOS, I use a PhotosPicker to have the user choose an image from their photo library to use. I would like to get the itemIdentifier from the image they choose and save that into my document so I can use it to fetch the image when the user reloads the kaleidoscope document in the future. However, the call to loadTransferable is returning nil for the itemIdentifier. Here is my iOS/iPadOS code: #if os(macOS) // Mac code #else PhotosPicker(Choose image, selection: $selectedItem, matching: .images) .onChange(of: selectedItem) { Task { if let newValue = selectedItem { scopeState.isHEIC = newValue.supportedContentTypes.contains(UTType.heic) let data = try? await
1
0
386
1w
I made the payment for Apple Developer Program, but my membership is still not activated
I made the payment for the Apple Developer Program, but my membership is still not activated. On the website, it still said: “Purchase your membership. To continue your enrollment, complete your purchase now.” Since it still showed that message, I thought there might be an error. I clicked “Complete your purchase” again, but then I canceled it because I had already paid before and did not want to be charged twice. Now my membership is still not active, and I am confused about whether my original payment is still being processed or whether I caused a problem by clicking and canceling the purchase flow. I emailed to apple support but still didn't get any answers. Idk what to do.
4
0
109
1w
Enrollment Pending — Case ID 102866900911 — No activation
Hi, I am following up on my enrollment issue. My account has been showing Pending for 7 days now. I have an open support case (Case ID: 102866900911) and Apple confirmed they received my documents and would follow up within two business days — but the account is still not activated. Details: Order ID: MT5786ZXVV Date: 11 April 2026 Document: 716118431350 Could any Apple staff please escalate and activate my account? Thank you, Alisher
0
0
29
1w
Bug: Channels erroneously populated when sending audio from an iPhone to a linux gadget audio device.
I have a device which is using linux gadget audio to receive audio input via USB, exposing 24 capture channels. This device works well with Mac, Windows, and Android phones. However, when sending audio from an iPhone (both USB-C iPhones and lightning iPhones using an official Apple lightning -> usb adaptor) I am seeing strange behaviour. Audio which is sent from the iPhone to any one of inputs 12, 19, 20, 21, or 22 appears in all of those channels, rather than only the channel to which audio is routed. I have confirmed on my linux device that these channels are not being erroneously populated by the software running on that device; the issue is visible in audio recorded directly from the gadget using arecord, meaning it is present in the audio being sent from the iPhone. I have confirmed that the gadget channel mask is correct for 24 channel audio (0xFFFFFF). As said above, audio routed to this device from any non-iPhone device (Mac, Windows, Android) works fine. The only sensible conclusion seems
0
0
246
1w
Reply to How to install and manage Network Extension in case of GUI-less application?
[quote='884845022, Pavel, /thread/823101?answerId=884845022#884845022, /profile/Pavel'] To avoid confusing users with unnecessary UI, this container app must run in the background without a Dock icon. [/quote] This is something I specifically recommend against. Your container app should have some sort of UI. Ideally that UI should allow the user to enable and disable your product (subject to appropriate authorisation). If you want something that does processing in the background without a UI, do that in: Your launchd daemon, if the work doesn’t require a user context Or your launchd agent, if it if does Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
1w
Reply to SystemLanguageModel.Adapter leaks ~100MB of irrecoverable APFS disk space per call
To clarify, this isn't a memory leak, it's an issue with not de-duplicating or evicting copied model weights from a SIP-protected disk space. I'm also not sure the bug is CLI-specific. I definitely observed it with my CLI tool, Junco,, but I have another SwiftUI application where I'm observing the issue as well. Simply running the app from XCode copies the weights & metadata to the location above, and I've only been able to delete the accumulated ~104GB (645 model clones) through Recovery Mode.
Replies
Boosts
Views
Activity
1w
Reply to HID Device Access / Mode Switch
Is there any way at all to do this on macOS? I'm not sure exactly which APIs you're interacting with and how that translates to the specific failure you're seeing, so I'm going to outline what should work. Give it a try and then we can dig into the specifics of any issue you run into. Getting into the details: You should be using the IOUSBHost Framework, which is the modern framework for interacting with USB devices from user space. I'll assume you already know how to find your target in the IORegistry, but please let me know if you need guidance on that. You should be looking and connecting to the IOUSBHostDevice, NOT the https://developer.apple.com/documentation/iousbhost/iousbhostinterface?language=objc. That gives you full control over the accessory and removes all other drivers, which is what you want for a firmware updater. When you create your host object, you'll need to pass in the IOUSBHostObjectInitOptionsDeviceCapture option. You can also try IOUSBHostObjectInitOptionsDeviceSeize, but I th
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
1w
Reply to SceneKit shader compile and cache issues? :(
Your diagnosis is correct — this is Metal shader compilation and GPU resource setup. SceneKit compiles pipeline states and uploads textures and geometry buffers lazily the first time a particular combination of geometry, materials, and lighting reaches the GPU. SceneKit caches the compiled results to disk, which is why every subsequent launch is smooth and why installing over an existing copy doesn't trigger the problem. If you want to confirm this, you can profile a first-launch run in Instruments using the Metal System Trace template — you'll see pipeline state compilation happening on the GPU timeline right at the moments the frame hitches occur. But based on what you're describing (first install hitches, smooth after that, returns after delete/reinstall) this is almost certainly what's happening. In watchOS, the tools available for prewarming are limited. SCNRenderer (which offers offscreen rendering and snapshots) is not available in watchOS. What you do have are the prepare methods on the SCNSc
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
1w
Reply to HCE not working in Testflight Builds
TestFlight distribution and testers have the same requirements as your end users who would be downloading your app from the App Store. This means the testers will have to be: physically be in the EEA logged on to their phones with an iCloud account based in the EEA As explained in the documentation HCE-based contactless NFC transactions for apps in the European Economic Area (EEA), if you have testers outside the EEA, you cannot use TestFlight builds. Testing requirements Apple has developed a solution which allows HCE Developers to develop and test HCE Payment Apps outside the EEA. The new solution allows development and testing on a device through known and well-used means such as Xcode and provisioning of profiles used for testing on devices within a developer’s organization. Developers will be able to have up to 100 test devices outside the EEA. To test HCE-based contactless transactions, you’ll need to test with an iPhone and NFC hardware. CardSession requires the presence of an NFC reader, which isn’t s
Replies
Boosts
Views
Activity
1w
Reply to SystemLanguageModel.Adapter leaks ~100MB of irrecoverable APFS disk space per call
Thanks for confirming this! A follow-up question: when you say specific to command line tools, what is the distinction exactly? My CLI (hunch) is a Swift executable compiled with swiftc, no app bundle, no NSApplication. Each invocation is a new process that loads the adapter, runs one inference, and exits. Is the difference that: App bundles (.app with NSApplication) store adapter caches in a different location that gets cleaned up on termination? Or is there a cleanup callback tied to the app lifecycle (applicationWillTerminate, etc.) that CLI tools never trigger? Would wrapping the same code in a minimal .app bundle avoid the issue?
Replies
Boosts
Views
Activity
1w
Reply to SystemLanguageModel.Adapter leaks ~100MB of irrecoverable APFS disk space per call
Thanks all for the feedback reports, those were super helpful tracking down the issue! We've identified this is a current bug specific to command line tools. So you will see this adapter memory leak from a CLI on macOS, but not if you load the adapter into a running Swift app.
Replies
Boosts
Views
Activity
1w
Reply to How to reset user preference for crypto token kit access
My main goal was to use Authentication Services but it requires the device to be managed via mobile device management. For non-managed devices, I was looking to create an extension that all apps on the device can talk to silently using CTK for tokens in the CTK host app's possession. In iOS, with the sandbox restrictions, as you pointed out, only apps hosting their extensions can talk to it via XPC. iOS26 introduced some APIs in extensionKit to add an interactive view for users. I was hoping, as a developer I can control the messaging in the consent prompt that shows up when an app tries to access tokens using CTK the first time. The best path would be to open up XPC communication across apps using extensionKit in iOS but that is Apple's decision to make :) Or remove the device management prequisite to use Single-sign on extension in Authentication Services.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
In-App Event analytics not showing after 18 days
I added an Apple In-App Event for the App Store on March 31, and it has now been more than 18 days. However, I am still not seeing any analytics data for the event in App Store Connect. I wanted to check if this delay is normal or if I might be missing something. Has anyone else experienced this issue? Are there any specific requirements, settings, or reporting delays I should be aware of for In-App Event analytics? Any guidance would be appreciated. Thanks in advance!
Replies
1
Boosts
0
Views
71
Activity
1w
Reply to NSLocalizedDescription = \"Peer removed pairing information\";
What is it that triggers iOS to show my device as a paired device on the Bluetooth settings screen after it is paired? I have managed to make it appear once or twice and seems to depend on the advertising data and scan response. It looks like I must have the Complete Name in the advertising data (not the scan response) but there is some other switch as well. It is working sporadically for me at the moment. Could someone tell me what the heuristic is?
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
1w
Reply to I made the payment for Apple Developer Program, but my membership is still not activated
I'm going through the same issue. I made the payment on April 12, showing on my credit card, and my account is still pending. It's asking to pay again. I created a ticket on April 13 and I haven't heard anything.
Replies
Boosts
Views
Activity
1w
Trying to load image & identifier from photo library with PhotosPicker
I'm updating an older Mac app written in Objective C and OpenGL to be a mutliplatform app in SwiftUI and Metal. The app loads images and creates kaleidoscope animations from them. It is a document-based application, and saves info about the kaleidoscope into the document. On macOS, it creates a security-scoped bookmark to remember the user's chosen image. On iOS, I use a PhotosPicker to have the user choose an image from their photo library to use. I would like to get the itemIdentifier from the image they choose and save that into my document so I can use it to fetch the image when the user reloads the kaleidoscope document in the future. However, the call to loadTransferable is returning nil for the itemIdentifier. Here is my iOS/iPadOS code: #if os(macOS) // Mac code #else PhotosPicker(Choose image, selection: $selectedItem, matching: .images) .onChange(of: selectedItem) { Task { if let newValue = selectedItem { scopeState.isHEIC = newValue.supportedContentTypes.contains(UTType.heic) let data = try? await
Replies
1
Boosts
0
Views
386
Activity
1w
I made the payment for Apple Developer Program, but my membership is still not activated
I made the payment for the Apple Developer Program, but my membership is still not activated. On the website, it still said: “Purchase your membership. To continue your enrollment, complete your purchase now.” Since it still showed that message, I thought there might be an error. I clicked “Complete your purchase” again, but then I canceled it because I had already paid before and did not want to be charged twice. Now my membership is still not active, and I am confused about whether my original payment is still being processed or whether I caused a problem by clicking and canceling the purchase flow. I emailed to apple support but still didn't get any answers. Idk what to do.
Replies
4
Boosts
0
Views
109
Activity
1w
Enrollment Pending — Case ID 102866900911 — No activation
Hi, I am following up on my enrollment issue. My account has been showing Pending for 7 days now. I have an open support case (Case ID: 102866900911) and Apple confirmed they received my documents and would follow up within two business days — but the account is still not activated. Details: Order ID: MT5786ZXVV Date: 11 April 2026 Document: 716118431350 Could any Apple staff please escalate and activate my account? Thank you, Alisher
Replies
0
Boosts
0
Views
29
Activity
1w
Bug: Channels erroneously populated when sending audio from an iPhone to a linux gadget audio device.
I have a device which is using linux gadget audio to receive audio input via USB, exposing 24 capture channels. This device works well with Mac, Windows, and Android phones. However, when sending audio from an iPhone (both USB-C iPhones and lightning iPhones using an official Apple lightning -> usb adaptor) I am seeing strange behaviour. Audio which is sent from the iPhone to any one of inputs 12, 19, 20, 21, or 22 appears in all of those channels, rather than only the channel to which audio is routed. I have confirmed on my linux device that these channels are not being erroneously populated by the software running on that device; the issue is visible in audio recorded directly from the gadget using arecord, meaning it is present in the audio being sent from the iPhone. I have confirmed that the gadget channel mask is correct for 24 channel audio (0xFFFFFF). As said above, audio routed to this device from any non-iPhone device (Mac, Windows, Android) works fine. The only sensible conclusion seems
Replies
0
Boosts
0
Views
246
Activity
1w
Reply to How to install and manage Network Extension in case of GUI-less application?
[quote='884845022, Pavel, /thread/823101?answerId=884845022#884845022, /profile/Pavel'] To avoid confusing users with unnecessary UI, this container app must run in the background without a Dock icon. [/quote] This is something I specifically recommend against. Your container app should have some sort of UI. Ideally that UI should allow the user to enable and disable your product (subject to appropriate authorisation). If you want something that does processing in the background without a UI, do that in: Your launchd daemon, if the work doesn’t require a user context Or your launchd agent, if it if does Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1w