nativescript-angular: Service exited due to signal: Killed: 9

NativeScript Version: 1.6.1

I’m unable to use Angular 2 with NativeScript at the moment. I’m using the template-hello-world-ng project.

The error I get isn’t terribly helpful…

Project successfully built.
Using  /Users/burkeholland/dev/burkeholland/my-app-name/platforms/ios/build/emulator/myappname.app
Starting iOS Simulator
Mar  4 08:15:53 --- last message repeated 1 time ---
Mar  4 08:15:53 hollandmac com.apple.CoreSimulator.SimDevice.FAE7B936-79CE-46C4-859F-65506A603837.launchd_sim[52478] (UIKitApplication:org.nativescript.myappname[0x71cd][52664]): Service exited due to signal: Killed: 9

Steps to recreate:

tns create my-app-name --template https://github.com/NativeScript/template-hello-world-ng

cd my-app-name && tns platform add ios

tns run ios --emulator

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (1 by maintainers)

Most upvoted comments

It looks like there are some problems when deploying application to iOS Simulator related to project’s size. Some information can be found here: https://forums.developer.apple.com/thread/25221 As a workaround the following commands can be used:

tns deploy ios --emulator --justlaunch
tns livesync ios --watch

I get this error consistently on iOS emulator when running Angular+{N} apps unless I use the deploy/livesync command above. It’s a big workflow stopper for me 😦. Hoping to get livesync working for iOS soon as well.

Followed the tutorial exactly having the same issue.

Same issue here with {N} 2.0 + Xcode 7.3.1. The --justlaunch flag is like magic, but far less convenient.

I’m going to open this up, because I know at least @burkeholland, @jlooper, and @sebawita are still having this issue, and I think we need to come up with some way to workaround the problem.