Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,340 results found

Post

Replies

Boosts

Views

Activity

Xcode 7.1 Debug Area showing code message from 2 separate classes
So I created a seperate storyboard and classes for iPad RETINA's a few months ago. And Now I just added a seperate class and storyboard again but this time for iPad PRO. (I don't use size classes and auto layout for this project) In iPad PRO storyboard I went to identity inspector and under Custom Class I connected my PRO class. So now when the iPad PRO simulator plays the debug area shows code messages from PRO classes but for some reason it also included code from my RETINA classes. I don't understand why that happens. I didn't connect RETINA classes in any way to iPad PRO storyboar,What can be causing this, what do I have to fix?
0
0
196
Nov ’15
WeatherKit WeatherService fails to generate JWT with WDSJWTAuthenticator Code=2 despite valid entitlement/profile
Hi Apple Developer Support / WeatherKit team, I’m trying to use native iOS WeatherKit through WeatherService.shared in a SwiftUI app. Every request fails before weather data is returned because WeatherDaemon cannot generate the WeatherKit JWT. I am not using the REST API or manually generating a JWT. This is the native Swift WeatherKit API. import WeatherKit import CoreLocation let current = try await WeatherService.shared.weather( for: CLLocation(latitude: 25.76, longitude: -80.19), including: .current ) I also tested the same pattern used in Apple’s sample project, “Fetching weather forecasts with WeatherKit,” which calls: WeatherService.shared.weather(for: location, including: .current) The error I get is: Failed to generate jwt token for: com.apple.weatherkit.authservice with error: Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) Encountered an error when fetching weather data subset; error=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors 2
2
0
140
5d
iOS 17, NSURLSession, NSURLSessionDownloadTask, 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 // session NSURLSessionConfiguration *config = [NSURLSessionConfiguration defaultSessionConfiguration]; NSOperationQueue *operati
6
0
1.6k
Sep ’23
Two different edit views in my code and one doesn't update the parent on dismiss
I have a simple app I'm working on. There is a data model which is stored in an environment object. The app has an array of people, and each person has an array of events associated with them. So, I have a Person Detail view with an edit button which presents a Person Edit view via a navigation link. The edit view has a save button which updates the environment object model and dismisses the view. This works. On the Person Detail view there is a list of events. Tapping on an event takes you to an Event Detail view. With almost exactly the same code, there is a Edit Event Detail view that is triggered by an Edit button in the same manner as above. The model is updated in the same way and the view is dismissed. B Here's the pain point - when you go from a Person Edit view to Person Detail view, it updates the information on the Person Detail View. On the Event side, after a save, the Event Detail view is not updated. You can go back up the stack and re-enter the Event Detail view and the data is update
4
0
487
Jul ’20
Merge two 2 applications into 1
Hi, we are having this case: We have 2 different applications from 2 different accounts: App1 and App2 The end goal is merging 2 apps into 1 app only, say merge App2 into App2 We want to create a smooth experiences for users: for App2's user it will be an update and from that update App2 will update to App1 with App1's ID Assume that all others migration problems are solved Is this doable? And if yes, what is our next step? Thanks in advance
1
0
589
Apr ’22
New build of iOS app releasing by X-Code give two errors
Dear users,good morning. I have already putted my iPhone app in App Store, and it is already approved and in sale.Now, I have done a little change (the text of two message box and the correct color / alignement of one label; nothing else). This is only a build, not a new version, so I would avoid the long approval process, and I would update this new version only as a new build.I have tried to upload it with the same procedure (in the same conditions!) which I have already followed during my first upload of my first main version; but, incredibly, it doesn't work; and I see the error message which you can see in the screenshot which I have putted in my dropbox account and which you can see by the following link.Why happend? How can I fix it? Thank in advance!https://www.dropbox.com/s/p37pt4wxhwx7sz1/sc-10.png?dl=0
0
0
121
Jul ’15
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
614
Activity
Jun ’20
Xcode 7.1 Debug Area showing code message from 2 separate classes
So I created a seperate storyboard and classes for iPad RETINA's a few months ago. And Now I just added a seperate class and storyboard again but this time for iPad PRO. (I don't use size classes and auto layout for this project) In iPad PRO storyboard I went to identity inspector and under Custom Class I connected my PRO class. So now when the iPad PRO simulator plays the debug area shows code messages from PRO classes but for some reason it also included code from my RETINA classes. I don't understand why that happens. I didn't connect RETINA classes in any way to iPad PRO storyboar,What can be causing this, what do I have to fix?
Replies
0
Boosts
0
Views
196
Activity
Nov ’15
WeatherKit WeatherService fails to generate JWT with WDSJWTAuthenticator Code=2 despite valid entitlement/profile
Hi Apple Developer Support / WeatherKit team, I’m trying to use native iOS WeatherKit through WeatherService.shared in a SwiftUI app. Every request fails before weather data is returned because WeatherDaemon cannot generate the WeatherKit JWT. I am not using the REST API or manually generating a JWT. This is the native Swift WeatherKit API. import WeatherKit import CoreLocation let current = try await WeatherService.shared.weather( for: CLLocation(latitude: 25.76, longitude: -80.19), including: .current ) I also tested the same pattern used in Apple’s sample project, “Fetching weather forecasts with WeatherKit,” which calls: WeatherService.shared.weather(for: location, including: .current) The error I get is: Failed to generate jwt token for: com.apple.weatherkit.authservice with error: Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 (null) Encountered an error when fetching weather data subset; error=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors 2
Replies
2
Boosts
0
Views
140
Activity
5d
x code 9 .2 not responding! Anyone had the same problem?
Hei guysSo i had just download the xcode 9.2 and after a will it stopped responding:( I can not do anything with it. Restarting it helps for like 5 min and then it stopped again:( No error appears
Replies
1
Boosts
0
Views
668
Activity
Dec ’17
Swift Playground “Learn to Code 2” expert command “turnLockUp()”
There is a command “turnLockUp()” in expert. But I don’t know how to use. Run it before it step on the lock? Or run it when it is on the lock? Can anyone tell me?
Replies
1
Boosts
0
Views
767
Activity
Feb ’21
iOS 17, NSURLSession, NSURLSessionDownloadTask, 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 // session NSURLSessionConfiguration *config = [NSURLSessionConfiguration defaultSessionConfiguration]; NSOperationQueue *operati
Replies
6
Boosts
0
Views
1.6k
Activity
Sep ’23
Two different edit views in my code and one doesn't update the parent on dismiss
I have a simple app I'm working on. There is a data model which is stored in an environment object. The app has an array of people, and each person has an array of events associated with them. So, I have a Person Detail view with an edit button which presents a Person Edit view via a navigation link. The edit view has a save button which updates the environment object model and dismisses the view. This works. On the Person Detail view there is a list of events. Tapping on an event takes you to an Event Detail view. With almost exactly the same code, there is a Edit Event Detail view that is triggered by an Edit button in the same manner as above. The model is updated in the same way and the view is dismissed. B Here's the pain point - when you go from a Person Edit view to Person Detail view, it updates the information on the Person Detail View. On the Event side, after a save, the Event Detail view is not updated. You can go back up the stack and re-enter the Event Detail view and the data is update
Replies
4
Boosts
0
Views
487
Activity
Jul ’20
Attempting to run Swift UI App on iPhone XR: Thread 1: EXC_BAD_ACCESS (code=2, address=0x100470190)
When trying to run the 'Hello World' Swift UI application on my iPhone XR, I'm getting;Thread 1: EXC_BAD_ACCESS (code=2, address=0x100470190) @ Line 26 of SceneDelegate.swift.
Replies
6
Boosts
0
Views
4.4k
Activity
Jun ’19
Merge two 2 applications into 1
Hi, we are having this case: We have 2 different applications from 2 different accounts: App1 and App2 The end goal is merging 2 apps into 1 app only, say merge App2 into App2 We want to create a smooth experiences for users: for App2's user it will be an update and from that update App2 will update to App1 with App1's ID Assume that all others migration problems are solved Is this doable? And if yes, what is our next step? Thanks in advance
Replies
1
Boosts
0
Views
589
Activity
Apr ’22
New build of iOS app releasing by X-Code give two errors
Dear users,good morning. I have already putted my iPhone app in App Store, and it is already approved and in sale.Now, I have done a little change (the text of two message box and the correct color / alignement of one label; nothing else). This is only a build, not a new version, so I would avoid the long approval process, and I would update this new version only as a new build.I have tried to upload it with the same procedure (in the same conditions!) which I have already followed during my first upload of my first main version; but, incredibly, it doesn't work; and I see the error message which you can see in the screenshot which I have putted in my dropbox account and which you can see by the following link.Why happend? How can I fix it? Thank in advance!https://www.dropbox.com/s/p37pt4wxhwx7sz1/sc-10.png?dl=0
Replies
0
Boosts
0
Views
121
Activity
Jul ’15
Can we have two prices for two business plan?
Hi everyone I was wondering if we can have two prices for our app on AppStore? For example, 10/month for individual users and 50/month for a family plan. Sth like what Spotify is doing outside the app store. The second question is that in case Apple doesn't allow two plans, can we move the family subscription outside AppStore? Cheers
Replies
0
Boosts
0
Views
370
Activity
May ’21
WatchOS 2 beta 2 downloading
Downloading... 24,7mb 2 hours? Wow are you kidding Apple?
Replies
0
Boosts
0
Views
265
Activity
Jun ’15
Watch OS 2 beta 2
Do anyone know if they are planning on reissuing beta 2 anytime soon?
Replies
16
Boosts
0
Views
3.7k
Activity
Jun ’15
WatchOS 2 beta 2 compatible with 8.4?
Is WatchOS 2 beta 2 compatible with 8.4?
Replies
1
Boosts
0
Views
479
Activity
Jun ’15
2 CollectionView Rows To 2 TableView Ones
Is there a way to have 2 rows from a CollectionView translate to 2 separate rows of a tableview? (I need both rows to contain separate information)
Replies
8
Boosts
0
Views
696
Activity
Dec ’20