Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

164,071 results found

Post

Replies

Boosts

Views

Activity

Storekit 2 Error
I got this error while fetching products using storekit 2 in swiftui. 2023-05-23 12:19:51.196042+0530 SKDemo[1183:172700] [Default] Error enumerating unfinished transactions for first transaction listener: Error Domain=ASDErrorDomain Code=500 (null) UserInfo={client-environment-type=Sandbox, storefront-country-code=AUS, NSUnderlyingError=0x2812e0210 {Error Domain=AMSErrorDomain Code=301 Invalid Status Code UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?REDACTED, AMSStatusCode=500, AMSServerPayload={ errorCode = 5000001; errorMessage = An unknown error occurred. Please try again.; okButtonString = OK; }, NSLocalizedFailureReason=The response has an invalid status code}}} 2023-05-23 12:19:58.672549+0530 SKDemo[1183:172693] [Default] Error enumerating all current transactions: Error Domain=ASDErrorDomain Code=500 (null) UserInfo={NSUnderlyingError=0x2812d5f50 {Error Domai
1
0
1.4k
May ’23
2 Requests for Rosetta: support BMI1/2 and F16C and support also AVX1/2 on Rosetta Linux..
Hi, REQUEST 1: seems Microsoft is ahead of Apple in X86 ARM emulation support at least in features supported.. see: https://blogs.windows.com/windows-insider/2024/11/06/announcing-windows-11-insider-preview-build-27744-canary-channel/ x64 emulated applications through Prism will now have support for additional extensions to the x86 instruction set architecture. These extensions include AVX and AVX2, as well as BMI, FMA, F16C BMI1/2 and F16C aren't yet supported by Rosetta.. would be useful for games like Alan Wake 2.. so asking for Rosetta equaling features to Prism emulator.. REQUEST 2: there is no way to currently enable AVX1/2 on Rosetta Linux.. on macOS using export ROSETTA_ADVERTISE_AVX=1 does the trick.. but not on Linux VM's.. tested setting this via: /bin/launchctl setenv ROSETTA_ADVERTISE_AVX 1 on Mac before VM launch and inside Linux VM but AVX2 isn't exposed..
3
0
2.2k
Nov ’24
Two ViewController with one View
I am a view that want to present two different look while receiving different data. And I don't want to use if-else statement to handle cause it will make the code too clumsy and hard to modify. So I create two viewController to do it, but it doesn't seem to be a good way. Any suggestion with this situation? Thank you guys.
1
0
349
May ’22
WeatherKit WDSJWTAuthenticatorServiceListener.Errors Code=2 despite fully verified entitlement — App ID needs backend token-generation sync?
WeatherService fails on every request with: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) hourly forecast fetch failed: … Code=2 I've verified the entire setup and the error persists, which points to the App ID's WeatherKit token generation not being provisioned on Apple's backend: Team ID: 2LWCLD2636 Bundle ID: com.hoagiecorps.poppit WeatherKit capability and App Service both enabled on the App ID. com.apple.developer.weatherkit entitlement present in the signed binary and the embedded provisioning profile (verified via codesign -d --entitlements). A TestFlight build carrying the entitlement has been processed (VALID). Location authorized (When-In-Use); valid coordinates are obtained — the failure is purely the JWT auth step. Tried: device reboot, VPN off, iCloud Private Relay off, cycling the WeatherKit capability off/on plus regenerating the profile and clean rebuild, and waiting several days. Physical device, iOS 26. Could someone from the Weathe
1
0
182
4w
Two-Factor Authentication Loop?
So I have the following devices:- MacBook (10.12 BETA 2)- iPhone (10 BETA 2)- iPad (10 BETA 2)- Apple Watch (3.0 BETA 2)Two-factor authentication is enabled for the Auto-Unlock with Watch feature.Everything was working fine. Then I've decided to login on iCloud in my work computer (MacBook, 10.11). iPhone went crazy with the iCloud security stuff, so now it seems it has remained in a mid-term state.So my iPhone is a trusted-device still, but for some reason, trusted features are disabled (Keychain, HomeKit). Trying to login on iCloud in the phone requires password AND a security code, which shouldn't be required as the phone is still a trusted iCloud device. However I can't seem to type the security code on the phone since the keyboard does not appear.Crazy scenario, I reckon, but it might happen for other users as well, so it's good to point it out.I've already filled a bug report, but this post might be helpful too.
0
0
968
Jul ’16
Learn to Code 2 > Variables > Three Gems, Four Switches
My while loop continues execution after reaching gemsCollected = 3 if I use OR logical operator (||) and stops execution if I use AND logical operator (&&). IMHO it should be the other way around, right? var gemsCollected = 0 var switchesToggled = 0 while gemsCollected < 3 || switchesToggled < 4 { moveForward() if gemsCollected < 3 && isOnGem { collectGem() gemsCollected = gemsCollected + 1 } else if switchesToggled < 4 && isOnClosedSwitch { toggleSwitch() switchesToggled = switchesToggled + 1 } else if isBlocked && !isBlockedRight { turnRight() } else if isBlocked && !isBlockedLeft { turnLeft() } }
1
0
1.3k
Jul ’23
El capitan Beta 2
I am unable to download El Cap Beta 2, as it says my code has already been redeemed.* Updates in the App Store only shows the previous Beta 1, that wouldn't install at all (El Cap doesn't my hard disk in beta 1, this was similar in yos beta 1).* I need to do a clean install of beta 2 (as beta 1 wouldn't install, i can't simply update it) Does anyone know a way around this, some way to remove the previous purchase of beta 1, or reset my redeem code some other way?Any ideas would be awesome.
7
0
3.2k
Jun ’15
Merge Two iPhone Apps Into One Yet Two Teams
We have two iPhone/iPad apps. We most likely will merge them into one app. Let's say two teams from different companies that were working on the separate apps will work on the single merged app. From an inner-app architecture point of view and from the above multi-team context, what's a good way to merge the two apps together? (KMT, thank you for your feedback. I totally agree that the question was not clear.)
1
0
728
Aug ’16
how to have 2 functions with one button
I was wondering how i could have 2 functions work from 1 button. One would happen on the first time you click and second will happen the second time you click. in java something like this: if button pressed{ // Code if button pressed{ // Code } } or at least that's how I was taught in java. so I'm wondering how I could do that in swift. Thanks!
1
0
867
Feb ’22
Reply to Autorotation not working
I have identified a related issue. The shouldAutorotate function doesn't fire on iOS9 beta 5 when running on the iPad Air 2 128 GB.Thus far I have tested the following code on iOS9 Beta 5 on an iPhone 4S, iPhone 6, iPad 2, iPad3, and an iPad Air 2. The code executes on rotation on every device except the ipad air 2. On the the iPad Air 2 the code is completely ignored.import UIKit class ViewController: UIViewController { override func shouldAutorotate() -> Bool { print(ShouldAutorotate) return false } }
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’15
Started seeing this issue happen frequently with Call Directory extension from iOS 15 onwards: Domain=com.apple.CallKit.error.calldirectorymanager Code=2 "(null)".
Hi, We have an app that manages incoming and outgoing calls for users. As part of that, the app needs to frequently keep updating the list of blocked numbers in the Call Directory Extension. The functionality was working quite well till iOS 14, however, since we started testing on iOS 15, we're seeing a lot of these errors when we try to reload the Call Directory extension: Domain=com.apple.CallKit.error.calldirectorymanager Code=2 (null) The documentation says this error code means: The call directory manager was interrupted while loading the app extension. We're not sure why it was interrupted and was it interrupted by the OS or by something that we did from our app. Please let us know when this error code might happen and if there's anything we can do from the app side to fix it.
1
0
939
Nov ’21
How do I compare two MKPlacemarks?
I compare two MKPlacemarks that are each created from a CLPlacemark acquired from CLGeocoder.reverseGeocodeLocation(_:) of the same address, but when I compare those two MKPlacemarks with == they don't equal. Is there a way of determining whether those two placemarks refer to the same location? Are there unique identifers on MKPlacemarks that I could use to determine if those two placemarks are of the same location, such as the name or the title properities of MKPlacemark?
4
0
1.5k
Mar ’18
two factor
so i am trying to enroll on to the developer program - as soon as i click enroll it asks me to update my account with two factor authentication? how do i do this without ios device
Replies
2
Boosts
0
Views
754
Activity
Feb ’19
Storekit 2 Error
I got this error while fetching products using storekit 2 in swiftui. 2023-05-23 12:19:51.196042+0530 SKDemo[1183:172700] [Default] Error enumerating unfinished transactions for first transaction listener: Error Domain=ASDErrorDomain Code=500 (null) UserInfo={client-environment-type=Sandbox, storefront-country-code=AUS, NSUnderlyingError=0x2812e0210 {Error Domain=AMSErrorDomain Code=301 Invalid Status Code UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?REDACTED, AMSStatusCode=500, AMSServerPayload={ errorCode = 5000001; errorMessage = An unknown error occurred. Please try again.; okButtonString = OK; }, NSLocalizedFailureReason=The response has an invalid status code}}} 2023-05-23 12:19:58.672549+0530 SKDemo[1183:172693] [Default] Error enumerating all current transactions: Error Domain=ASDErrorDomain Code=500 (null) UserInfo={NSUnderlyingError=0x2812d5f50 {Error Domai
Replies
1
Boosts
0
Views
1.4k
Activity
May ’23
2 Requests for Rosetta: support BMI1/2 and F16C and support also AVX1/2 on Rosetta Linux..
Hi, REQUEST 1: seems Microsoft is ahead of Apple in X86 ARM emulation support at least in features supported.. see: https://blogs.windows.com/windows-insider/2024/11/06/announcing-windows-11-insider-preview-build-27744-canary-channel/ x64 emulated applications through Prism will now have support for additional extensions to the x86 instruction set architecture. These extensions include AVX and AVX2, as well as BMI, FMA, F16C BMI1/2 and F16C aren't yet supported by Rosetta.. would be useful for games like Alan Wake 2.. so asking for Rosetta equaling features to Prism emulator.. REQUEST 2: there is no way to currently enable AVX1/2 on Rosetta Linux.. on macOS using export ROSETTA_ADVERTISE_AVX=1 does the trick.. but not on Linux VM's.. tested setting this via: /bin/launchctl setenv ROSETTA_ADVERTISE_AVX 1 on Mac before VM launch and inside Linux VM but AVX2 isn't exposed..
Replies
3
Boosts
0
Views
2.2k
Activity
Nov ’24
Two ViewController with one View
I am a view that want to present two different look while receiving different data. And I don't want to use if-else statement to handle cause it will make the code too clumsy and hard to modify. So I create two viewController to do it, but it doesn't seem to be a good way. Any suggestion with this situation? Thank you guys.
Replies
1
Boosts
0
Views
349
Activity
May ’22
WeatherKit WDSJWTAuthenticatorServiceListener.Errors Code=2 despite fully verified entitlement — App ID needs backend token-generation sync?
WeatherService fails on every request with: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) hourly forecast fetch failed: … Code=2 I've verified the entire setup and the error persists, which points to the App ID's WeatherKit token generation not being provisioned on Apple's backend: Team ID: 2LWCLD2636 Bundle ID: com.hoagiecorps.poppit WeatherKit capability and App Service both enabled on the App ID. com.apple.developer.weatherkit entitlement present in the signed binary and the embedded provisioning profile (verified via codesign -d --entitlements). A TestFlight build carrying the entitlement has been processed (VALID). Location authorized (When-In-Use); valid coordinates are obtained — the failure is purely the JWT auth step. Tried: device reboot, VPN off, iCloud Private Relay off, cycling the WeatherKit capability off/on plus regenerating the profile and clean rebuild, and waiting several days. Physical device, iOS 26. Could someone from the Weathe
Replies
1
Boosts
0
Views
182
Activity
4w
Two-Factor Authentication Loop?
So I have the following devices:- MacBook (10.12 BETA 2)- iPhone (10 BETA 2)- iPad (10 BETA 2)- Apple Watch (3.0 BETA 2)Two-factor authentication is enabled for the Auto-Unlock with Watch feature.Everything was working fine. Then I've decided to login on iCloud in my work computer (MacBook, 10.11). iPhone went crazy with the iCloud security stuff, so now it seems it has remained in a mid-term state.So my iPhone is a trusted-device still, but for some reason, trusted features are disabled (Keychain, HomeKit). Trying to login on iCloud in the phone requires password AND a security code, which shouldn't be required as the phone is still a trusted iCloud device. However I can't seem to type the security code on the phone since the keyboard does not appear.Crazy scenario, I reckon, but it might happen for other users as well, so it's good to point it out.I've already filled a bug report, but this post might be helpful too.
Replies
0
Boosts
0
Views
968
Activity
Jul ’16
Learn to Code 2 > Variables > Three Gems, Four Switches
My while loop continues execution after reaching gemsCollected = 3 if I use OR logical operator (||) and stops execution if I use AND logical operator (&&). IMHO it should be the other way around, right? var gemsCollected = 0 var switchesToggled = 0 while gemsCollected < 3 || switchesToggled < 4 { moveForward() if gemsCollected < 3 && isOnGem { collectGem() gemsCollected = gemsCollected + 1 } else if switchesToggled < 4 && isOnClosedSwitch { toggleSwitch() switchesToggled = switchesToggled + 1 } else if isBlocked && !isBlockedRight { turnRight() } else if isBlocked && !isBlockedLeft { turnLeft() } }
Replies
1
Boosts
0
Views
1.3k
Activity
Jul ’23
El capitan Beta 2
I am unable to download El Cap Beta 2, as it says my code has already been redeemed.* Updates in the App Store only shows the previous Beta 1, that wouldn't install at all (El Cap doesn't my hard disk in beta 1, this was similar in yos beta 1).* I need to do a clean install of beta 2 (as beta 1 wouldn't install, i can't simply update it) Does anyone know a way around this, some way to remove the previous purchase of beta 1, or reset my redeem code some other way?Any ideas would be awesome.
Replies
7
Boosts
0
Views
3.2k
Activity
Jun ’15
Merge Two iPhone Apps Into One Yet Two Teams
We have two iPhone/iPad apps. We most likely will merge them into one app. Let's say two teams from different companies that were working on the separate apps will work on the single merged app. From an inner-app architecture point of view and from the above multi-team context, what's a good way to merge the two apps together? (KMT, thank you for your feedback. I totally agree that the question was not clear.)
Replies
1
Boosts
0
Views
728
Activity
Aug ’16
how to have 2 functions with one button
I was wondering how i could have 2 functions work from 1 button. One would happen on the first time you click and second will happen the second time you click. in java something like this: if button pressed{ // Code if button pressed{ // Code } } or at least that's how I was taught in java. so I'm wondering how I could do that in swift. Thanks!
Replies
1
Boosts
0
Views
867
Activity
Feb ’22
Update on Airplay 2
Hi,What is the status on Airplay 2. Would be handy to have an small update on when multiroom and Airplay 2 is expected to be available on the iOS beta.Also a window in which Airplay 2 would be launched would be great.
Replies
0
Boosts
0
Views
422
Activity
Feb ’18
Reply to Autorotation not working
I have identified a related issue. The shouldAutorotate function doesn't fire on iOS9 beta 5 when running on the iPad Air 2 128 GB.Thus far I have tested the following code on iOS9 Beta 5 on an iPhone 4S, iPhone 6, iPad 2, iPad3, and an iPad Air 2. The code executes on rotation on every device except the ipad air 2. On the the iPad Air 2 the code is completely ignored.import UIKit class ViewController: UIViewController { override func shouldAutorotate() -> Bool { print(ShouldAutorotate) return false } }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’15
Swift 2 is compatible with Swift 1.2?
HelloI have a app created using Swift 1.2, when the Swift 2 is released my app can be updated to Swift 2? I will need to change something in my code?
Replies
7
Boosts
0
Views
1.2k
Activity
Jul ’15
Started seeing this issue happen frequently with Call Directory extension from iOS 15 onwards: Domain=com.apple.CallKit.error.calldirectorymanager Code=2 "(null)".
Hi, We have an app that manages incoming and outgoing calls for users. As part of that, the app needs to frequently keep updating the list of blocked numbers in the Call Directory Extension. The functionality was working quite well till iOS 14, however, since we started testing on iOS 15, we're seeing a lot of these errors when we try to reload the Call Directory extension: Domain=com.apple.CallKit.error.calldirectorymanager Code=2 (null) The documentation says this error code means: The call directory manager was interrupted while loading the app extension. We're not sure why it was interrupted and was it interrupted by the OS or by something that we did from our app. Please let us know when this error code might happen and if there's anything we can do from the app side to fix it.
Replies
1
Boosts
0
Views
939
Activity
Nov ’21
How do I compare two MKPlacemarks?
I compare two MKPlacemarks that are each created from a CLPlacemark acquired from CLGeocoder.reverseGeocodeLocation(_:) of the same address, but when I compare those two MKPlacemarks with == they don't equal. Is there a way of determining whether those two placemarks refer to the same location? Are there unique identifers on MKPlacemarks that I could use to determine if those two placemarks are of the same location, such as the name or the title properities of MKPlacemark?
Replies
4
Boosts
0
Views
1.5k
Activity
Mar ’18