Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,332 results found

Post

Replies

Boosts

Views

Activity

Error Domain=PKPassKitErrorDomain Code=2
This error occurs in Apple Pay Wallet In-App Provisioning Flow for Credit / Debit Cards When the data received from the PNO (Visa) is passed to PKAddPaymentPassRequest this error is seen in addPaymentPassViewController, in the finalize stage. Docs provide no clue as to what could be wrong. iOS 18.2.1 XCode 15.2 Error description mentions unsupportedVersionError Is the pass version not supported? Is the wallet version not supported? Is it an app implementation error or error in the data received from the PNO?
4
0
957
Jan ’25
com.apple.arkit.ardisplaylink.0x2832f0840 (37): EXC_BAD_ACCESS (code=2, address=0x1590901710)
com.apple.arkit.ardisplaylink.0x2832f0840 (37): EXC_BAD_ACCESS (code=2, address=0x1590901710) ARKit Face Tracking The above error occurs intermittently within 20 minutes of calling the Arkit Face Tracking. We are developing it by referring to the link below. Github Unity 2021.1.1f1, 2020.3.11f1, 2020.3.2f1, etc The same error is occurring in all versions. Below is the link for similar errors. issuetracker
0
0
583
Jun ’21
In-App Purchase in apple review gives error:SKErrorDomain with code 2
Hi, My app in-app purchase downloading from TestFlight or debug Xcode making purchase works correctly but it reject in apple review because during the test purchase didn’t work and occurred error:SKErrorDomain with code 2. This error in general appear when during the purchase user click Cancel. I have contacted apple board, they said that Your app does not comply with App Store Review Guideline 2.1. So how can i try in production since in TestFlight and debug it works? I really confused how to try solution for it?
2
0
1.5k
Jan ’22
AppTransaction.shared throws StoreKitError code=2 in macOS TestFlight while deviceVerificationID is available
I am implementing device authentication for a macOS app. Our iOS app uses App Attest, but App Attest is not available on macOS, so we are evaluating StoreKit's AppTransaction plus AppStore.deviceVerificationID as the macOS equivalent signal. The issue: in a macOS app installed through TestFlight, AppStore.deviceVerificationID is available, but AppTransaction.shared throws StoreKitError code=2. I reproduced this in a focused standalone macOS test app with no backend and no custom dependencies. Environment: Platform: macOS Distribution: TestFlight App Store Connect app ID: 6769568350 Bundle ID: com.soundcity.AppTransactionProbe App version: 1.0 Build: 1 Observed output from the TestFlight-installed app: Bundle ID: com.soundcity.AppTransactionProbe App version: 1.0 Build: 1 deviceVerificationID available: true deviceVerificationID prefix: CA91ED5D... AppTransaction.shared threw error: StoreKitError; domain=StoreKit.StoreKitError; code=2 The relevant code path is essen
1
0
174
1w
Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
Hello, My App uses NSURLSession to send network requests. Recently, on the iOS 17.0 system version, I've noticed an increase in ENOENT errors. However, I'm unable to identify the cause from the logs. I would like to inquire if there have been any changes to NSURLSession in this version? Why would this error code occur? Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory UserInfo={NSErrorFailingURLStringKey=https://example.com, NSErrorFailingURLKey=https://example.com, _NSURLErrorRelatedURLSessionTaskErrorKey=( LocalDownloadTask <AC10B665-F59A-469C-876C-F88EEAEC26E1>.<11> ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <AC10B665-F59A-469C-876C-F88EEAEC26E1>.<11>}, response:<NSHTTPURLResponse: 0x280b8d000> { URL: https://example.com } { Status Code: 200 To add on, according to the online logs, I found that the error occurs when users put the App into the background for a minute, then hot restart the App and bring it to
3
0
2.8k
Sep ’23
Swift Playgrounds Learn to Code 2 "Moving Further Forward" Page
One of the places I have noticed this on my MBP is in the Swift Playgrounds Learn to Code 2 Moving Further Forward Page. After successfully getting the expert to the end of the maze puzzle a box pops up. It talks about defining a function using parameters to make the function more reusable. To make the function work I wrote: let expert = Expert() func move(distance: Int) { for i in 1 ... distance { expert.moveForward() } } If I try to put moveForward() without expert. as a prefix I get an error. That's OK by me. However, the 'success box' after completing the maze says: Now that you've defined move, you'll be able to use is as a method on the Character and Expert types. For example, expert.move(distance: 4) will move the expert instance forward four tiles. I do not see how to define the function so that I can call it this way in Learn to Code 2. Not knowing the correct words to use in a search on the internet makes it difficult to find an answer. I tried querying define a f
4
0
3.6k
Jul ’20
WeatherKit: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 on iOS 26.2 (Simulator & Device)
Hello everyone, I’m experiencing a WeatherKit issue that occurs consistently on both the iOS 26.2 Simulator and a real device running iOS 26.2. Environment: Xcode: latest iOS: 26.2 Occurs on: Simulator AND physical device WeatherKit usage: via WeatherService API (not manual REST) Location Services: authorized (When In Use / Always) Issue: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 The operation couldn’t be completed. Already verified: WeatherKit capability is enabled for the App ID com.apple.developer.weatherkit entitlement is present Bundle ID matches the App ID App is signed with the correct Team ID Behavior is identical on Simulator and physical device Error occurs before any WeatherKit response is returned Questions: Is this a known issue with WeatherKit on iOS 26.2? Are there any known limitations or requirements for WeatherService related to WeatherDaemon validation? Is there a recommended way to diagnose why WeatherDaemon rejects the request with Code=2
3
0
318
Dec ’25
Xcode 13.3 beta 2, code completion error
example: import Vapor struct MainController: RouteCollection { func boot(routes: RoutesBuilder) throws { routes.get(use: index(req:)) // ↑ there // if i typing `index` and chosen from selection picker, it will display `index(req: <#Request#>)` not `index(req:)` // but when i typing `self.index` and chosen from selection picker, it will work normal } } private extension MainController { func index(req: Request) throws -> EventLoopFuture { req.view.render(index, [title: Hi guys~, md_file: /index.md]) } } Environment: Xcode 13.3 beta 2 Intel chip, MacBook Pro (16-inch, 2019), macOS monterey 12.2.1 (21D62)
0
0
462
Feb ’22
How to fix 2 errors in code that occurred when indexPath and textLabel were put in
import UIKit class MasterViewController: UITableViewController { var objects = [String]() var allWords = [String]() let object = objects[indexPath.row] cell.textLabel!.text = object override func awakeFromNib() { super.awakeFromNib() } override func viewDidLoad() { super.viewDidLoad() func startGame() { allWords.shuffle() title = allWords[0] objects.removeAll(keepCapacity: true) tableView.reloadData() } if let startWordsPath = NSBundle.mainBundle().pathForResource(start, ofType: txt) { if let startWords = NSString(contentsOfFile: startWordsPath, usedEncoding: nil, error: nil) { allWords = startWords.componentsSeparatedByString(n) as! [String] } } else { allWords = [silkworm] } startGame() / self.navigationItem.leftBarButtonItem = self.editButtonItem() } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() / } / override func numberOfSectionsInTableView(tableView: UITableView) -> Int { return 1 } override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> I
3
0
393
Aug ’15
Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ff7b3bd5f90)
Greetings! I am making a small application according to the official tutorial from Apple, and I encountered such an error. Please help me solve this problem Error in @main Code import SwiftUI @main struct MeetUpApp: App { @State private var scrums = DailyScrum.sampleData var body: some Scene { WindowGroup { NavigationView { ScrumsView(scrums: $scrums) } } } }
0
0
229
Feb ’23
Error Domain=PKPassKitErrorDomain Code=2
This error occurs in Apple Pay Wallet In-App Provisioning Flow for Credit / Debit Cards When the data received from the PNO (Visa) is passed to PKAddPaymentPassRequest this error is seen in addPaymentPassViewController, in the finalize stage. Docs provide no clue as to what could be wrong. iOS 18.2.1 XCode 15.2 Error description mentions unsupportedVersionError Is the pass version not supported? Is the wallet version not supported? Is it an app implementation error or error in the data received from the PNO?
Replies
4
Boosts
0
Views
957
Activity
Jan ’25
Learning to Code 2 “There Was A Problem” Error
When opening the first exercise “Keeping Track,” on the 12.9 inch iPad Pro (5th Gen), a pop up appears saying “There Was A Problem During Startup.” Restarting the app/device doesn’t fix the issue.
Replies
0
Boosts
0
Views
619
Activity
Apr ’22
com.apple.arkit.ardisplaylink.0x2832f0840 (37): EXC_BAD_ACCESS (code=2, address=0x1590901710)
com.apple.arkit.ardisplaylink.0x2832f0840 (37): EXC_BAD_ACCESS (code=2, address=0x1590901710) ARKit Face Tracking The above error occurs intermittently within 20 minutes of calling the Arkit Face Tracking. We are developing it by referring to the link below. Github Unity 2021.1.1f1, 2020.3.11f1, 2020.3.2f1, etc The same error is occurring in all versions. Below is the link for similar errors. issuetracker
Replies
0
Boosts
0
Views
583
Activity
Jun ’21
Update Goal Instruction in Swift-UI Playgrounds Learn to Code 2
In Swift-UI Playgrounds Learn to Code 2 under the Chapter Variables and the exercise Checking for Equal Values, there is no instruction to use the predefined variable numberOfSwitches in the goal instruction.
Replies
0
Boosts
0
Views
920
Activity
Apr ’24
In-App Purchase in apple review gives error:SKErrorDomain with code 2
Hi, My app in-app purchase downloading from TestFlight or debug Xcode making purchase works correctly but it reject in apple review because during the test purchase didn’t work and occurred error:SKErrorDomain with code 2. This error in general appear when during the purchase user click Cancel. I have contacted apple board, they said that Your app does not comply with App Store Review Guideline 2.1. So how can i try in production since in TestFlight and debug it works? I really confused how to try solution for it?
Replies
2
Boosts
0
Views
1.5k
Activity
Jan ’22
Getting Thread 1: EXC_BAD_ACCESS (code=2, address=0x16cebbfc0) error
I have have table view and then I have another Table View inside each cell of the first table view. Now whats happening is that the code enters in the cellforrow function of the first table view multiple times and then gives this error: Thread 1: EXCBADACCESS (code=2, address=0x16cebbfc0)
Replies
1
Boosts
0
Views
3.4k
Activity
Jul ’20
AppTransaction.shared throws StoreKitError code=2 in macOS TestFlight while deviceVerificationID is available
I am implementing device authentication for a macOS app. Our iOS app uses App Attest, but App Attest is not available on macOS, so we are evaluating StoreKit's AppTransaction plus AppStore.deviceVerificationID as the macOS equivalent signal. The issue: in a macOS app installed through TestFlight, AppStore.deviceVerificationID is available, but AppTransaction.shared throws StoreKitError code=2. I reproduced this in a focused standalone macOS test app with no backend and no custom dependencies. Environment: Platform: macOS Distribution: TestFlight App Store Connect app ID: 6769568350 Bundle ID: com.soundcity.AppTransactionProbe App version: 1.0 Build: 1 Observed output from the TestFlight-installed app: Bundle ID: com.soundcity.AppTransactionProbe App version: 1.0 Build: 1 deviceVerificationID available: true deviceVerificationID prefix: CA91ED5D... AppTransaction.shared threw error: StoreKitError; domain=StoreKit.StoreKitError; code=2 The relevant code path is essen
Replies
1
Boosts
0
Views
174
Activity
1w
Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
Hello, My App uses NSURLSession to send network requests. Recently, on the iOS 17.0 system version, I've noticed an increase in ENOENT errors. However, I'm unable to identify the cause from the logs. I would like to inquire if there have been any changes to NSURLSession in this version? Why would this error code occur? Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory UserInfo={NSErrorFailingURLStringKey=https://example.com, NSErrorFailingURLKey=https://example.com, _NSURLErrorRelatedURLSessionTaskErrorKey=( LocalDownloadTask <AC10B665-F59A-469C-876C-F88EEAEC26E1>.<11> ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <AC10B665-F59A-469C-876C-F88EEAEC26E1>.<11>}, response:<NSHTTPURLResponse: 0x280b8d000> { URL: https://example.com } { Status Code: 200 To add on, according to the online logs, I found that the error occurs when users put the App into the background for a minute, then hot restart the App and bring it to
Replies
3
Boosts
0
Views
2.8k
Activity
Sep ’23
Learning to Code 1 in Playgrounds not in iOS 10 beta 2
I had Learning to Code 1 on my iPad Air when iOS 10 beta 1 was installed. I installed iOS 10 beta 2 yesterday, and now it is no longer available. Playgrounds says that it's coming soon.Anyone else having this issue?
Replies
2
Boosts
0
Views
286
Activity
Jul ’16
Swift Playgrounds Learn to Code 2 "Moving Further Forward" Page
One of the places I have noticed this on my MBP is in the Swift Playgrounds Learn to Code 2 Moving Further Forward Page. After successfully getting the expert to the end of the maze puzzle a box pops up. It talks about defining a function using parameters to make the function more reusable. To make the function work I wrote: let expert = Expert() func move(distance: Int) { for i in 1 ... distance { expert.moveForward() } } If I try to put moveForward() without expert. as a prefix I get an error. That's OK by me. However, the 'success box' after completing the maze says: Now that you've defined move, you'll be able to use is as a method on the Character and Expert types. For example, expert.move(distance: 4) will move the expert instance forward four tiles. I do not see how to define the function so that I can call it this way in Learn to Code 2. Not knowing the correct words to use in a search on the internet makes it difficult to find an answer. I tried querying define a f
Replies
4
Boosts
0
Views
3.6k
Activity
Jul ’20
WeatherKit: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 on iOS 26.2 (Simulator & Device)
Hello everyone, I’m experiencing a WeatherKit issue that occurs consistently on both the iOS 26.2 Simulator and a real device running iOS 26.2. Environment: Xcode: latest iOS: 26.2 Occurs on: Simulator AND physical device WeatherKit usage: via WeatherService API (not manual REST) Location Services: authorized (When In Use / Always) Issue: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 The operation couldn’t be completed. Already verified: WeatherKit capability is enabled for the App ID com.apple.developer.weatherkit entitlement is present Bundle ID matches the App ID App is signed with the correct Team ID Behavior is identical on Simulator and physical device Error occurs before any WeatherKit response is returned Questions: Is this a known issue with WeatherKit on iOS 26.2? Are there any known limitations or requirements for WeatherService related to WeatherDaemon validation? Is there a recommended way to diagnose why WeatherDaemon rejects the request with Code=2
Replies
3
Boosts
0
Views
318
Activity
Dec ’25
Dive into RealityKit 2 Face Mesh Sample Code
Hello! I was wondering if it would be possible for the developers to post the sample code for the Face Mesh demo that used PencilKit to draw a filter on a user's face.
Replies
2
Boosts
0
Views
1.4k
Activity
Jun ’21
Xcode 13.3 beta 2, code completion error
example: import Vapor struct MainController: RouteCollection { func boot(routes: RoutesBuilder) throws { routes.get(use: index(req:)) // ↑ there // if i typing `index` and chosen from selection picker, it will display `index(req: <#Request#>)` not `index(req:)` // but when i typing `self.index` and chosen from selection picker, it will work normal } } private extension MainController { func index(req: Request) throws -> EventLoopFuture { req.view.render(index, [title: Hi guys~, md_file: /index.md]) } } Environment: Xcode 13.3 beta 2 Intel chip, MacBook Pro (16-inch, 2019), macOS monterey 12.2.1 (21D62)
Replies
0
Boosts
0
Views
462
Activity
Feb ’22
How to fix 2 errors in code that occurred when indexPath and textLabel were put in
import UIKit class MasterViewController: UITableViewController { var objects = [String]() var allWords = [String]() let object = objects[indexPath.row] cell.textLabel!.text = object override func awakeFromNib() { super.awakeFromNib() } override func viewDidLoad() { super.viewDidLoad() func startGame() { allWords.shuffle() title = allWords[0] objects.removeAll(keepCapacity: true) tableView.reloadData() } if let startWordsPath = NSBundle.mainBundle().pathForResource(start, ofType: txt) { if let startWords = NSString(contentsOfFile: startWordsPath, usedEncoding: nil, error: nil) { allWords = startWords.componentsSeparatedByString(n) as! [String] } } else { allWords = [silkworm] } startGame() / self.navigationItem.leftBarButtonItem = self.editButtonItem() } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() / } / override func numberOfSectionsInTableView(tableView: UITableView) -> Int { return 1 } override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> I
Replies
3
Boosts
0
Views
393
Activity
Aug ’15
Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ff7b3bd5f90)
Greetings! I am making a small application according to the official tutorial from Apple, and I encountered such an error. Please help me solve this problem Error in @main Code import SwiftUI @main struct MeetUpApp: App { @State private var scrums = DailyScrum.sampleData var body: some Scene { WindowGroup { NavigationView { ScrumsView(scrums: $scrums) } } } }
Replies
0
Boosts
0
Views
229
Activity
Feb ’23