Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,376 results found

Post

Replies

Boosts

Views

Activity

AVCaptureSession runtime error -11800 / 'what' on startRunning() with audio input — what's holding the HAL?
AVCaptureSession.startRunning() triggers AVCaptureSessionRuntimeErrorNotification with AVError.unknown (-11800), underlying OSStatus 2003329396 → fourCC 'what', every cold launch, but only when an audio AVCaptureDeviceInput is attached. Removing only the audio input makes the error disappear. Same code in a fresh project records audio fine — bug only appears in this app's binary. AVAudioApplication.shared.recordPermission == .granted. Info.plist has NSMicrophoneUsageDescription. No interruption notifications fire. Test device: iPhone 16 Pro, iOS 26.4.2. iOS deployment target 17.1. Minimal reproducer import AVFoundation let session = AVCaptureSession() session.beginConfiguration() let camera = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .back)! session.addInput(try AVCaptureDeviceInput(device: camera)) // Removing ONLY this line makes the error disappear: let mic = AVCaptureDevice.default(for: .audio)! session.addInput(try AVCaptureDeviceInput(device: mic)) session.addOutpu
1
0
382
2w
Reply to Xcode 26.4: Regressions in Intelligence features
Hello everyone, I’m looking for some guidance and, if possible, assistance with an issue I’m experiencing. I’ve been using Codex with Xcode since the beginning of my project, and I used to be able to use both the Codex agent and ChatGPT through my ChatGPT login. I have a paid Pro account. However, two days ago, my Codex agent was signed out, and I lost access to Intelligence features and the ability to send prompts. I can no longer sign in to my Codex agent in Xcode—the only option available now seems to be using an API key. I tried that workaround for a day, but I quickly hit my API usage limit. Has anyone else run into this issue? If so, how did you resolve it? I’ve already tried deleting Xcode and all related files and logs, then reinstalling, but that didn’t fix the problem. Thank you.
2w
Xcode hangs with iig
Xcode iig hangs. In the best case, the project will be in error - and Xcode cannot recover. To recover restarting Xcode may not help (force quit Xcode) - most of the time a restart of the Mac is required. Its speaks to software quality when Clean build folder is your best friend. Xcode iig hangs, and while its only using two of my MacStudio's 10 cores - the whole mac hangs (Activity monitor confirms, if it opens at all). If you are not quick enough to reboot the Mac will hang and require power down using power button. Don't use Finder to reboot because Finder hangs too and will not reboot - use terminal (sudo shutdown -r now). see screen dump below: super useful! After restart, Xode may refuse to launch. This is something I notice with my Java apps (jar launcher): If the app ends with an exit code (1, not 0 like normally) - it will not launch until I restart the Mac, in the meantime must launch the app from Eclipse. After restart, the crash reporter comes up - asking me to type a reason. Whe
0
0
50
2w
Severe App Review delay since January, app still broken and TestFlight also blocked
Hello, I am posting regarding my app, Apple ID 6755677576. My app was rejected on April 2, and I resubmitted it. After several weeks without any progress, I had to cancel the submission because the delay had become highly abnormal. I resubmitted the app again on April 23, and it is still stuck in “Waiting for Review.” This situation is critical because the live version of the app has contained a severe blocking bug since January 23. Due to these unusually long App Review delays, I have been unable to release the fix, and users continue to leave negative reviews because the app remains broken. In addition, for months, TestFlight builds have also remained pending review for unusually long periods. This means I no longer have any practical way to provide affected users with a corrected version while waiting for App Review, even though they are actively complaining about the blocking bug in the live version. I would like to know whether other developers are currently experiencing similarly unusual delays
1
0
74
2w
Reply to Could not launch app on watchOS downloaded from TestFlight
We are seeing what looks like the same issue with our TestFlight watchOS app. In our case the watch app is paired with an iOS app and was installed from TestFlight. The watch app launched successfully earlier on the same device and same installed build, including from a complication, and successfully recorded/transferred data. Later, tapping the app icon or complication did nothing. We reproduced the failure from the Mac with devicectl device process launch and got: The application failed to launch. (com.apple.dt.CoreDeviceError error 10002) BundleIdentifier = FBSOpenApplicationServiceErrorDomain error 1: RequestDenied FBSOpenApplicationErrorDomain error 3: Security Unable to launch because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. A few details that may be useful: The same TestFlight build had launched successfully earlier on the same watch. The app was still listed as installed by CoreDevice. The companion dev/watch build c
Topic: App & System Services SubTopic: General Tags:
2w
exportArchive Error "Downloading App Information" — repeated failures despite subscriptions Ready to Submit and attached to version
I'm hitting a persistent build/upload failure when trying to submit my first app for review. Hoping someone has seen this specific issue. Setup App: ShiftSelf (an AI-guided self-coaching app) Bundle ID: app.shiftself.mobile Apple Developer account: active, paid, fully verified (Switzerland) App Store Connect: app created, Version 1.0 in Prepare for Submission Build pipeline: Expo-based (using a hosted Expo build service for the IPA upload) The error Every upload attempt fails with: exportArchive Error: Downloading App Information This has now occurred 14 times over the past 5 days, with no configuration changes between attempts. What is already configured correctly Two auto-renewable subscriptions (Monthly $9.99, Annual $59.99) — both in Ready to Submit state Subscription Group with English localization (ShiftSelf Pro) created Both subscriptions attached to Version 1.0 under In-App Purchases and Subscriptions Privacy Policy URL, Terms URL, and Account Deletion URL all live and reachable DSA verified,
0
0
91
2w
Reply to Environment Variables Blocked by OS Tahoe 26.4.1
You'll have to provide a whole lot more background here. What are you coding in Perl? An app? How is Perl related to it? I'm unaware of any environment variables being blocked. If you're trying to integrate something like Perl into an app, you aren't going to be able to use basic techniques like you would in a bash or zsh shell. There is more than one way to do it, but it depends on detailed answers to those questions above.
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to Sometimes my apps crash on launch at _libsecinit_appsandbox.cold.6
[quote='887338022, Nickkk, /thread/825481?answerId=887338022#887338022, /profile/Nickkk'] should I then extract the sysdiagnose and look in the system_logs.logarchive file? [/quote] Yes. Alternatively, if this happens on a Mac you control, you can generate a log snapshot like so: % sude log collect [quote='887338022, Nickkk, /thread/825481?answerId=887338022#887338022, /profile/Nickkk'] In the sysdiagnose I uploaded to Feedback Assistant I can only see the last 5 minutes, is that correct? [/quote] If you open the log in Console, it defaults to showing the last 5 minutes. The Showing popup between the two panes lets you control that filter. See the screenshot in this post. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to Battery passthrough for virtual machines on Apple Silicon?
So I’m asking by a perspective as a consumer level of using VM apps built by other developers. Thanks for that clarification. The Apple Developer Forums are primarily focused on helping developer with code-level questions, so you’re not really in the right place. Having said that, I can provide some insight. macOS has two virtualisation APIs: Virtualization is a high-level API that makes it very easy to run a VM. Hypervisor is a low-level API for developers who need a lot of control. Neither has support for battery pass through. It’s feasible for a developer using Hypervisor to support battery pass through to guests that aren’t running macOS. Doing that for macOS guests would almost certainly require a bunch of unsupported reverse engineering. If you were a developer using these APIs then I’d recommend that you file an enhancement request for this feature. However, as a user of VM apps then that’s probably not the best path forward. It’s fine for users to file ERs for user-level stuff, but i
Topic: App & System Services SubTopic: Core OS Tags:
2w
SwiftUI + AppKit context menu wedges window-level mouse events when the menu's anchor view is deleted by the menu's own action
I'm on macOS 26.4 (SwiftUI + SwiftData + AppKit bridging). I have a SwiftUI canvas where each child view (a card) carries a per-card AppKit context menu via an NSViewRepresentable overlay (a small NSView subclass that overrides menu(for:) and returns an NSMenu whose items invoke a Swift closure). The closure for the Delete item removes the underlying model object. SwiftData mutates → SwiftUI re-emits the canvas → the card containing the menu's anchor NSView unmounts → that anchor NSView is removed from the AppKit view hierarchy. After this happens, the entire window's SwiftUI gestures stop receiving mouse events: pan, zoom, taps on a separate background Color view all go silent. The window's first responder ends up at the NSWindow itself. The wedge persists across switching to a sibling SwiftUI view in the same window (different SwiftData root), so the bad state is at the window/event-routing level, not in any one SwiftUI subtree. The wedge is reliably cleared by another right-click that successfully shows +
0
0
338
2w
Reply to App rejected 13+ times for UIRequiredDeviceCapabilities after adding DeviceActivity extensions — what am I missing?
SOLVED but this needs to be addressed by engineers - both the actual issue and the incorrect auto-generated App Review response that led us on a wild chase. I reproduced the install failure on a physical iOS device through TestFlight, and the real blocking error is not UIRequiredDeviceCapabilities. The device installation log shows MIInstallerErrorDomain Code 152 with AppexBundleContainsClassOrStoryboard, because the [APPNAME]DeviceActivityReport.appex for com.apple.deviceactivityui.report-extension contains NSExtensionMainStoryboard or NSExtensionPrincipalClass, which iOS says is not allowed for that extension point. This seems to be a known issue reproducible on iOS 18 and 26. This creates a validation conflict: removing NSExtensionPrincipalClass makes App Store Connect reject the upload with “Missing Info.plist values. No values for NSExtensionMainStoryboard or NSExtensionPrincipalClass found,” but including it causes the install to fail on device. In other words, there is no plist configuration t
Topic: App & System Services SubTopic: General Tags:
2w
Reply to Multipeer Connectivity connection is flaky on iOS 26
Hi Kevin, Hi Quinn Thank you very much for the very quick replies. Almost an honor to hear from two literal dev forum legends so quickly. Much appreciated. Thanks in advance. I will add all the requested detailed info into the feedback app, asap. Hopefully as early as Monday when i'm in the office. In the meantime I can give you some reply already, should you guys chose to already be working/looking at it over the weekend (who knows). To correct a statement of mine: With Wi-Fi off I meant via the control center. Naive me forgot completely that it doesn't really turn off the wifi interface. Obviously, turning it off completely via the Settings app will result in noop for the framework and that makes obviously sense. So please ignore that statement, i made a mess there. Some answers I can give you already though (Based on Kevins list): Our apps mainly work on iPads. And it affects ALL iPad devices on/since iOS 26 as far as we can tell. Theoretically theres not much more detail needed other than attempt
2w
StoreKit 2: currentEntitlements fails for Thai users on iOS 26
On devices configured to use the Buddhist calendar (primarily Thai users) Transaction.currentEntitlements returns an empty async sequence even when the customer holds a legitimate, non-revoked, non-expired entitlement for a non-consumable in-app purchase or subscription. The same transaction is correctly returned by Transaction.all. Switching the device calendar back to Gregorian immediately restores correct behavior: the entitlement is yielded by currentEntitlements again. No reinstall, sign-out, or AppStore.sync() is required. The defect is purely client-side, deterministic, and reproducible at will. Is this a known bug introduced in iOS 26? It is causing me significant problems with in-app purchase validation and restore flows in that market. Is anyone else experiencing this issue?
1
0
294
2w
AVCaptureSession runtime error -11800 / 'what' on startRunning() with audio input — what's holding the HAL?
AVCaptureSession.startRunning() triggers AVCaptureSessionRuntimeErrorNotification with AVError.unknown (-11800), underlying OSStatus 2003329396 → fourCC 'what', every cold launch, but only when an audio AVCaptureDeviceInput is attached. Removing only the audio input makes the error disappear. Same code in a fresh project records audio fine — bug only appears in this app's binary. AVAudioApplication.shared.recordPermission == .granted. Info.plist has NSMicrophoneUsageDescription. No interruption notifications fire. Test device: iPhone 16 Pro, iOS 26.4.2. iOS deployment target 17.1. Minimal reproducer import AVFoundation let session = AVCaptureSession() session.beginConfiguration() let camera = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .back)! session.addInput(try AVCaptureDeviceInput(device: camera)) // Removing ONLY this line makes the error disappear: let mic = AVCaptureDevice.default(for: .audio)! session.addInput(try AVCaptureDeviceInput(device: mic)) session.addOutpu
Replies
1
Boosts
0
Views
382
Activity
2w
Reply to Xcode 26.4: Regressions in Intelligence features
Hello everyone, I’m looking for some guidance and, if possible, assistance with an issue I’m experiencing. I’ve been using Codex with Xcode since the beginning of my project, and I used to be able to use both the Codex agent and ChatGPT through my ChatGPT login. I have a paid Pro account. However, two days ago, my Codex agent was signed out, and I lost access to Intelligence features and the ability to send prompts. I can no longer sign in to my Codex agent in Xcode—the only option available now seems to be using an API key. I tried that workaround for a day, but I quickly hit my API usage limit. Has anyone else run into this issue? If so, how did you resolve it? I’ve already tried deleting Xcode and all related files and logs, then reinstalling, but that didn’t fix the problem. Thank you.
Replies
Boosts
Views
Activity
2w
Xcode hangs with iig
Xcode iig hangs. In the best case, the project will be in error - and Xcode cannot recover. To recover restarting Xcode may not help (force quit Xcode) - most of the time a restart of the Mac is required. Its speaks to software quality when Clean build folder is your best friend. Xcode iig hangs, and while its only using two of my MacStudio's 10 cores - the whole mac hangs (Activity monitor confirms, if it opens at all). If you are not quick enough to reboot the Mac will hang and require power down using power button. Don't use Finder to reboot because Finder hangs too and will not reboot - use terminal (sudo shutdown -r now). see screen dump below: super useful! After restart, Xode may refuse to launch. This is something I notice with my Java apps (jar launcher): If the app ends with an exit code (1, not 0 like normally) - it will not launch until I restart the Mac, in the meantime must launch the app from Eclipse. After restart, the crash reporter comes up - asking me to type a reason. Whe
Replies
0
Boosts
0
Views
50
Activity
2w
Severe App Review delay since January, app still broken and TestFlight also blocked
Hello, I am posting regarding my app, Apple ID 6755677576. My app was rejected on April 2, and I resubmitted it. After several weeks without any progress, I had to cancel the submission because the delay had become highly abnormal. I resubmitted the app again on April 23, and it is still stuck in “Waiting for Review.” This situation is critical because the live version of the app has contained a severe blocking bug since January 23. Due to these unusually long App Review delays, I have been unable to release the fix, and users continue to leave negative reviews because the app remains broken. In addition, for months, TestFlight builds have also remained pending review for unusually long periods. This means I no longer have any practical way to provide affected users with a corrected version while waiting for App Review, even though they are actively complaining about the blocking bug in the live version. I would like to know whether other developers are currently experiencing similarly unusual delays
Replies
1
Boosts
0
Views
74
Activity
2w
Reply to Could not launch app on watchOS downloaded from TestFlight
We are seeing what looks like the same issue with our TestFlight watchOS app. In our case the watch app is paired with an iOS app and was installed from TestFlight. The watch app launched successfully earlier on the same device and same installed build, including from a complication, and successfully recorded/transferred data. Later, tapping the app icon or complication did nothing. We reproduced the failure from the Mac with devicectl device process launch and got: The application failed to launch. (com.apple.dt.CoreDeviceError error 10002) BundleIdentifier = FBSOpenApplicationServiceErrorDomain error 1: RequestDenied FBSOpenApplicationErrorDomain error 3: Security Unable to launch because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. A few details that may be useful: The same TestFlight build had launched successfully earlier on the same watch. The app was still listed as installed by CoreDevice. The companion dev/watch build c
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w
exportArchive Error "Downloading App Information" — repeated failures despite subscriptions Ready to Submit and attached to version
I'm hitting a persistent build/upload failure when trying to submit my first app for review. Hoping someone has seen this specific issue. Setup App: ShiftSelf (an AI-guided self-coaching app) Bundle ID: app.shiftself.mobile Apple Developer account: active, paid, fully verified (Switzerland) App Store Connect: app created, Version 1.0 in Prepare for Submission Build pipeline: Expo-based (using a hosted Expo build service for the IPA upload) The error Every upload attempt fails with: exportArchive Error: Downloading App Information This has now occurred 14 times over the past 5 days, with no configuration changes between attempts. What is already configured correctly Two auto-renewable subscriptions (Monthly $9.99, Annual $59.99) — both in Ready to Submit state Subscription Group with English localization (ShiftSelf Pro) created Both subscriptions attached to Version 1.0 under In-App Purchases and Subscriptions Privacy Policy URL, Terms URL, and Account Deletion URL all live and reachable DSA verified,
Replies
0
Boosts
0
Views
91
Activity
2w
Reply to Environment Variables Blocked by OS Tahoe 26.4.1
You'll have to provide a whole lot more background here. What are you coding in Perl? An app? How is Perl related to it? I'm unaware of any environment variables being blocked. If you're trying to integrate something like Perl into an app, you aren't going to be able to use basic techniques like you would in a bash or zsh shell. There is more than one way to do it, but it depends on detailed answers to those questions above.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
Environment Variables Blocked by OS Tahoe 26.4.1
I am coding in Perl and I want to create Environment Variables (External to the app) specifically for this app only, however my custom ENV variables are deliberately blocked by the OS for security purposes (as described in documentation).
Replies
2
Boosts
0
Views
328
Activity
2w
AVP Developer Strap
I'm trying to find where to buy the Vision Pro Developer Strap Gen 2. I've looked all around this site and cannot find it. Help
Replies
1
Boosts
0
Views
684
Activity
2w
Reply to Sometimes my apps crash on launch at _libsecinit_appsandbox.cold.6
[quote='887338022, Nickkk, /thread/825481?answerId=887338022#887338022, /profile/Nickkk'] should I then extract the sysdiagnose and look in the system_logs.logarchive file? [/quote] Yes. Alternatively, if this happens on a Mac you control, you can generate a log snapshot like so: % sude log collect [quote='887338022, Nickkk, /thread/825481?answerId=887338022#887338022, /profile/Nickkk'] In the sysdiagnose I uploaded to Feedback Assistant I can only see the last 5 minutes, is that correct? [/quote] If you open the log in Console, it defaults to showing the last 5 minutes. The Showing popup between the two panes lets you control that filter. See the screenshot in this post. 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
2w
Reply to Battery passthrough for virtual machines on Apple Silicon?
So I’m asking by a perspective as a consumer level of using VM apps built by other developers. Thanks for that clarification. The Apple Developer Forums are primarily focused on helping developer with code-level questions, so you’re not really in the right place. Having said that, I can provide some insight. macOS has two virtualisation APIs: Virtualization is a high-level API that makes it very easy to run a VM. Hypervisor is a low-level API for developers who need a lot of control. Neither has support for battery pass through. It’s feasible for a developer using Hypervisor to support battery pass through to guests that aren’t running macOS. Doing that for macOS guests would almost certainly require a bunch of unsupported reverse engineering. If you were a developer using these APIs then I’d recommend that you file an enhancement request for this feature. However, as a user of VM apps then that’s probably not the best path forward. It’s fine for users to file ERs for user-level stuff, but i
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
SwiftUI + AppKit context menu wedges window-level mouse events when the menu's anchor view is deleted by the menu's own action
I'm on macOS 26.4 (SwiftUI + SwiftData + AppKit bridging). I have a SwiftUI canvas where each child view (a card) carries a per-card AppKit context menu via an NSViewRepresentable overlay (a small NSView subclass that overrides menu(for:) and returns an NSMenu whose items invoke a Swift closure). The closure for the Delete item removes the underlying model object. SwiftData mutates → SwiftUI re-emits the canvas → the card containing the menu's anchor NSView unmounts → that anchor NSView is removed from the AppKit view hierarchy. After this happens, the entire window's SwiftUI gestures stop receiving mouse events: pan, zoom, taps on a separate background Color view all go silent. The window's first responder ends up at the NSWindow itself. The wedge persists across switching to a sibling SwiftUI view in the same window (different SwiftData root), so the bad state is at the window/event-routing level, not in any one SwiftUI subtree. The wedge is reliably cleared by another right-click that successfully shows +
Replies
0
Boosts
0
Views
338
Activity
2w
Reply to App rejected 13+ times for UIRequiredDeviceCapabilities after adding DeviceActivity extensions — what am I missing?
SOLVED but this needs to be addressed by engineers - both the actual issue and the incorrect auto-generated App Review response that led us on a wild chase. I reproduced the install failure on a physical iOS device through TestFlight, and the real blocking error is not UIRequiredDeviceCapabilities. The device installation log shows MIInstallerErrorDomain Code 152 with AppexBundleContainsClassOrStoryboard, because the [APPNAME]DeviceActivityReport.appex for com.apple.deviceactivityui.report-extension contains NSExtensionMainStoryboard or NSExtensionPrincipalClass, which iOS says is not allowed for that extension point. This seems to be a known issue reproducible on iOS 18 and 26. This creates a validation conflict: removing NSExtensionPrincipalClass makes App Store Connect reject the upload with “Missing Info.plist values. No values for NSExtensionMainStoryboard or NSExtensionPrincipalClass found,” but including it causes the install to fail on device. In other words, there is no plist configuration t
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w
Reply to Multipeer Connectivity connection is flaky on iOS 26
Hi Kevin, Hi Quinn Thank you very much for the very quick replies. Almost an honor to hear from two literal dev forum legends so quickly. Much appreciated. Thanks in advance. I will add all the requested detailed info into the feedback app, asap. Hopefully as early as Monday when i'm in the office. In the meantime I can give you some reply already, should you guys chose to already be working/looking at it over the weekend (who knows). To correct a statement of mine: With Wi-Fi off I meant via the control center. Naive me forgot completely that it doesn't really turn off the wifi interface. Obviously, turning it off completely via the Settings app will result in noop for the framework and that makes obviously sense. So please ignore that statement, i made a mess there. Some answers I can give you already though (Based on Kevins list): Our apps mainly work on iPads. And it affects ALL iPad devices on/since iOS 26 as far as we can tell. Theoretically theres not much more detail needed other than attempt
Replies
Boosts
Views
Activity
2w
StoreKit 2: currentEntitlements fails for Thai users on iOS 26
On devices configured to use the Buddhist calendar (primarily Thai users) Transaction.currentEntitlements returns an empty async sequence even when the customer holds a legitimate, non-revoked, non-expired entitlement for a non-consumable in-app purchase or subscription. The same transaction is correctly returned by Transaction.all. Switching the device calendar back to Gregorian immediately restores correct behavior: the entitlement is yielded by currentEntitlements again. No reinstall, sign-out, or AppStore.sync() is required. The defect is purely client-side, deterministic, and reproducible at will. Is this a known bug introduced in iOS 26? It is causing me significant problems with in-app purchase validation and restore flows in that market. Is anyone else experiencing this issue?
Replies
1
Boosts
0
Views
294
Activity
2w