Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

164,069 results found

Post

Replies

Boosts

Views

Activity

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
788
Apr ’18
EXC_BAD_ACCESS (code=2) when NSTextField in NSOutlineView has a connected IBOutlet action
I'm transitioning one of my projects from using .xib files to a single .storyboard file, and this one issue is driving me crazy. It seems to happen only in the project version with the storyboard. Every time I launch the app, the EXC_BAD_ACCESS error happens where the AppDelegate is declared. I could isolate the problem which can now be reproduced every second or third time when launching the following sample project: https://www.icloud.com/iclouddrive/0Vx_ZOrGuD7U0S9u_8dJz-_0A#problem It seems that when removing the connection from the text field in the outline view to its action textFieldAction in ViewController, the crash doesn't happen anymore. How is this possible?
Topic: UI Frameworks SubTopic: AppKit Tags:
4
0
752
Sep ’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?
0
0
196
Nov ’15
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.7k
Sep ’23
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
3
0
325
May ’26
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
488
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
597
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
122
Jul ’15
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
788
Activity
Apr ’18
EXC_BAD_ACCESS (code=2) when NSTextField in NSOutlineView has a connected IBOutlet action
I'm transitioning one of my projects from using .xib files to a single .storyboard file, and this one issue is driving me crazy. It seems to happen only in the project version with the storyboard. Every time I launch the app, the EXC_BAD_ACCESS error happens where the AppDelegate is declared. I could isolate the problem which can now be reproduced every second or third time when launching the following sample project: https://www.icloud.com/iclouddrive/0Vx_ZOrGuD7U0S9u_8dJz-_0A#problem It seems that when removing the connection from the text field in the outline view to its action textFieldAction in ViewController, the crash doesn't happen anymore. How is this possible?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
4
Boosts
0
Views
752
Activity
Sep ’20
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
615
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
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.7k
Activity
Sep ’23
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
3
Boosts
0
Views
325
Activity
May ’26
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
789
Activity
Feb ’21
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
673
Activity
Dec ’17
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
488
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
597
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
122
Activity
Jul ’15
WatchOS 2 beta 2 downloading
Downloading... 24,7mb 2 hours? Wow are you kidding Apple?
Replies
0
Boosts
0
Views
270
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
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
374
Activity
May ’21