Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

165,590 results found

Post

Replies

Boosts

Views

Activity

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
956
Nov ’21
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
StoreKit 2 - Issue
Hello, Im trying to use in-app purchases for first time. I have followed the tutorial for StoreKit 2 from the WWDC21 and in the simulator with the StoreKit Configuration File all was OK. But now I want test to the real server and I have this response: Error enumerating unfinished transactions for first transaction listener: Error Domain=ASDErrorDomain Code=509 No active account UserInfo={client-environment-type=Sandbox, storefront-country-code=USA, NSLocalizedDescription=No active account} In Run -> StoreKit configuration I have selected none In AppleStoreConnect I have created the auto-renewal suscription like in my StoreKit configuration. Also I create a new StoreKit configuration from the AppleStoreConnect and with this file its OK too. None of my testflight testers can see the options to purchase. I dont create any sandbox user. It's the problem? I saw in the documentation thats not needed. I am thankful for any kind of help. David
2
0
3.2k
Oct ’22
Two-Factor Authentication Problem
Ever since setting up two-factor authenication, every time I log in to my account, I have to enter a code. Every time it tells me, You will not be asked for a verification code the next time you sign in. I click Trust, and yet it keeps asking me. Will it ever actually trust my browser and stop asking me, or is this just something I'm going to have to do every time?
6
0
2.5k
Mar ’19
Swift 2 SKEmitter Problem?
All,Before Apple released Swift 2 and Xcode 7 I was using the following Swift code to display Particles. It worked like a charm. Then the updates to Swift 2 and the particles just will not render and display. Here is the code does anyone know how I can fix it?let sparkEmitter = SKEmitterNode(fileNamed: zombie_slice.sks) sparkEmitter!.name = sparkEmitter sparkEmitter!.zPosition = 1 sparkEmitter!.targetNode = self sparkEmitter!.particleLifetime = 1 sparkEmitter!.position.x = self.player.position.x sparkEmitter!.position.y = self.player.position.y self.addChild(sparkEmitter!) let actionDone = SKAction.runBlock({self.zombieDeathSequenceEnded(node as! SKSpriteNode, zombieNumber: zombieToUseForDeathSequence as Int, theEmitter: sparkEmitter!)}) node.runAction(SKAction.sequence([zombie_death_anim, actionDone]))
1
0
325
Sep ’15
2 Apps (free and buying)
HiIs it possible to develop 2 Versions of all my Apps (one for free with iAds and the other one for buying). Does Apple accept this, even if I have 5 or 6 Apps. Then every App is twice in the App Store.I tried hard to use a InApp-Purchase Code to let the user buy the App and then let disappear the iAd. But without success. I have good codes that should work, but it didn't work when I tested it. I'm not that good in programming. But I nearly finished a working app.I started to create an App a few years ago, but then a few years ago, I stopped to develop, because I thought I can not finish it. Now I want to start again with this project and finish it. I think I can do it, if I always develop 2 Apps of each.thank you
2
0
661
Apr ’16
Watch OS 2: How to transfer data from Watch OS 2 to Mobile App when the two devices are disconnected.
My app requires me to send some data from the Watch OS to the Mobile OS while the two devices are in disconnected state. Is this possible with the transferuserinfo method of the WCSession class? Will the data be delivered?Documentation states that the transferUserInfo method should be used only when the WCSession is active. When the two devices are disconnected, if i call the WCSession activateSession method, will the session be considered as active on the Watch Device?Thanks in advance.
1
0
464
Mar ’16
WeatherKit JWT generation fails with WDSJWTAuthenticator Code=2 despite App ID capability, App Service, and provisioning profile all enabled
am seeing a persistent WeatherKit JWT generation failure with: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 I already reviewed the related forum discussion where DTS noted that the WeatherKit App Service must be enabled separately from the WeatherKit capability on the App ID. I have confirmed that both are enabled. Confirmed configuration Team ID: FYGW4LHN42 Diagnostic app bundle ID: com.elilindenDinematch.AppleServiceDiagnostics Device: physical iPhone iOS version: 26.5 App version: 1.0 (1) I created a fresh diagnostic app specifically to isolate this from my main app. The issue reproduces in the clean diagnostic app. I have confirmed: WeatherKit is checked under the App ID capabilities. WeatherKit is enabled under Certificates, Identifiers & Profiles → Services. The Services page shows WeatherKit with “Manage your WeatherKit usage,” a “View” button, and “100% of calls available.” A fresh provisioning profile was generated. The embedded provisioning profile is present
0
0
627
Jun ’26
TestFlight StoreKit 2 – Cross-device purchase restoration fails with ASDErrorDomain Code 509 (No active account)
Hello everyone, I am preparing my first iOS application for public release and have encountered a reproducible issue restoring a non-consumable in-app purchase across two physical iPhones using TestFlight and StoreKit 2. I would appreciate any guidance from developers or Apple engineers who have experienced similar behaviour. Testing environment App version: 1.0, Build 3 Purchase type: Non-consumable lifetime upgrade Distribution: TestFlight Primary device: iPhone 17, iOS 27.2.1 Secondary device: iPhone XR, iOS 18.7.3 Storefront: Australia Both devices display the same Apple Account under Media & Purchases. What works on the iPhone 17 Initial in-app purchase completes successfully. Premium functionality unlocks correctly. Restoring purchases on the same device succeeds. Premium access remains available during offline testing. What fails on the iPhone XR Install the same TestFlight build on the second device. Complete the initial application setup. Confirm that the application is running
0
0
109
1d
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
956
Activity
Nov ’21
cannot login with two factor authentication
I cannot login to my developer account with Safari and iPhone, the 2-factor code appears for less than a second on my iPhone and disappears before I can log in, also the screen to input the code does not appear on my Safari MacBookPro.Had similar problems with 2-factor login for Apple-ID in the past, these problems seem to have reappeared.
Replies
0
Boosts
0
Views
447
Activity
Jun ’20
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
StoreKit 2 - Issue
Hello, Im trying to use in-app purchases for first time. I have followed the tutorial for StoreKit 2 from the WWDC21 and in the simulator with the StoreKit Configuration File all was OK. But now I want test to the real server and I have this response: Error enumerating unfinished transactions for first transaction listener: Error Domain=ASDErrorDomain Code=509 No active account UserInfo={client-environment-type=Sandbox, storefront-country-code=USA, NSLocalizedDescription=No active account} In Run -> StoreKit configuration I have selected none In AppleStoreConnect I have created the auto-renewal suscription like in my StoreKit configuration. Also I create a new StoreKit configuration from the AppleStoreConnect and with this file its OK too. None of my testflight testers can see the options to purchase. I dont create any sandbox user. It's the problem? I saw in the documentation thats not needed. I am thankful for any kind of help. David
Replies
2
Boosts
0
Views
3.2k
Activity
Oct ’22
Two-Factor Authentication Problem
Ever since setting up two-factor authenication, every time I log in to my account, I have to enter a code. Every time it tells me, You will not be asked for a verification code the next time you sign in. I click Trust, and yet it keeps asking me. Will it ever actually trust my browser and stop asking me, or is this just something I'm going to have to do every time?
Replies
6
Boosts
0
Views
2.5k
Activity
Mar ’19
Swift 2 SKEmitter Problem?
All,Before Apple released Swift 2 and Xcode 7 I was using the following Swift code to display Particles. It worked like a charm. Then the updates to Swift 2 and the particles just will not render and display. Here is the code does anyone know how I can fix it?let sparkEmitter = SKEmitterNode(fileNamed: zombie_slice.sks) sparkEmitter!.name = sparkEmitter sparkEmitter!.zPosition = 1 sparkEmitter!.targetNode = self sparkEmitter!.particleLifetime = 1 sparkEmitter!.position.x = self.player.position.x sparkEmitter!.position.y = self.player.position.y self.addChild(sparkEmitter!) let actionDone = SKAction.runBlock({self.zombieDeathSequenceEnded(node as! SKSpriteNode, zombieNumber: zombieToUseForDeathSequence as Int, theEmitter: sparkEmitter!)}) node.runAction(SKAction.sequence([zombie_death_anim, actionDone]))
Replies
1
Boosts
0
Views
325
Activity
Sep ’15
2 Apps (free and buying)
HiIs it possible to develop 2 Versions of all my Apps (one for free with iAds and the other one for buying). Does Apple accept this, even if I have 5 or 6 Apps. Then every App is twice in the App Store.I tried hard to use a InApp-Purchase Code to let the user buy the App and then let disappear the iAd. But without success. I have good codes that should work, but it didn't work when I tested it. I'm not that good in programming. But I nearly finished a working app.I started to create an App a few years ago, but then a few years ago, I stopped to develop, because I thought I can not finish it. Now I want to start again with this project and finish it. I think I can do it, if I always develop 2 Apps of each.thank you
Replies
2
Boosts
0
Views
661
Activity
Apr ’16
Watch OS 2: How to transfer data from Watch OS 2 to Mobile App when the two devices are disconnected.
My app requires me to send some data from the Watch OS to the Mobile OS while the two devices are in disconnected state. Is this possible with the transferuserinfo method of the WCSession class? Will the data be delivered?Documentation states that the transferUserInfo method should be used only when the WCSession is active. When the two devices are disconnected, if i call the WCSession activateSession method, will the session be considered as active on the Watch Device?Thanks in advance.
Replies
1
Boosts
0
Views
464
Activity
Mar ’16
WeatherKit JWT generation fails with WDSJWTAuthenticator Code=2 despite App ID capability, App Service, and provisioning profile all enabled
am seeing a persistent WeatherKit JWT generation failure with: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 I already reviewed the related forum discussion where DTS noted that the WeatherKit App Service must be enabled separately from the WeatherKit capability on the App ID. I have confirmed that both are enabled. Confirmed configuration Team ID: FYGW4LHN42 Diagnostic app bundle ID: com.elilindenDinematch.AppleServiceDiagnostics Device: physical iPhone iOS version: 26.5 App version: 1.0 (1) I created a fresh diagnostic app specifically to isolate this from my main app. The issue reproduces in the clean diagnostic app. I have confirmed: WeatherKit is checked under the App ID capabilities. WeatherKit is enabled under Certificates, Identifiers & Profiles → Services. The Services page shows WeatherKit with “Manage your WeatherKit usage,” a “View” button, and “100% of calls available.” A fresh provisioning profile was generated. The embedded provisioning profile is present
Replies
0
Boosts
0
Views
627
Activity
Jun ’26
Composite two NSImages
Is it possible to combine two NSImages, one on top of another, specifying a blend mode? I have two images I would like to overlay, then display in an NSImageView. I appreciate any guidance. Thanks
Replies
2
Boosts
0
Views
504
Activity
Jan ’23
TestFlight StoreKit 2 – Cross-device purchase restoration fails with ASDErrorDomain Code 509 (No active account)
Hello everyone, I am preparing my first iOS application for public release and have encountered a reproducible issue restoring a non-consumable in-app purchase across two physical iPhones using TestFlight and StoreKit 2. I would appreciate any guidance from developers or Apple engineers who have experienced similar behaviour. Testing environment App version: 1.0, Build 3 Purchase type: Non-consumable lifetime upgrade Distribution: TestFlight Primary device: iPhone 17, iOS 27.2.1 Secondary device: iPhone XR, iOS 18.7.3 Storefront: Australia Both devices display the same Apple Account under Media & Purchases. What works on the iPhone 17 Initial in-app purchase completes successfully. Premium functionality unlocks correctly. Restoring purchases on the same device succeeds. Premium access remains available during offline testing. What fails on the iPhone XR Install the same TestFlight build on the second device. Complete the initial application setup. Confirm that the application is running
Replies
0
Boosts
0
Views
109
Activity
1d