Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

167,619 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
954
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
Communication between two process in macOS.
We have 2 process in our macOS application Daemon process written in golang Swift application Currently, the communication between both the process are done with Unix domain socket. However, we are seeing significant amount of delay when large amount of data communication. We are looking for some faster communication. Probably XPC is the answer. But not sure how to use XPC between two process which are written in different language. Any sample code would be great help.
1
0
1.6k
Jun ’23
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
529
Jun ’26
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
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
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
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
657
Apr ’16
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
423
Activity
Feb ’18
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
954
Activity
Nov ’21
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
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
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
446
Activity
Jun ’20
Communication between two process in macOS.
We have 2 process in our macOS application Daemon process written in golang Swift application Currently, the communication between both the process are done with Unix domain socket. However, we are seeing significant amount of delay when large amount of data communication. We are looking for some faster communication. Probably XPC is the answer. But not sure how to use XPC between two process which are written in different language. Any sample code would be great help.
Replies
1
Boosts
0
Views
1.6k
Activity
Jun ’23
Reply to endpoint security app crash
This sounded really familiar. I asked the same thing 2 years ago on this thread. Code 2
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
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
529
Activity
Jun ’26
HTTP/2 and HLS
Does HLS take advantage of the features provided by HTTP/2 standartAll i found on the internet are articles about DASH + HTTP/2
Replies
1
Boosts
0
Views
1.5k
Activity
Mar ’17
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
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
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
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
657
Activity
Apr ’16