NativeScript: ns run/debug ios stuck on "restarting application...."
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 7.0.11
- Cross-platform modules: “@nativescript/core”: “~7.0.0”,
- Android Runtime: Not relevant
- iOS Runtime: “@nativescript/ios”: “7.0.6”,
- XCode Version: 11.6
- Plugin(s): “@nstudio/nativescript-exoplayer”: “^5.0.4”, “nativescript-appversion”: “^1.4.4”, “nativescript-barcodescanner”: “^4.0.1”, “nativescript-iqkeyboardmanager”: “^1.5.1”, “nativescript-pushy”: “^2.1.0”
Describe the bug
When running ns run ios or ns debug ios the app installs on the device but the CLI gets stuck on restarting application on.... without actually restarting it. When I manually then open the app, it never outputs anything into the console, so I can’t check device outputs. And when making file changes, the CLI doesn’t update the app debug/run session.
To Reproduce Not sure, duplicate my environment…
Expected behavior App should start on iOS device (iOS 14.1)
Please help, this is hell of annoying.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 5
- Comments: 20 (1 by maintainers)
I solved it!
It was necessary to download support for the device of the desired version https://github.com/JinjunHan/iOSDeviceSupport
and put in: Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
@jamescodesthings Okay so I missed a crucial blog post earlier in the year around the NS7 compatibility with Xcode 12. Installed Xcode 12 and it seems to be working. Oof, feel really dumb now.