-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReferenceError: NSURLSessionConfiguration is not defined #10497
Comments
I had the same issue. Downgrading XCode to version 15.2 fixed this issue. You can download older versions of XCode here: https://developer.apple.com/xcode/resources/ |
Hello all! I'm having the same issue right now as well. Here I describe all the steps, example app and versions too. NativeScript/ios#241 |
Does this happen with the 8.6.4-next.2024-02-21-7992943232 runtime? |
Update: I just built the app with Xcode 15.2 following the @milleniumfrog 's hint and it did work at my iPhone 12 iOS 17.4. The app is running well, so lets see if it works at AppStore review, I keep you posted. |
@rigor789 I just tested this new runtime: 8.6.4-next.2024-02-21-7992943232` and it did not work. |
Thank you @gabrielbiga for testing it out - looks like sticking with Xcode 15.2 is the way to go for now. For anyone running into this, highly recommend Xcodes App to manage Xcode versions: https://github.com/XcodesOrg/XcodesApp (Or if you use AppStore, disable automatic updates). We'll be looking further into this, but in the meantime the above should get you going. |
this PR should fix it (hopefully) NativeScript/ios#242 Apparently the iPhone SDK 17.4 can't detect that it's an iPhone anymore, so some variables seem to be missing. We should release a new version soon with this fix, but in the meantime you can test it out yourself and give some feedback to see if it works:
|
Fixed on @nativescript/ios “next”, which you can use right now, and will be part of 8.7 this week. |
Any idea when this will be in the standard release? |
@ray007 try out 8.6.4 |
Seems to work, thank you. |
@triniwiz is right, this PR https://github.com/NativeScript/ios/pull/242 solves the compilation problem that is happening with XCode 15.3 , you don't need to downgrade the version, just change the version of |
Does not work for me. I had to downgrade the Xcode to 15.2 :-( |
@mobifly-dev try the latest |
Issue Description
After installing the project ns create example-app --ng
and after updating the XCode SDK to version 17.4, the application cannot run on a real device. The app installs but after launching the app a black screen appears and after a while the app crashes. Interestingly, everything works properly in the simulator.
The app does not work even after building it for the AppStore. The app builds fine, I upload it to the Appstore and after installing it via Testflight, the black screen appears again and the app crashes after a while.
Just yesterday I had the SDK 17.2 installed in XCode and everything worked on it.
I first detected the whole problem on my production app, which I've had in the Appstore for a few years now, and now I can't release an update.
So I tried to create a completely clean project using ns create example-app --ng.
Reproduction
ns create example-app --ng
ns run ios (have connected iPhone 13 pro)
Relevant log output (if applicable)
Here is the error code that appears in the console after a while: (running ns run ios - with connected iphone 13 PRO):
Dependencies
Please accept these terms
The text was updated successfully, but these errors were encountered: