Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,372 results found

Post

Replies

Boosts

Views

Activity

Reply to Multipeer Connectivity connection is flaky on iOS 26
This is much, much funnier than you'd realized. Up until COVID took... I can imagine! And don’t get me wrong, I really understand why you guys are suggesting the Network framework. IMO, it makes total sense for new applications to build directly on top of that. But I think there’s still a lot of value in fixing the MPC framework, because there are many apps and libraries out there relying on MPC. In our case, for example, we’re also quite restricted in terms of update policies due to our very regulated domain. We can’t simply push updated apps to customers, or at least not to customers running years-old versions who either don’t want to or can’t update to more recent releases. In those situations, we rely on Apple fixing these issues on the OS side. We also wouldn’t be raising awareness here if this had always been an issue. Our apps have relied on MPC for almost a decade now (the code goes back to 2018), and for our use cases it worked flawlessly (it really did :D). Customers used it extensively wit
1w
Reply to Xcode 26.3 Claude Agent — 401 Invalid Bearer Token on Intel Mac (FB22141224)
Update: Root cause identified — Xcode 26.5 downloads darwin-arm64 binary on Intel Macs (verified workaround) Following up on this thread and FB22141224 / FB22317519 (both closed citing a Neural Engine requirement). After further investigation on Xcode 26.5 on the same Intel hardware, I've identified the actual root cause and verified a working local fix. The previously reported 401 and code signing identity errors are downstream symptoms of an architecture-mismatch exec failure. The Neural Engine premise does not fit the evidence: Claude Agent calls a remote API and performs no on-device inference; Claude Code in Terminal works on this Intel Mac with the same credentials; the basic Claude Sonnet 4.5 assistant in Xcode also works on this Intel Mac. Only the agent fails — because Xcode downloads the wrong-arch binary for it. SUMMARY On Intel Macs, Xcode 26.5 (build 17F42) downloads the darwin-arm64 build of the Claude Agent rather than the darwin-x64 build the vendor publishes at the same vers
1w
Xcode 26.3 Claude Agent — 401 Invalid Bearer Token on Intel Mac (FB22141224)
I've been investigating a persistent 401 Invalid Bearer Token error with Claude Agent in Xcode 26.3 on an Intel Core i9 Mac and wanted to share my findings here in case others are affected. ENVIRONMENT Hardware: Intel Core i9 (x86_64) Xcode: 26.3 (17C529) macOS: 26.3 (25D125) THE ISSUE Claude Agent fails with Failed to authenticate. API Error: 401 - Invalid bearer token on every prompt, despite the account showing as Signed In under Settings → Intelligence. The error persists after signing out and back in, and the token is confirmed valid and unexpired in Keychain. WHAT WORKS Claude Code in Terminal works perfectly on the same machine with the same credentials The basic Claude Sonnet 4.5 coding assistant in Xcode works fine Only Claude Agent is affected ROOT CAUSE HYPOTHESIS Xcode appears to be installing an ARM64 Claude binary on Intel Macs silently, with no warning or fallback. This binary likely fails to execute on x86_64 hardware and that failure is being misreported upstream as a 401 au
5
0
737
1w
XPC Communication between Editor app and user-compiled code
Hello! I'm trying to implement an editor app (macOS) that allows the user to write code, which will be compiled and executed, showing the result in the editor window. Imagine it like SwiftUI previews, but the graphic output is created with Metal, not SwiftUI. I found that IOSurface can be used to share that kind of data over XPC, so I would not have to rely on the private NSRemoteView. However, I'm confused if it is, at all, possible for my editor app to connect to an XPC Service, that was NOT bundled with it (but compiled by it at runtime). I succeeded to launch an XPC service defined as: Label com.myteam.myproject.service MachServices com.myteam.myproject.service Program /Path/to/service/run_my_service.sh But the call to let connection = NSXPCConnection(machServiceName: com.myteam.myproject.service) let proxy = connection.remoteObjectProxyWithErrorHandler { error in continuation.resume(throwing: error) } as? MyServiceProtocol fails with The connection to service named com.myteam.myproject.
6
0
512
1w
Some variable SF Symbols don't work.
Some SF Symbols (wifi for example) render fine with the variable. But many, mostly ones with the circle being variable, do not seem to work. The SF Symbols app shows them rendering with a variable fine. But in code it doesn't work. Am I missing something or is there a reason? var body: some View { HStack { Image(systemName: 01.circle, variableValue: 0.5) Image(systemName: figure.wave.circle, variableValue: 0.5) Image(systemName: wifi, variableValue: 0.5) }.font(.largeTitle) } }
Topic: Design SubTopic: General Tags:
2
0
3.3k
1w
Reply to Some variable SF Symbols don't work.
@akashr Thank you! 🙏 This saved me from wasting more time on this. I’d already burned a couple hours trying to figure out why a symbol that clearly supports variable value in the SF Symbols app, wasn’t working in code. I really wish Apple’s docs included more real-world samples. Seems like many symbols do need .symbolVariableValueMode(.draw) for this to work.
Topic: Design SubTopic: General Tags:
1w
Reply to Core Data for 2 level data
Wow - I don't know where the rest of my post went...another one of my posts just totally disappeared! I guess you have to check on these posts every time! I'm trying to create a feature that uses CoreData with two levels of information for example a Task Entity with attributes of Name, Duration and UUID. Then those tasks are collected into and Event Entity that would have a name, UUID, and I guess an array of UUID's representing the Tasks that are part of/inside it. My question is how to accommodate that array or what would be a good approach to storing that?
Topic: App & System Services SubTopic: iCloud Tags:
1w
Reply to Can't verify my identity for sandbox can not receive verification code
Update: I was at 10 devices. I signed out of one, but nothing at all changed. I signed out of 2 more, and now my primary mobile number, when used to confirm a sandbox account, does NOT say: Could not connect to iCloud - This phone number has been used too many times. Choose a different number. ...now it says... Too Many Codes Sent - You have sent too many codes to this phone number. Please enter the last code you received, enter another phone number or try again later. (Of course I never received any codes at all. From either number.) It is then waiting for me to enter a code. (Regardless of which number I try.) I have no codes for either. I'll try again tomorrow.
1w
Is the MapKit Legal Notice required for displaying my own content?
If an application utilizes MapKit exclusively to render custom content via MKTileOverlay (with canReplaceMapContent = true to entirely suppress Apple’s default map layers), are developers still contractually or technically mandated to display Apple's default Legal link? Currently, the hardcoded Apple attribution document details extensive copyright disclaimers for data suppliers like TomTom, Acxiom, and Breezometer. When an application renders entirely standalone, proprietary, or open-source map tiles, displaying this link creates two distinct issues: User Confusion: It incorrectly implies to end-users that the custom data being viewed is sourced from or validated by Apple's third-party data partners. Attribution Inaccuracy: It forces the display of entirely irrelevant copyright data while doing a disservice to the actual copyright holders of the active custom tile layers, who require their own distinct, prominent on-screen credit. It would be a significant UX improvement if the framework could dynam
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
322
1w
Reply to Which storage capacity key should be used for offline video downloads: volumeAvailableCapacityKey or volumeAvailableCapacityForImportantUsageKey?
I did some additional testing on my second device and noticed behavior that seems interesting, but I’m not sure whether I’m interpreting it correctly. Case 1: iPad Settings reports ~20 GB free volumeAvailableCapacityKey returns ~7.6 GB volumeAvailableCapacityForImportantUsageKey returns ~19.3 GB Case 2 (after I intentionally downloaded a large amount of content to fill up the device storage): iPad Settings reports ~215 MB free volumeAvailableCapacityKey returns ~157 MB volumeAvailableCapacityForImportantUsageKey returns ~197 MB What surprised me is that in the first case, volumeAvailableCapacityForImportantUsageKey is very close to the value shown in Settings, while volumeAvailableCapacityKey is much lower. But in the second case, when the device is almost full, all three values become much closer to each other. Am I understanding correctly that as the device runs out of storage, the system has less reclaimable/purgeable space available, so the different capacity estimates start converging because th
Topic: App & System Services SubTopic: Core OS Tags:
1w
Sign in with Apple returns invalid OAuth response — Team ID issue?
Hi everyone, I'm experiencing a persistent issue with Sign in with Apple on my iOS app that I cannot resolve from my side. I've already opened a support case (ID: 20000115382721) and received a reply directing me back to the Developer Forum, so I'm posting here in hopes someone has encountered the same issue or can offer guidance. Error message: FirebaseAuthException: [firebase_auth/invalid-credential] Invalid OAuth response from apple.com Critical observation: The Apple authentication screen never appears. When the user taps Continue with Apple, the error is returned immediately. This suggests the request is being rejected before reaching Apple's authentication servers — pointing to a backend configuration issue on Apple's side for my Team ID. My setup: Team ID: DHKU23JL7H Bundle ID: com.expensespy.app Framework: Flutter with sign_in_with_apple package v7.0.1 Backend: Firebase Authentication Other auth methods (Google Sign-In, Email/Password): working correctly Verified configuration (all done correctly): Ap
3
0
679
1w
Reply to Multipeer Connectivity connection is flaky on iOS 26
This is much, much funnier than you'd realized. Up until COVID took... I can imagine! And don’t get me wrong, I really understand why you guys are suggesting the Network framework. IMO, it makes total sense for new applications to build directly on top of that. But I think there’s still a lot of value in fixing the MPC framework, because there are many apps and libraries out there relying on MPC. In our case, for example, we’re also quite restricted in terms of update policies due to our very regulated domain. We can’t simply push updated apps to customers, or at least not to customers running years-old versions who either don’t want to or can’t update to more recent releases. In those situations, we rely on Apple fixing these issues on the OS side. We also wouldn’t be raising awareness here if this had always been an issue. Our apps have relied on MPC for almost a decade now (the code goes back to 2018), and for our use cases it worked flawlessly (it really did :D). Customers used it extensively wit
Replies
Boosts
Views
Activity
1w
Reply to Can't verify my identity for sandbox can not receive verification code
Was not able to solve this without a 3rd phone number. My son's Apple Watch (with cellular) was able to receive the verification code. Never got my primary number (I'm still told used too many times) nor my eSIM number ever worked.
Replies
Boosts
Views
Activity
1w
Reply to Xcode 26.3 Claude Agent — 401 Invalid Bearer Token on Intel Mac (FB22141224)
Update: Root cause identified — Xcode 26.5 downloads darwin-arm64 binary on Intel Macs (verified workaround) Following up on this thread and FB22141224 / FB22317519 (both closed citing a Neural Engine requirement). After further investigation on Xcode 26.5 on the same Intel hardware, I've identified the actual root cause and verified a working local fix. The previously reported 401 and code signing identity errors are downstream symptoms of an architecture-mismatch exec failure. The Neural Engine premise does not fit the evidence: Claude Agent calls a remote API and performs no on-device inference; Claude Code in Terminal works on this Intel Mac with the same credentials; the basic Claude Sonnet 4.5 assistant in Xcode also works on this Intel Mac. Only the agent fails — because Xcode downloads the wrong-arch binary for it. SUMMARY On Intel Macs, Xcode 26.5 (build 17F42) downloads the darwin-arm64 build of the Claude Agent rather than the darwin-x64 build the vendor publishes at the same vers
Replies
Boosts
Views
Activity
1w
Xcode 26.3 Claude Agent — 401 Invalid Bearer Token on Intel Mac (FB22141224)
I've been investigating a persistent 401 Invalid Bearer Token error with Claude Agent in Xcode 26.3 on an Intel Core i9 Mac and wanted to share my findings here in case others are affected. ENVIRONMENT Hardware: Intel Core i9 (x86_64) Xcode: 26.3 (17C529) macOS: 26.3 (25D125) THE ISSUE Claude Agent fails with Failed to authenticate. API Error: 401 - Invalid bearer token on every prompt, despite the account showing as Signed In under Settings → Intelligence. The error persists after signing out and back in, and the token is confirmed valid and unexpired in Keychain. WHAT WORKS Claude Code in Terminal works perfectly on the same machine with the same credentials The basic Claude Sonnet 4.5 coding assistant in Xcode works fine Only Claude Agent is affected ROOT CAUSE HYPOTHESIS Xcode appears to be installing an ARM64 Claude binary on Intel Macs silently, with no warning or fallback. This binary likely fails to execute on x86_64 hardware and that failure is being misreported upstream as a 401 au
Replies
5
Boosts
0
Views
737
Activity
1w
XPC Communication between Editor app and user-compiled code
Hello! I'm trying to implement an editor app (macOS) that allows the user to write code, which will be compiled and executed, showing the result in the editor window. Imagine it like SwiftUI previews, but the graphic output is created with Metal, not SwiftUI. I found that IOSurface can be used to share that kind of data over XPC, so I would not have to rely on the private NSRemoteView. However, I'm confused if it is, at all, possible for my editor app to connect to an XPC Service, that was NOT bundled with it (but compiled by it at runtime). I succeeded to launch an XPC service defined as: Label com.myteam.myproject.service MachServices com.myteam.myproject.service Program /Path/to/service/run_my_service.sh But the call to let connection = NSXPCConnection(machServiceName: com.myteam.myproject.service) let proxy = connection.remoteObjectProxyWithErrorHandler { error in continuation.resume(throwing: error) } as? MyServiceProtocol fails with The connection to service named com.myteam.myproject.
Replies
6
Boosts
0
Views
512
Activity
1w
Organization enrollment to developer program verification
Hello My organization was enrolling developer program and during email verification, I have resent the code as I couldn't receive it to my organization email. After resending couple of times, now I have a message saying that exceed maximum attempt number. I have created a case with an ID : 20000115716550
Replies
2
Boosts
0
Views
701
Activity
1w
Some variable SF Symbols don't work.
Some SF Symbols (wifi for example) render fine with the variable. But many, mostly ones with the circle being variable, do not seem to work. The SF Symbols app shows them rendering with a variable fine. But in code it doesn't work. Am I missing something or is there a reason? var body: some View { HStack { Image(systemName: 01.circle, variableValue: 0.5) Image(systemName: figure.wave.circle, variableValue: 0.5) Image(systemName: wifi, variableValue: 0.5) }.font(.largeTitle) } }
Topic: Design SubTopic: General Tags:
Replies
2
Boosts
0
Views
3.3k
Activity
1w
Reply to Some variable SF Symbols don't work.
@akashr Thank you! 🙏 This saved me from wasting more time on this. I’d already burned a couple hours trying to figure out why a symbol that clearly supports variable value in the SF Symbols app, wasn’t working in code. I really wish Apple’s docs included more real-world samples. Seems like many symbols do need .symbolVariableValueMode(.draw) for this to work.
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to Apple Developer Account Payment Completed but Account Still Pending
I'm on the same boat did everything on 05-09-2026 and no update since then, account still pendant, no mail, no response for the 2 tickets I send, buet hey the charge was made! We need answers for this!
Replies
Boosts
Views
Activity
1w
Reply to Core Data for 2 level data
Wow - I don't know where the rest of my post went...another one of my posts just totally disappeared! I guess you have to check on these posts every time! I'm trying to create a feature that uses CoreData with two levels of information for example a Task Entity with attributes of Name, Duration and UUID. Then those tasks are collected into and Event Entity that would have a name, UUID, and I guess an array of UUID's representing the Tasks that are part of/inside it. My question is how to accommodate that array or what would be a good approach to storing that?
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
1w
Reply to Additional Vendor ID Approval
To be clear, I need a single driver that can match two Vendor IDs at the same time.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
1w
Reply to Can't verify my identity for sandbox can not receive verification code
Update: I was at 10 devices. I signed out of one, but nothing at all changed. I signed out of 2 more, and now my primary mobile number, when used to confirm a sandbox account, does NOT say: Could not connect to iCloud - This phone number has been used too many times. Choose a different number. ...now it says... Too Many Codes Sent - You have sent too many codes to this phone number. Please enter the last code you received, enter another phone number or try again later. (Of course I never received any codes at all. From either number.) It is then waiting for me to enter a code. (Regardless of which number I try.) I have no codes for either. I'll try again tomorrow.
Replies
Boosts
Views
Activity
1w
Is the MapKit Legal Notice required for displaying my own content?
If an application utilizes MapKit exclusively to render custom content via MKTileOverlay (with canReplaceMapContent = true to entirely suppress Apple’s default map layers), are developers still contractually or technically mandated to display Apple's default Legal link? Currently, the hardcoded Apple attribution document details extensive copyright disclaimers for data suppliers like TomTom, Acxiom, and Breezometer. When an application renders entirely standalone, proprietary, or open-source map tiles, displaying this link creates two distinct issues: User Confusion: It incorrectly implies to end-users that the custom data being viewed is sourced from or validated by Apple's third-party data partners. Attribution Inaccuracy: It forces the display of entirely irrelevant copyright data while doing a disservice to the actual copyright holders of the active custom tile layers, who require their own distinct, prominent on-screen credit. It would be a significant UX improvement if the framework could dynam
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
322
Activity
1w
Reply to Which storage capacity key should be used for offline video downloads: volumeAvailableCapacityKey or volumeAvailableCapacityForImportantUsageKey?
I did some additional testing on my second device and noticed behavior that seems interesting, but I’m not sure whether I’m interpreting it correctly. Case 1: iPad Settings reports ~20 GB free volumeAvailableCapacityKey returns ~7.6 GB volumeAvailableCapacityForImportantUsageKey returns ~19.3 GB Case 2 (after I intentionally downloaded a large amount of content to fill up the device storage): iPad Settings reports ~215 MB free volumeAvailableCapacityKey returns ~157 MB volumeAvailableCapacityForImportantUsageKey returns ~197 MB What surprised me is that in the first case, volumeAvailableCapacityForImportantUsageKey is very close to the value shown in Settings, while volumeAvailableCapacityKey is much lower. But in the second case, when the device is almost full, all three values become much closer to each other. Am I understanding correctly that as the device runs out of storage, the system has less reclaimable/purgeable space available, so the different capacity estimates start converging because th
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1w
Sign in with Apple returns invalid OAuth response — Team ID issue?
Hi everyone, I'm experiencing a persistent issue with Sign in with Apple on my iOS app that I cannot resolve from my side. I've already opened a support case (ID: 20000115382721) and received a reply directing me back to the Developer Forum, so I'm posting here in hopes someone has encountered the same issue or can offer guidance. Error message: FirebaseAuthException: [firebase_auth/invalid-credential] Invalid OAuth response from apple.com Critical observation: The Apple authentication screen never appears. When the user taps Continue with Apple, the error is returned immediately. This suggests the request is being rejected before reaching Apple's authentication servers — pointing to a backend configuration issue on Apple's side for my Team ID. My setup: Team ID: DHKU23JL7H Bundle ID: com.expensespy.app Framework: Flutter with sign_in_with_apple package v7.0.1 Backend: Firebase Authentication Other auth methods (Google Sign-In, Email/Password): working correctly Verified configuration (all done correctly): Ap
Replies
3
Boosts
0
Views
679
Activity
1w