Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

165,590 results found

Post

Replies

Boosts

Views

Activity

Fox2: SCNVector3... unavailable in swift error compiling sample code Xcode 9 beta 2
Hello, I'm trying to compile the code from Fox2 available athttps://developer.apple.com/videos/play/wwdc2017/604/Fox2This code uses the new features of SceneKit and I presume it can only run if you have the latest beta macOS High Sierra and Xcode Beta (I have beta 2).I downloaded the app and added developer signing. I also tried to run in my iOS device (also iOS 11 beta 2), but the code doesn't even compile. It's showing SNCVector3... errors, e.g.SCNVector3FromFloat3 is unavailable in Swift --> SCNVector3FromFloat3. has been explicitly marked unavailable hereSCNMatrix4FromMat4 is unavailable in Swift --> SCNMatrix4FromMat4. has been explicitly marked unavailable hereSCNVector3ToFloat is unavailable in Swift --> SCNVector3ToFloat. has been explicitly marked unavailable hereWhat could be wrong in my setup?
2
0
1.1k
Jul ’17
Planning to submit 3rd kind of app with the same code base from the 2 previous releases
Hi,Our team is planning to submit a new app to the app store but we want to know if what we are planning to do violates the App Store guidelines.Basically, we have already submitted 2 apps in the store(approved by Apple) with both of them have the same code baseline except that each of the apps are pointing to a different server address and also different branding (app name, logo, splash screen, etc). We are now planning to do the same for the 3rd time and wondering if this will violates the store's guidelines.Regards.Rodel
0
0
107
Aug ’15
electron mac app crash on the testFlight [Namespace CODESIGNING, Code 2]
crash log ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: OneKey [20876] Path: /Applications/OneKey.app/Contents/MacOS/OneKey Identifier: so.onekey.wallet Version: 3.16.2 (202211070943) App Item ID: 1609559473 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2022-11-07 17:32:42.4372 +0800 OS Version: macOS 12.5 (21G72) Report Version: 12 Anonymous UUID: Sleep/Wake UUID: 5E78A6FD-4E76-458B-B1F7-DC8CCC4497B6 Time Awake Since Boot: 80000 seconds Time Since Wake: 7078 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)) Exception Codes: UNKNOWN_0x32 at 0x0000000148048a40 Exception Codes: 0x0000000000000032, 0x0000000148048a40 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace CODESIGNING, Code 2 VM Region Info: 0x148048a40 is in 0x1
5
0
1.8k
Nov ’22
AudioRecorderController not recording audio, watchOS 2 GM: error code 6
The following code is not recording audio on real device running GM.The AudioRecorderController show for 1 sec, and finishes with (finished: false, error: error code 6).https://gist.github.com/anonymous/7cd3b082233ea918338fThe same code worked on real device before GM. Also, it worked on the simulator come with Xcode 7 GM.Did anyone see similar problem?
1
0
450
Sep ’15
Persistent WeatherKit JWT Authentication Failure (Error Code 2) Despite Correct Entitlement
I am a new developer but here is my issue...I am experiencing a persistent WeatherKit authentication failure in my iOS app, resulting in the error WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2. I have verified my configuration and am looking for guidance on next steps. Environment: Xcode Version: 26.6 iOS Version: 26.6 Device: Physical iPhone Apple Developer Program: Paid WeatherKit Usage: Native WeatherKit.WeatherService API (not REST) Steps Already Verified: Xcode: The WeatherKit capability is enabled in Signing & Capabilities. Apple Developer Portal: The WeatherKit capability is enabled for the specific App ID (com.carmineloschiavo.X-StreamWeather) under App Services. Entitlements: The com.apple.developer.weatherkit entitlement is present in the signed app binary and the embedded provisioning profile. Bundle ID: The Bundle ID in Xcode exactly matches the App ID in the portal. Provisioning Profile: I have regenerated the provisioning profile after enabling WeatherKit.
Topic: UI Frameworks SubTopic: SwiftUI
0
0
85
Aug ’26
WeatherKit Error Code 2 – JWT auth fails on device despite correct entitlements
Hey, I've been banging my head against this for a few days now and genuinely can't figure out if it's something on my end or an Apple backend issue. My app has WeatherKit integrated and it works fine in the simulator, but on my physical device I consistently get this in the console: Failed to generate jwt token for: com.apple.weatherkit.authservice Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) Things I've already tried and ruled out: WeatherKit capability is enabled in the App ID on developer.apple.com ✓ com.apple.developer.weatherkit = true is in the entitlements file ✓ Removed and re-added the capability in Xcode Signing & Capabilities ✓ Clean Build Folder, fresh install on device ✓ The location coordinates are valid (hardcoded lat/lon in Bavaria) ✓ The weird part is that it's not a location issue — Error Code 2 from WDSJWTAuthenticatorServiceListener suggests the JWT generation itself is failing before any location lookup even hap
2
0
688
Jun ’26
WeatherKit JWT token generation fails with WDSJWTAuthenticator Code=2 despite correct entitlement
I enabled the WeatherKit capability on my App ID (com.saimcan.darkweather, Team 6SWSD6V4ZC) about 12 hours ago. The entitlement is embedded in the binary and the provisioning profile authorizes it, but every request fails at the JWT generation step. Error from the logs: Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) Relevant log excerpt (iOS 26.4 Simulator, same result on a physical device): [AuthService] Calling process is 3rd party process and has the correct entitlement ... accepting the connection [AuthService] Received proxy request for generating a jwt token. url=https://weatherkit.apple.com [WeatherDataService] Starting to generate JWT token request. bundleIdentifier=com.saimcan.darkweather [AuthService] Signed successfully [WeatherDataService] Make new JWT token request. requestIdentifier=... [AuthService] Failed to generate jwt token ... Code=2 What I have verified: Active Apple Developer Program membership (renewed through April
5
0
733
Apr ’26
com.apple.xpc.launchd[1]: (com.apple.mrt[1153]) Service exited with abnormal code: 2
Hi All!.El Capitan Beta 3 Installed,This messages on the console constantly:29/7/15 7:07:56,279 p.m. smd[192]: Could not remove job com.apple.mrt: 150: Operation not permitted while System Integrity Protection is engaged29/7/15 7:07:56,294 p.m. com.apple.xpc.launchd[1]: (com.apple.mrt[1194]) Service exited with abnormal code: 229/7/15 7:07:56,295 p.m. com.apple.xpc.launchd[1]: (com.apple.mrt) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.How can i fix this?
6
0
15k
Jul ’15
Bug in ‘Learn to Code 2’ – ‘Variables: Seeking Seven Gems’ Causing Errors Regardless of Actions
I’ve encountered a bug in Swift Playgrounds within “Learn to Code 2”, specifically in the “Variables: Seeking Seven Gems” section. No matter what I do—or even if I do nothing at all—an error always occurs. I’ve tested this on both an iPad (9th generation) and an iPad Pro 11-inch (4th generation), and the issue happens on both devices. Has anyone else experienced this? Any ideas on how to fix or work around it? Thanks!
1
0
862
Feb ’25
Notification payload sent to APNS through HTTP/2 Request with status code 200
Hi all, I'm trying to send 1000 notification payload to APNS server for the same device token. When my program sent out the notification payload to APNS, through http/2 and getting the response 200 for all my requests. And it confirms that the payload is sent to APNS server. However, the device cannot receive any notification, did i missed anything!
1
0
909
Jun ’21
I have two sets of code which are literally same but only one code set works and another doesn't
import Foundation enum VideoDetails: String, CaseIterable{ case Nature , Food , Animals , Travel } struct ResponseBody: Decodable { var page: Int var perPage: Int var totalResults: Int var url: String var videos: [Video] } struct Video: Identifiable, Decodable{ var id: Int var image: String var duration: Int var user: User var videofiles: [VideoFile] struct User: Identifiable, Decodable { var id: Int var name: String var url: String } struct VideoFile: Identifiable, Decodable { var id: Int var quality: String var fileType: String var link: String } } //this one doesn't work but the below code works perfectly can anyone why it is happening import Foundation enum VideoDetails: String, CaseIterable{ case Nature , Food , Animals , Travel } struct Video: Identifiable, Decodable { var id: Int var image: String var duration: Int var user: User var videoFiles: [VideoFile] struct User: Identifiable, Decodable { var id: Int var name: String var url: String } struct VideoFile: Identifiable, Decodable { var id:
3
0
626
Sep ’22
WWDC App Doesn't allow login with 2 Step Code on iPhone X
I was just testing out the WWDC app ability to add a passcode for the WWDC ticket to the iPhone on my iPhone X.But I noticed the page to request a 2 step token has the wrong top margins, so once you get to that screen you cannot continue or cancel.Raised bug radar https://bugreport.apple.com/web/?problemID=38898852.Given WWDC tickets are now announced, and this version of the App is meant to be compatible with iPhone X, then I thought I'd raise it here so it doesn't slip through the gaps.Looking forward to it this year, see you there.
0
0
790
Apr ’18
Fox2: SCNVector3... unavailable in swift error compiling sample code Xcode 9 beta 2
Hello, I'm trying to compile the code from Fox2 available athttps://developer.apple.com/videos/play/wwdc2017/604/Fox2This code uses the new features of SceneKit and I presume it can only run if you have the latest beta macOS High Sierra and Xcode Beta (I have beta 2).I downloaded the app and added developer signing. I also tried to run in my iOS device (also iOS 11 beta 2), but the code doesn't even compile. It's showing SNCVector3... errors, e.g.SCNVector3FromFloat3 is unavailable in Swift --> SCNVector3FromFloat3. has been explicitly marked unavailable hereSCNMatrix4FromMat4 is unavailable in Swift --> SCNMatrix4FromMat4. has been explicitly marked unavailable hereSCNVector3ToFloat is unavailable in Swift --> SCNVector3ToFloat. has been explicitly marked unavailable hereWhat could be wrong in my setup?
Replies
2
Boosts
0
Views
1.1k
Activity
Jul ’17
Planning to submit 3rd kind of app with the same code base from the 2 previous releases
Hi,Our team is planning to submit a new app to the app store but we want to know if what we are planning to do violates the App Store guidelines.Basically, we have already submitted 2 apps in the store(approved by Apple) with both of them have the same code baseline except that each of the apps are pointing to a different server address and also different branding (app name, logo, splash screen, etc). We are now planning to do the same for the 3rd time and wondering if this will violates the store's guidelines.Regards.Rodel
Replies
0
Boosts
0
Views
107
Activity
Aug ’15
electron mac app crash on the testFlight [Namespace CODESIGNING, Code 2]
crash log ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: OneKey [20876] Path: /Applications/OneKey.app/Contents/MacOS/OneKey Identifier: so.onekey.wallet Version: 3.16.2 (202211070943) App Item ID: 1609559473 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2022-11-07 17:32:42.4372 +0800 OS Version: macOS 12.5 (21G72) Report Version: 12 Anonymous UUID: Sleep/Wake UUID: 5E78A6FD-4E76-458B-B1F7-DC8CCC4497B6 Time Awake Since Boot: 80000 seconds Time Since Wake: 7078 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)) Exception Codes: UNKNOWN_0x32 at 0x0000000148048a40 Exception Codes: 0x0000000000000032, 0x0000000148048a40 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace CODESIGNING, Code 2 VM Region Info: 0x148048a40 is in 0x1
Replies
5
Boosts
0
Views
1.8k
Activity
Nov ’22
AudioRecorderController not recording audio, watchOS 2 GM: error code 6
The following code is not recording audio on real device running GM.The AudioRecorderController show for 1 sec, and finishes with (finished: false, error: error code 6).https://gist.github.com/anonymous/7cd3b082233ea918338fThe same code worked on real device before GM. Also, it worked on the simulator come with Xcode 7 GM.Did anyone see similar problem?
Replies
1
Boosts
0
Views
450
Activity
Sep ’15
Persistent WeatherKit JWT Authentication Failure (Error Code 2) Despite Correct Entitlement
I am a new developer but here is my issue...I am experiencing a persistent WeatherKit authentication failure in my iOS app, resulting in the error WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2. I have verified my configuration and am looking for guidance on next steps. Environment: Xcode Version: 26.6 iOS Version: 26.6 Device: Physical iPhone Apple Developer Program: Paid WeatherKit Usage: Native WeatherKit.WeatherService API (not REST) Steps Already Verified: Xcode: The WeatherKit capability is enabled in Signing & Capabilities. Apple Developer Portal: The WeatherKit capability is enabled for the specific App ID (com.carmineloschiavo.X-StreamWeather) under App Services. Entitlements: The com.apple.developer.weatherkit entitlement is present in the signed app binary and the embedded provisioning profile. Bundle ID: The Bundle ID in Xcode exactly matches the App ID in the portal. Provisioning Profile: I have regenerated the provisioning profile after enabling WeatherKit.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
0
Boosts
0
Views
85
Activity
Aug ’26
WeatherKit Error Code 2 – JWT auth fails on device despite correct entitlements
Hey, I've been banging my head against this for a few days now and genuinely can't figure out if it's something on my end or an Apple backend issue. My app has WeatherKit integrated and it works fine in the simulator, but on my physical device I consistently get this in the console: Failed to generate jwt token for: com.apple.weatherkit.authservice Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) Things I've already tried and ruled out: WeatherKit capability is enabled in the App ID on developer.apple.com ✓ com.apple.developer.weatherkit = true is in the entitlements file ✓ Removed and re-added the capability in Xcode Signing & Capabilities ✓ Clean Build Folder, fresh install on device ✓ The location coordinates are valid (hardcoded lat/lon in Bavaria) ✓ The weird part is that it's not a location issue — Error Code 2 from WDSJWTAuthenticatorServiceListener suggests the JWT generation itself is failing before any location lookup even hap
Replies
2
Boosts
0
Views
688
Activity
Jun ’26
WeatherKit JWT token generation fails with WDSJWTAuthenticator Code=2 despite correct entitlement
I enabled the WeatherKit capability on my App ID (com.saimcan.darkweather, Team 6SWSD6V4ZC) about 12 hours ago. The entitlement is embedded in the binary and the provisioning profile authorizes it, but every request fails at the JWT generation step. Error from the logs: Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) Relevant log excerpt (iOS 26.4 Simulator, same result on a physical device): [AuthService] Calling process is 3rd party process and has the correct entitlement ... accepting the connection [AuthService] Received proxy request for generating a jwt token. url=https://weatherkit.apple.com [WeatherDataService] Starting to generate JWT token request. bundleIdentifier=com.saimcan.darkweather [AuthService] Signed successfully [WeatherDataService] Make new JWT token request. requestIdentifier=... [AuthService] Failed to generate jwt token ... Code=2 What I have verified: Active Apple Developer Program membership (renewed through April
Replies
5
Boosts
0
Views
733
Activity
Apr ’26
com.apple.xpc.launchd[1]: (com.apple.mrt[1153]) Service exited with abnormal code: 2
Hi All!.El Capitan Beta 3 Installed,This messages on the console constantly:29/7/15 7:07:56,279 p.m. smd[192]: Could not remove job com.apple.mrt: 150: Operation not permitted while System Integrity Protection is engaged29/7/15 7:07:56,294 p.m. com.apple.xpc.launchd[1]: (com.apple.mrt[1194]) Service exited with abnormal code: 229/7/15 7:07:56,295 p.m. com.apple.xpc.launchd[1]: (com.apple.mrt) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.How can i fix this?
Replies
6
Boosts
0
Views
15k
Activity
Jul ’15
Bug in ‘Learn to Code 2’ – ‘Variables: Seeking Seven Gems’ Causing Errors Regardless of Actions
I’ve encountered a bug in Swift Playgrounds within “Learn to Code 2”, specifically in the “Variables: Seeking Seven Gems” section. No matter what I do—or even if I do nothing at all—an error always occurs. I’ve tested this on both an iPad (9th generation) and an iPad Pro 11-inch (4th generation), and the issue happens on both devices. Has anyone else experienced this? Any ideas on how to fix or work around it? Thanks!
Replies
1
Boosts
0
Views
862
Activity
Feb ’25
Notification payload sent to APNS through HTTP/2 Request with status code 200
Hi all, I'm trying to send 1000 notification payload to APNS server for the same device token. When my program sent out the notification payload to APNS, through http/2 and getting the response 200 for all my requests. And it confirms that the payload is sent to APNS server. However, the device cannot receive any notification, did i missed anything!
Replies
1
Boosts
0
Views
909
Activity
Jun ’21
I have two sets of code which are literally same but only one code set works and another doesn't
import Foundation enum VideoDetails: String, CaseIterable{ case Nature , Food , Animals , Travel } struct ResponseBody: Decodable { var page: Int var perPage: Int var totalResults: Int var url: String var videos: [Video] } struct Video: Identifiable, Decodable{ var id: Int var image: String var duration: Int var user: User var videofiles: [VideoFile] struct User: Identifiable, Decodable { var id: Int var name: String var url: String } struct VideoFile: Identifiable, Decodable { var id: Int var quality: String var fileType: String var link: String } } //this one doesn't work but the below code works perfectly can anyone why it is happening import Foundation enum VideoDetails: String, CaseIterable{ case Nature , Food , Animals , Travel } struct Video: Identifiable, Decodable { var id: Int var image: String var duration: Int var user: User var videoFiles: [VideoFile] struct User: Identifiable, Decodable { var id: Int var name: String var url: String } struct VideoFile: Identifiable, Decodable { var id:
Replies
3
Boosts
0
Views
626
Activity
Sep ’22
WWDC App Doesn't allow login with 2 Step Code on iPhone X
I was just testing out the WWDC app ability to add a passcode for the WWDC ticket to the iPhone on my iPhone X.But I noticed the page to request a 2 step token has the wrong top margins, so once you get to that screen you cannot continue or cancel.Raised bug radar https://bugreport.apple.com/web/?problemID=38898852.Given WWDC tickets are now announced, and this version of the App is meant to be compatible with iPhone X, then I thought I'd raise it here so it doesn't slip through the gaps.Looking forward to it this year, see you there.
Replies
0
Boosts
0
Views
790
Activity
Apr ’18
How to fix Thread 1: EXC_BAD_ACCESS (code=2, address=0x16d467fe0)
I dont know why it is doing it but it makes my app crash? func locationAuthCheck() { if CLLocationManager.authorizationStatus() == .authorizedWhenInUse { // Get the location from the device currentLocation = locationManager.location the thread1 error is on if CLLocationManager.authorizationStatus() == .authorizedWhenInUse
Replies
1
Boosts
0
Views
616
Activity
Jun ’20