-
-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Description
If you execute tns build ios --for-device the CLI searches for a running device and if none is found it starts the default simulator image:
➜ demo git:(nativescript) ✗ tns build ios --for-device
Executing before-prepare hook from /Users/peter/Documents/NativeScriptProjects/demo/hooks/before-prepare/nativescrip
t-dev-android-snapshot.js
Executing before-prepare hook from /Users/peter/Documents/NativeScriptProjects/demo/hooks/before-prepare/nativescrip
t-dev-sass.js
Found peer node-sass
Executing before-prepare hook from /Users/peter/Documents/NativeScriptProjects/demo/hooks/before-prepare/nativescrip
t-dev-typescript.js
Found peer TypeScript 2.2.2
Executing before-prepare hook from /Users/peter/Documents/NativeScriptProjects/demo/hooks/before-prepare/nativescrip
t-push-notifications.js
Preparing project...
Project successfully prepared (ios)
Executing after-prepare hook from /Users/peter/Documents/NativeScriptProjects/demo/hooks/after-prepare/nativescript-
dev-android-snapshot.js
Executing after-prepare hook from /Users/peter/Documents/NativeScriptProjects/demo/hooks/after-prepare/nativescript-
dev-sass.js
All SASS source files removed from app package
Building project...
Searching for devices...
Build settings from command line:
Is there any requirement that requires a running simulator or attached device when building with the --for-device flag?