Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

165,590 results found

Post

Replies

Boosts

Views

Activity

Airplay 2
Haven't been able to test this yet, but does multi room support with Airplay 2 work on two apple TVs running tvOS 11.By this I mean can you use Airplay 2 to play a song on one apple tv and a different song on another?Thanks
0
0
608
Jun ’17
WeatherKit entitlement and key not propagated — WeatherDaemon fails to generate JWT (Code=2)
Hello Apple Developer Support Team, I am the Account Holder of my Apple Developer Program team (Team ID: T2BKUF6E93). My iOS app is using Swift WeatherKit (WeatherService) on device. Although my environment is completely configured, the system WeatherDaemon consistently fails to generate the WeatherKit JWT token. My environment: Team type: Apple Developer Program (paid) Team ID: T2BKUF6E93 Account role: Account Holder Xcode: latest version Device: iPhone (real device) Provisioning Profile: iOS Team Provisioning Profile (auto-managed) Entitlement: com.apple.developer.weatherkit included WeatherKit Key: created successfully (.p8 downloaded) Bundle ID: correct and WeatherKit capability enabled App reinstalled after each configuration change Device rebooted Even after enabling WeatherKit capability and generating a WeatherKit Key, the system still fails to generate JWT: Failed to generate jwt token for: com.apple.weatherkit.authservice Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code
0
0
461
Nov ’25
iMessage has merged 2 conversations of 2 different contacts
Hi all,I've 2 separate conversations with 2 different contacts (not the same phone number, nothing in commun).On my MacBook (High Sierra) everything works fine.But on my iPhone X running iOS 12 beta 3 (since beta 2 I've this bug), these 2 conversations are merged.When I write to one or another of these 2 contacts, it displays the 2 conversations in one screen. It merges them.When I try to create a new message, when I enter one of the 2 contacts, I don't know who receive the message, it's not always the same one that receive the message.That's really annoying.Does anyone have this issue too?I filled a bug reporter for that.Regards,Alexandre
23
0
52k
Jul ’18
Please Help: Thread 1: EXC_BAD_ACCESS (code=2, address=0x30ecb2ff8)
I have been trying to figure this out for like 5 hours, and I can't seem to see what its happening. My app is trying to get users signIn with using Google or Apple methods. Once they finish the SignUp with any provider, It should take them to another screen (OnboardingViewPart2) to finish the profile setup. However, the issue is that when I finish entering my email on the Google SignUp, the screen closes and the app get stuck for like 10 secs and throws the Bad Access error. My debug takes me that there is something going on with AuthService, but I can't figure out what. Firebase recognizes that the method was used, but doesn't create any Collections or Documents. Please Help :) ContentView.swift OnboardingView.swift AuthService.swift OnboardingViewPart2.swift SignInWithGoogle.swift
3
0
3.2k
Nov ’21
Node.js aborts before JavaScript execution under sandbox-exec on macOS — LIBIGNITION termination code 2
I am investigating a startup failure when running Node.js under a restrictive sandbox-exec profile. I would appreciate guidance on diagnosing the failure and on a supported way to run a command-line process with restricted filesystem access and no network access. I have not established whether this is caused by my profile, the operating system, or another interaction. Environment macOS 26.6.2, build 25G83 Apple silicon, ARM64, without Rosetta Official Node.js 22.23.4 darwin-arm64 distribution; its archive SHA-256 matches the published checksum Python 3.14 launching the process from Terminal No sudo, application code, third-party JavaScript modules, credentials, or real user data The Node version above identifies the downloaded distribution. I have not confirmed a successful node --version execution in this restricted environment. Launch configuration The invocation has this form: /usr/bin/sandbox-exec -f -e Python uses subprocess.Popen, with: Working directory set to start_new_session=True Stand
1
0
249
3w
iHate Swift 2
Am I the only one who hates the big changes Apple makes this year? Why can't they make just small changes in Swift???? It's not hard to convert all my Code to Swift 2. It is IMPOSSIBLE. I get 9 errors, even if I could fix them and press the build and run Button I get 20 new errors. Every time. And most of them do really not make any sense. I will never ever switch to Swift 2. And if this means I can't build new Apps one day, that's ok. Even switching to Android is still better than switching from Swift 1 to Swift 2. I will not learn a completely new programming language every year. Because that's what Swift 2 is. Last year it was Swift. Now it's Swift 2. And next year? Will I have to learn Swift 3 which will also be a completely new language? No, thanks.
22
0
3.4k
Aug ’15
Two problems in the program compilation of the new version of xcode (the target code is the content filter of the network extension)
I'm trying to debug the official network extension sample code simplefirewall. Although it has been able to run normally and pops up user pop-up windows for the specified filter conditions, there are still two warnings and errors: [Window] Warning: Window NSWindow 0x1007315f0 ordered front from a non-active application and may order beneath the active application's windows. [default] CGSWindowShmemCreateWithPort failed on port 0 For the first warning, I followed the method given in https://developer.apple.com/forums/thread/729496 and added windo.makeKey() and window.orderFrontRegardless(), but this warning didn't go away. As for the second default, I haven't been able to find the corresponding root cause and solution of the problem. I would like to ask, can anyone give me some advice? Xcode:Version 14.3.1 (14E300c)
1
0
1.1k
Aug ’23
Reply to Xcode 8 macOS Mojave
You'd better know one thing.Swift 2 to 3 migrator works better on Swift 2 code best fit for Swift 2.For example, old Swift 2.2 compiler suggests you to use `#selector` than using Selector(...). If your Swift 2 code is already fit for such suggestions, Swift 2 to 3 migrator generates better result. If you can run Xcode 7.3.1 or 8.2.1, you should better refine your code as best fit for Swift 2.
Jul ’18
Two Bugs
1. Audio randomly cutting out on this new Beta 3 Build. (reported)2. Cable Test hangs and does not complete on this new Beta 3 build (reported).Anyone else experiencing these two?
12
0
3.0k
Jul ’18
Can you publish 2 separate apps for 2 languages?
Hi, we are planing to publish an education app that comes in 2 languages, german and english. The plan was to publish 2 apps, each for each language and people can chose whichone to get. We did not want to include both languages in 1 package as the app is very heavy on videos and including both languages would be too big. If possible, we would like the keep the same App name but maybe adjust the icon to distinguish between german and english, but I would like to know what would be the recommended way to go about this? Again, having both languages inside the app is not really possible, alteast not without a big rework. Thanks!
3
0
866
Mar ’23
Reply to ForEach and HStack
The getValue function returns two different types in the two classes, Thanks for showing your code. And your code revealed that if you define a combined entity, your code all things would be solved.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’21
Rosetta 2: wrong scalar SSE results after x87 fsqrt/fdiv in translated x86_64 code
I'm seeing translated x86_64 code compute wrong floating-point results under Rosetta 2, with no fault raised. Filed as FB25702862. Posting here in case others hit it, and to ask whether anyone can check other macOS versions. Environment: macOS 27.2.1 (26B131), Apple M4 Max, Apple clang 21.0.0. Reproduce // clang -arch x86_64 -O1 -o repro repro.c && ./repro #include #include __attribute__((noinline)) static double f(float a, double v) { double d = a; // cvtss2sd xmm, xmm double r = (double)sqrtl((long double)v); // x87: fld / fsqrt / fstp return r - d; // subsd reads d } int main(void) { volatile float a = 24.0f; volatile double v = 7.9466; printf(got %.17gn, f(a, v)); printf(expected %.17gn, sqrt(v) - 24.0); return 0; }Output under Rosetta: got 2.8189714436297506 expected -21.181028556370251Built with -arch arm64 it prints the expected value. -O1, -O2 and -Os all fail the same way. What triggers it Three things in one basic block: A scalar conversion with a register source, such as
0
0
178
3d
Airplay 2
Haven't been able to test this yet, but does multi room support with Airplay 2 work on two apple TVs running tvOS 11.By this I mean can you use Airplay 2 to play a song on one apple tv and a different song on another?Thanks
Replies
0
Boosts
0
Views
608
Activity
Jun ’17
WeatherKit entitlement and key not propagated — WeatherDaemon fails to generate JWT (Code=2)
Hello Apple Developer Support Team, I am the Account Holder of my Apple Developer Program team (Team ID: T2BKUF6E93). My iOS app is using Swift WeatherKit (WeatherService) on device. Although my environment is completely configured, the system WeatherDaemon consistently fails to generate the WeatherKit JWT token. My environment: Team type: Apple Developer Program (paid) Team ID: T2BKUF6E93 Account role: Account Holder Xcode: latest version Device: iPhone (real device) Provisioning Profile: iOS Team Provisioning Profile (auto-managed) Entitlement: com.apple.developer.weatherkit included WeatherKit Key: created successfully (.p8 downloaded) Bundle ID: correct and WeatherKit capability enabled App reinstalled after each configuration change Device rebooted Even after enabling WeatherKit capability and generating a WeatherKit Key, the system still fails to generate JWT: Failed to generate jwt token for: com.apple.weatherkit.authservice Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code
Replies
0
Boosts
0
Views
461
Activity
Nov ’25
iMessage has merged 2 conversations of 2 different contacts
Hi all,I've 2 separate conversations with 2 different contacts (not the same phone number, nothing in commun).On my MacBook (High Sierra) everything works fine.But on my iPhone X running iOS 12 beta 3 (since beta 2 I've this bug), these 2 conversations are merged.When I write to one or another of these 2 contacts, it displays the 2 conversations in one screen. It merges them.When I try to create a new message, when I enter one of the 2 contacts, I don't know who receive the message, it's not always the same one that receive the message.That's really annoying.Does anyone have this issue too?I filled a bug reporter for that.Regards,Alexandre
Replies
23
Boosts
0
Views
52k
Activity
Jul ’18
Please Help: Thread 1: EXC_BAD_ACCESS (code=2, address=0x30ecb2ff8)
I have been trying to figure this out for like 5 hours, and I can't seem to see what its happening. My app is trying to get users signIn with using Google or Apple methods. Once they finish the SignUp with any provider, It should take them to another screen (OnboardingViewPart2) to finish the profile setup. However, the issue is that when I finish entering my email on the Google SignUp, the screen closes and the app get stuck for like 10 secs and throws the Bad Access error. My debug takes me that there is something going on with AuthService, but I can't figure out what. Firebase recognizes that the method was used, but doesn't create any Collections or Documents. Please Help :) ContentView.swift OnboardingView.swift AuthService.swift OnboardingViewPart2.swift SignInWithGoogle.swift
Replies
3
Boosts
0
Views
3.2k
Activity
Nov ’21
Airplay 2
Does the current beta support Airplay 2 and is it backwards compatible with Airplay?Does it require new Airplay 2 devices? If not, how to access multiroom features?Thanks!
Replies
2
Boosts
0
Views
2.3k
Activity
Jun ’17
Node.js aborts before JavaScript execution under sandbox-exec on macOS — LIBIGNITION termination code 2
I am investigating a startup failure when running Node.js under a restrictive sandbox-exec profile. I would appreciate guidance on diagnosing the failure and on a supported way to run a command-line process with restricted filesystem access and no network access. I have not established whether this is caused by my profile, the operating system, or another interaction. Environment macOS 26.6.2, build 25G83 Apple silicon, ARM64, without Rosetta Official Node.js 22.23.4 darwin-arm64 distribution; its archive SHA-256 matches the published checksum Python 3.14 launching the process from Terminal No sudo, application code, third-party JavaScript modules, credentials, or real user data The Node version above identifies the downloaded distribution. I have not confirmed a successful node --version execution in this restricted environment. Launch configuration The invocation has this form: /usr/bin/sandbox-exec -f -e Python uses subprocess.Popen, with: Working directory set to start_new_session=True Stand
Replies
1
Boosts
0
Views
249
Activity
3w
iHate Swift 2
Am I the only one who hates the big changes Apple makes this year? Why can't they make just small changes in Swift???? It's not hard to convert all my Code to Swift 2. It is IMPOSSIBLE. I get 9 errors, even if I could fix them and press the build and run Button I get 20 new errors. Every time. And most of them do really not make any sense. I will never ever switch to Swift 2. And if this means I can't build new Apps one day, that's ok. Even switching to Android is still better than switching from Swift 1 to Swift 2. I will not learn a completely new programming language every year. Because that's what Swift 2 is. Last year it was Swift. Now it's Swift 2. And next year? Will I have to learn Swift 3 which will also be a completely new language? No, thanks.
Replies
22
Boosts
0
Views
3.4k
Activity
Aug ’15
Two problems in the program compilation of the new version of xcode (the target code is the content filter of the network extension)
I'm trying to debug the official network extension sample code simplefirewall. Although it has been able to run normally and pops up user pop-up windows for the specified filter conditions, there are still two warnings and errors: [Window] Warning: Window NSWindow 0x1007315f0 ordered front from a non-active application and may order beneath the active application's windows. [default] CGSWindowShmemCreateWithPort failed on port 0 For the first warning, I followed the method given in https://developer.apple.com/forums/thread/729496 and added windo.makeKey() and window.orderFrontRegardless(), but this warning didn't go away. As for the second default, I haven't been able to find the corresponding root cause and solution of the problem. I would like to ask, can anyone give me some advice? Xcode:Version 14.3.1 (14E300c)
Replies
1
Boosts
0
Views
1.1k
Activity
Aug ’23
Reply to Xcode 8 macOS Mojave
You'd better know one thing.Swift 2 to 3 migrator works better on Swift 2 code best fit for Swift 2.For example, old Swift 2.2 compiler suggests you to use `#selector` than using Selector(...). If your Swift 2 code is already fit for such suggestions, Swift 2 to 3 migrator generates better result. If you can run Xcode 7.3.1 or 8.2.1, you should better refine your code as best fit for Swift 2.
Replies
Boosts
Views
Activity
Jul ’18
Two Bugs
1. Audio randomly cutting out on this new Beta 3 Build. (reported)2. Cable Test hangs and does not complete on this new Beta 3 build (reported).Anyone else experiencing these two?
Replies
12
Boosts
0
Views
3.0k
Activity
Jul ’18
Can you publish 2 separate apps for 2 languages?
Hi, we are planing to publish an education app that comes in 2 languages, german and english. The plan was to publish 2 apps, each for each language and people can chose whichone to get. We did not want to include both languages in 1 package as the app is very heavy on videos and including both languages would be too big. If possible, we would like the keep the same App name but maybe adjust the icon to distinguish between german and english, but I would like to know what would be the recommended way to go about this? Again, having both languages inside the app is not really possible, alteast not without a big rework. Thanks!
Replies
3
Boosts
0
Views
866
Activity
Mar ’23
Reply to ForEach and HStack
The getValue function returns two different types in the two classes, Thanks for showing your code. And your code revealed that if you define a combined entity, your code all things would be solved.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’21
Rosetta 2: wrong scalar SSE results after x87 fsqrt/fdiv in translated x86_64 code
I'm seeing translated x86_64 code compute wrong floating-point results under Rosetta 2, with no fault raised. Filed as FB25702862. Posting here in case others hit it, and to ask whether anyone can check other macOS versions. Environment: macOS 27.2.1 (26B131), Apple M4 Max, Apple clang 21.0.0. Reproduce // clang -arch x86_64 -O1 -o repro repro.c && ./repro #include #include __attribute__((noinline)) static double f(float a, double v) { double d = a; // cvtss2sd xmm, xmm double r = (double)sqrtl((long double)v); // x87: fld / fsqrt / fstp return r - d; // subsd reads d } int main(void) { volatile float a = 24.0f; volatile double v = 7.9466; printf(got %.17gn, f(a, v)); printf(expected %.17gn, sqrt(v) - 24.0); return 0; }Output under Rosetta: got 2.8189714436297506 expected -21.181028556370251Built with -arch arm64 it prints the expected value. -O1, -O2 and -Os all fail the same way. What triggers it Three things in one basic block: A scalar conversion with a register source, such as
Replies
0
Boosts
0
Views
178
Activity
3d