Skip to content

LiveSync on iOS simulator throws error #824

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

Closed
NickBranstein opened this issue Aug 28, 2015 · 4 comments
Closed

LiveSync on iOS simulator throws error #824

NickBranstein opened this issue Aug 28, 2015 · 4 comments
Labels

Comments

@NickBranstein
Copy link

When running the following command I receive an error.

tns livesync ios --emulator --watch

Error

Command failed: /bin/sh -c xcrun simctl launch E61F7463-84D6-4214-BE7A-14F1E57328E3 org.nativescript.lab2finish
An error was encountered processing the command (code=146):
Exception encountered connecting to CoreSimulatorBridge: Unable to connect to CoreSimulatorBridge

Additional Info

The simulator does launch even after I get this error message however the livesync functionality does not work.

  • I'm using CLI Version 1.2.4
  • I have tried this on multiple Summer of NativeScript labs - most recently Lab 2
  • After cloning the Summer of NativeScript repo I ran tns platform update ios
  • iOS Simulator is version 8.4
  • XCode 6.4
  • OS X 10.10.4

Additional Trace

https://dl.dropboxusercontent.com/u/34791521/additionalTrace.log

@Fatme
Copy link
Contributor

Fatme commented Aug 28, 2015

Hi @NickBranstein,

It seems that your application is not deployed on the simulator. Try to execute tns run ios --emulator before livesync command.

@NickBranstein
Copy link
Author

Thanks @Fatme. It's working for me now.

I had closed my simulator prior to running livesync (after my original run). Even though the app was still deployed it seems that I have to leave the simulator open after running the first time. Is this intended - I guess assumed livesync was going to relaunch my simulator if it was closed (which is does but that error comes up before the simulator starts).

@Fatme Fatme added this to the 1.5.0 milestone Nov 13, 2015
@rosen-vladimirov
Copy link
Contributor

Still fails when app is not installed on the simulator:
#1225

@vchimev
Copy link

vchimev commented Dec 1, 2015

Please refer to #1225 for the scenario when the app is not installed on the simulator.

@vchimev vchimev removed this from the 1.5.1 milestone Dec 1, 2015
@vchimev vchimev closed this as completed Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants