tns run ios cannot start app on iPhone and does not sync changes
See original GitHub issueEnvironment
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: 6.1.2 and 6.2.2
- Cross-platform modules: 6.1.2
- Android Runtime: 6.1.2
- iOS Runtime: 6.1.1
- Plugin(s): unrelated
Describe the bug tns run ios command can install, restart and sync the app on iOS emulator, but cannot on real iPhone device. I see that app is installed on the device. Consol log shows that Nativescript is trying to “Restarting the app” but it stays there. I have to manually tap the app icon to start the app. If I make changes on the code, changes aren’t synced too. I see that webpack build is done but nothing else happens. It just stays there. I have to kill the command and rerun it every time I make a change.
To Reproduce Create a project. Connect iPhone. Run tns run ios. It shows “Restarting application on device 8ad303e2f6bf07f0329fb6a43329e99d14d98604…” at the end, but nothing happens.
Expected behavior It should restart the app and sync it.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:36 (14 by maintainers)
@NathanaelA could we get some news on this. It seems like a really high priority issue. From that discussion i can see that a lot of people are facing this. For me it is a big deal right now. I am forced to test on device because my apps use bluetooth. And it is quite a nightmare right now.
Need to bump that issue as i am facing that issue right now. Almost impossible to run an app on device. It runs “sometimes”. XCode 12.2 Cli 7.0.11 Core: 7.0.13
I tried with multiple devices and i always have the same issue