question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tns run ios cannot start app on iPhone and does not sync changes

See original GitHub issue

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: 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:open
  • Created 4 years ago
  • Reactions:1
  • Comments:36 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
farfromrefugcommented, Dec 7, 2020

@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.

2reactions
farfromrefugcommented, Nov 27, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

NativeScript app won't run on IOS - Stack Overflow
When trying to run on an IOS-Device (IPhone 5), I get another error during the attempt to deploy (same for both projects), so...
Read more >
tns run ios cannot start app on iPhone and does not sync changes
1; Plugin(s): unrelated ... tns run ios command can install, restart and sync the app on iOS emulator, but cannot on real iPhone...
Read more >
Could not launch app iPhone has de… - Apple Developer
I got this problem today! Trying to solve it for a whole afternoon. There are only two ways to fix. Disable "Debug executable"...
Read more >
Known Issues - SAP Mobile Services Documentation
While tns run ios --emulator (or --device ) command is running and watching for file changes, if your local metadata project is changed,...
Read more >
nativescript-app-sync
$ tns run <platform> . On an iOS device add the --release flag so LiveSync doesn't interfere. kill and restart the app after...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found