The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Preview NativeScript apps in the iOS Simulator

Preview NativeScript apps in the iOS Simulator

1:10
We can run our app in the iOS Simulator using the `tns` command line utilities. Also learn how to target specific simulator devices and versions. You must have a Mac to develop apps for iOS. Ensure you have XCode installed via the Mac App Store, and ensure you have opened it at least once to agree to the terms and install the additional components it may prompt about.
Watch this lesson now
Avatar
egghead.io

We can run our app in the iOS Simulator using the tns command line utilities. Also learn how to target specific simulator devices and versions. You must have a Mac to develop apps for iOS. Ensure you have XCode installed via the Mac App Store, and ensure you have opened it at least once to agree to the terms and install the additional components it may prompt about.

Avatar
Artem Devlysh

I found that it's very hard pain to debug NativeScript/Android app on Linux.
is there any any convenient way to develop apps for Android using Linux?

In reply to egghead.io
Avatar
Nathan Walker

Have you tried these instructions fully?
https://docs.nativescript.org/start/ns-setup-linux

There's also this:
https://www.thepolyglotdeveloper.com/2016/02/install-android-telerik-nativescript-ubuntu-linux/

As far as setup goes, I'd make sure you're inline with what is outlined in the above. However, {N} 2.5 offers greatly improved live debugging for Android, just use VS Code:
https://code.visualstudio.com/docs/setup/linux
With this plugin:
https://docs.nativescript.org/tooling/visual-studio-code-extension

In reply to Artem Devlysh
Avatar
Tom

just a quick comment that you can find available devices using:

tns emulate ios --available-devices

instead of

xcrun simctl list
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?