Skip to content
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

tns run stucks at "Refreshing application..." on real iPhone #3940

Open
erkanarslan opened this issue Sep 26, 2018 · 3 comments
Open

tns run stucks at "Refreshing application..." on real iPhone #3940

erkanarslan opened this issue Sep 26, 2018 · 3 comments
Labels
bug os: ios run Describes issues related to run command

Comments

@erkanarslan
Copy link

Did you verify this is a real problem by searching [Stack Overflow]Yes

Tell us about the problem

tns run works perfectly on iOS and Android emulators. However, it doesn't work with real iPhone. It builds and installs the app but it stucks at Refreshing application....
I didn't have this problem earlier. It might be because I upgraded iPhone to iOS 12.

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.2.4
  • Cross-platform modules: unrelated
  • Runtime(s): unrelated
  • Plugin(s): unrelated

Please tell us how to recreate the issue in as much detail as possible.

Try to send your app to a real iPhone device.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

No

@erkanarslan
Copy link
Author

I just learned that I needed to upgrade Xcode to latest version for iOS 12 support.

@rosen-vladimirov
Copy link
Contributor

Hey @erkanarslan,
Thanks for reporting this. What really happens in this case is that CLI tries to mount a specific developer disk image (DDI), so we can start/stop the application on device. Each Xcode has DDIs for specific iOS versions. So in case you have older Xcode and latest iOS, CLI cannot find the correct DDI for the new iOS version and mounts an older DDI, which may or may not work. We have to improve NativeScript CLI in this case to show meaningful warning. I'm reopening this issue, so we can track the progress of adding such warning message. This will prevent such confusions from stuck Refreshing application in the future.

@racknoris
Copy link

Had the same issue, I can confirm that updating Xcode to version 10.0 and macOS to 10.13.6 solved the problem

@rosen-vladimirov rosen-vladimirov added os: ios run Describes issues related to run command labels May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug os: ios run Describes issues related to run command
Projects
None yet
Development

No branches or pull requests

3 participants