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

Simulators with ( in name are not started after tns run ios --device <device_name> #2131

Closed
asterizk opened this issue Oct 14, 2016 · 20 comments
Milestone

Comments

@asterizk
Copy link

asterizk commented Oct 14, 2016

I can't run tns emulate ios --device "iPad Pro (12.9 inch)"

Doing so results in the following message:
Starting iOS Simulator Unable to find device iPad Pro (12.9 inch). The valid device names are iPhone 5, iPhone 5s, iPhone 6, iPhone 6 Plus, iPhone 6s, iPhone 6s Plus, iPhone 7, iPhone 7 Plus, iPhone SE, iPad Retina, iPad Air, iPad Air 2

Expected result:

  • Starts 12.9" iPad simulator

This error occurs despite 'xcrun simctl list' outputting the 12.9" iPad as an option.

I believe I've tracked the root cause down to the fact that "iPad Pro (9.7 inch)" and the "iPad Pro (12.9 inch)" devices contain parentheses in their names, and the regex that parses the output of 'xcrun simctl list' doesn't expect those parentheses to be there:

var lineRegex = /^ ([^\(]+) \(([^\)]+)\) \(([^\)]+)\)( \(([^\)]+)\))*/;

That regex is contained in the following file: /usr/local/lib/node_modules/nativescript/node_modules/ios-sim-portable/lib/simctl.js.

I guess that means it's a problem with the ios-sim-portable module. I've got version 1.3.0 of it. I will file an issue with that project. In the meantime I'm working around it by manually adding devices to the device list in simctl.js:

            devices.push({
                            name: 'iPad Pro (9.7 inch)',
                            id: 'F123F133-F175-4FF4-ABA5-4A043EFCA810',
                            fullId: "com.apple.CoreSimulator.SimDeviceType.iPad Pro (9.7 inch)",
                            runtimeVersion: '10.0',
                            state: 'Shutdown'
                        });


            devices.push({
                            name: 'iPad Pro (12.9 inch)',
                            id: '07552BEF-F830-4561-912B-D760B0716935',
                            fullId: "com.apple.CoreSimulator.SimDeviceType.iPad Pro (12.9 inch)",
                            runtimeVersion: '10.0',
                            state: 'Shutdown'
                        });

...right before the return devices; statement.

Obviously that's a big hack and not a solution (the solution would involve fixing that regex), but at the present it allows me to launch my Nativescript app on the 12.9" iPad under emulation, which is pretty important for me because it's the only iOS platform my company actually supports at the moment.

Feel free to close this if issues in dependencies shouldn't be filed here. I just thought I might file it because it manifested itself while I was using 'tns' and it might help someone else out.

My config:
OS X 10.11.6
Xcode 8.0 (8A218a)
tns --version: 2.3.0
ios-sim-portable: 1.3.0
npm --version: 3.10.8
tsc --version: Version 2.0.3

@asterizk
Copy link
Author

asterizk commented Oct 14, 2016

Looks a lot like this: ios-control/ios-sim#197

@tzraikov tzraikov added the bug label Oct 17, 2016
@davecoffin
Copy link

davecoffin commented Dec 22, 2016

@asterizk Do you need to reinstall nativescript after you add your workaround?

@asterizk
Copy link
Author

No, I don't think so, but, for what it's worth, I haven't tried it in a couple of months so it may no longer work... ? What are you seeing?

@biziosan
Copy link

biziosan commented Feb 8, 2017

Hi, I've just installed NativeScript.

iPad Air 2 is detected as a simulated device. The demo app starts just fine. iPad Pro (both types) is not detected.

@grasshoppermouse
Copy link

grasshoppermouse commented Feb 14, 2017

iPad Pro also not detected on my setup. Annoying because the App submission process requires screenshots from the 12.9" Pro, and I just got a "Metadata Rejected" from Apple due to lack of accurate screenshots from that device.

@nraboy
Copy link

nraboy commented Feb 20, 2017

Any news on this? Apple won't let me submit my app without iPad Pro pictures, but I can't simulate on iPad Pro.

@rosen-vladimirov
Copy link
Contributor

@nraboy , @grasshoppermouse you can change the device type of your simulator by executing the following steps:

  1. Start the simulator
  2. From the top menu select Hardware -> Device -> iOS 10.1 -> iPad Pro (12.9 inch)
  3. After the simulator is currently running, execute your CLI command: tns run ios - CLI will respect the already running emulator.

Hoep this helps.

@nraboy
Copy link

nraboy commented Feb 20, 2017

That does not work @rosen-vladimirov. It never deploys the app even with the correct simulator running. Works for every simulator except iPad Pro.

@grasshoppermouse
Copy link

@nraboy is correct: switching simulators first doesn't help; files still don't transfer and the app doesn't launch. I used the hack of @asterizk, and then it seemed to work. However, the simulator that started running was the iPad Pro (without the parentheses), which I believe is only available in iOS 9 (not at work so I can't check). It turns out this has the same screen size as the iPad Pro (12.9 inch). I submitted screen shots to the app store from the iPad Pro, and the app was approved.

@nraboy
Copy link

nraboy commented Feb 20, 2017

@grasshoppermouse it didn't work for me.

I'm pretty bummed right now because I worked hard on my application and Apple won't let me submit until I get iPad Pro images.

@rosen-vladimirov any ideas here?

@tjvantoll
Copy link
Contributor

I confirmed this as well. Even if you launch the 12.9 emulator you are unable to deploy to it from the {N} CLI.

As a temporary workaround until this problem can be addressed, your best bet is running your app on the “iPad Retina”, which gives you 1536 x 2048 screenshots, and then manually upsizing those screenshots to the required 2048 x 2732 size. Not ideal because you lose a bit of quality, but I’ve taken this approach before and had apps accepted.

@rosen-vladimirov
Copy link
Contributor

rosen-vladimirov commented Feb 20, 2017

@nraboy , @grasshoppermouse , @tjvantoll sorry for this issue 😿
I'll raise it's priority and will try to take a look at the issue by the end of the week. Meanwhile can you provide the following information, while the iPad simulator is running:

$ tns device --log trace
$ xcrun simctl list devices

As a workaround you may try the following:

$ tns build ios --emulator

This will build your application for iOS Simulator. Find the output in your platforms/iOS/<project name>/build/emulator/<project name>.app (the path may vary on your environment).

After that, make sure your iOS Simulator (the problematic iPad one) is running and execute:

$ xcrun simctl list devices | grep -i booted

From this line get the identifier of the booted device.
After that try the following:

$ xcrun simctl install <device id> <path to .app>
$ xcrun simctl launch <device id> <app identifier>

@grasshoppermouse
Copy link

With simulator running iPad Pro (12.9 inch):

tns device --log trace
execFile: /usr/local/opt/android-sdk/platform-tools/adb "help"
execFile: /usr/local/opt/android-sdk/platform-tools/adb "help"
spawn: /usr/local/opt/android-sdk/platform-tools/adb "--help"
Socket {
  connecting: false,
  _hadError: false,
  _handle: 
   Pipe {
     bytesRead: 0,
     _externalStream: {},
     fd: 14,
     writeQueueSize: 0,
     owner: [Circular],
     onread: [Function: onread],
     reading: true },
  _parent: null,
  _host: null,
  _readableState: 
   ReadableState {
     objectMode: false,
     highWaterMark: 16384,
     buffer: BufferList { head: null, tail: null, length: 0 },
     length: 0,
     pipes: null,
     pipesCount: 0,
     flowing: null,
     ended: false,
     endEmitted: false,
     reading: true,
     sync: false,
     needReadable: true,
     emittedReadable: false,
     readableListening: false,
     resumeScheduled: false,
     defaultEncoding: 'utf8',
     ranOut: false,
     awaitDrain: 0,
     readingMore: false,
     decoder: null,
     encoding: null },
  readable: true,
  domain: null,
  _events: 
   { end: { [Function: g] listener: [Function: onend] },
     finish: [Function: onSocketFinish],
     _socketEnd: [Function: onSocketEnd],
     close: [Function] },
  _eventsCount: 4,
  _maxListeners: undefined,
  _writableState: 
   WritableState {
     objectMode: false,
     highWaterMark: 16384,
     needDrain: false,
     ending: false,
     ended: false,
     finished: false,
     decodeStrings: false,
     defaultEncoding: 'utf8',
     length: 0,
     writing: false,
     corked: 0,
     sync: true,
     bufferProcessing: false,
     onwrite: [Function],
     writecb: null,
     writelen: 0,
     bufferedRequest: null,
     lastBufferedRequest: null,
     pendingcb: 0,
     prefinished: false,
     errorEmitted: false,
     bufferedRequestCount: 0,
     corkedRequestsFree: CorkedRequest { next: null, entry: null, finish: [Function] } },
  writable: false,
  allowHalfOpen: false,
  destroyed: false,
  _bytesDispatched: 0,
  _sockname: null,
  _writev: null,
  _pendingData: null,
  _pendingEncoding: '',
  server: null,
  _server: null }
Exec uname -a 
 stdout: Darwin van-aimc-l2dnmp.vancouver.wsu.edu 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64
 
 stderr: 
Exec npm -v 
 stdout: 3.10.10
 
 stderr: 
spawn: java "-version"
Exec node-gyp -v 
 stdout:  
 stderr: /bin/sh: node-gyp: command not found

Exec xcodebuild -version 
 stdout: Xcode 8.1
Build version 8B62
 
 stderr: 
Exec gem which xcodeproj 
 stdout: /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.4.2/lib/xcodeproj.rb
 
 stderr: 
Exec pod --version 
 stdout: 1.2.0
 
 stderr: 
Exec '/usr/local/opt/android-sdk/platform-tools/adb' version 
 stdout: Android Debug Bridge version 1.0.36
Revision 0e9850346394-android
 
 stderr: 
spawn: /usr/local/opt/android-sdk/tools/android "-h"
Result when throw error is false:
{ stdout: '\n       Usage:\n       android [global options] action [action options]\n       Global options:\n  -s --silent     : Silent mode, shows errors only.\n  -v --verbose    : Verbose mode, shows errors, warnings and all messages.\n     --clear-cache: Clear the SDK Manager repository manifest cache.\n  -h --help       : Help on a specific command.\n\n                                                                    Valid\n                                                                    actions\n                                                                    are\n                                                                    composed\n                                                                    of a verb\n                                                                    and an\n                                                                    optional\n                                                                    direct\n                                                                    object:\n-    sdk              : Displays the SDK Manager window.\n-    avd              : Displays the AVD Manager window.\n-   list              : Lists existing targets or virtual devices.\n-   list avd          : Lists existing Android Virtual Devices.\n-   list target       : Lists existing targets.\n-   list device       : Lists existing devices.\n-   list sdk          : Lists remote SDK repository.\n- create avd          : Creates a new Android Virtual Device.\n-   move avd          : Moves or renames an Android Virtual Device.\n- delete avd          : Deletes an Android Virtual Device.\n- update avd          : Updates an Android Virtual Device to match the folders\n                        of a new SDK.\n- create project      : Creates a new Android project.\n- update project      : Updates an Android project (must already have an\n                        AndroidManifest.xml).\n- create test-project : Creates a new Android project for a test package.\n- update test-project : Updates the Android project for a test package (must\n                        already have an AndroidManifest.xml).\n- create lib-project  : Creates a new Android library project.\n- update lib-project  : Updates an Android library project (must already have\n                        an AndroidManifest.xml).\n- create uitest-project: Creates a new UI test project.\n- update adb          : Updates adb to support the USB devices declared in the\n                        SDK add-ons.\n- update sdk          : Updates the SDK by suggesting new platforms to install\n                        if available.\n',
  stderr: '',
  exitCode: 1 }
Exec mono --version 
 stdout:  
 stderr: /bin/sh: mono: command not found

Exec git --version 
 stdout: git version 2.9.3 (Apple Git-75)
 
 stderr: 
Exec gradle -v 
 stdout:  
 stderr: /bin/sh: gradle: command not found

Exec "/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin/javac" -version 
 stdout:  
 stderr: javac 1.8.0_101

System information:
{ procInfo: 'nativescript/2.5.1',
  platform: 'darwin',
  os: 'Darwin van-aimc-l2dnmp.vancouver.wsu.edu 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64\n',
  shell: '/bin/bash',
  dotNetVer: null,
  procArch: 'x64',
  nodeVer: 'v6.9.5',
  npmVer: '3.10.10',
  javaVer: '1.8.0',
  nodeGypVer: null,
  xcodeVer: 'Xcode 8.1\nBuild version 8B62\n',
  xcodeprojGemLocation: '/Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.4.2/lib/xcodeproj.rb\n',
  itunesInstalled: true,
  cocoapodVer: '1.2.0',
  adbVer: 'Android Debug Bridge version 1.0.36',
  androidInstalled: true,
  monoVer: null,
  gitVer: '2.9.3 (Apple Git-75)',
  gradleVer: null,
  javacVersion: '1.8.0_101' }
Initializing analytics statuses.
Analytics statuses: 
{ TrackFeatureUsage: 1, TrackExceptions: 1 }
Trying to track feature 'Non-interactive' with value 'device'.
Analytics statuses: 
{ TrackFeatureUsage: 1, TrackExceptions: 1 }
Trying to track feature 'Non-interactive' with value 'device|*list'.
startLookingForDevices; platform is undefined
spawn: /usr/local/opt/android-sdk/platform-tools/adb "start-server"
Result when throw error is false:
{ stdout: '', stderr: '', exitCode: 0 }
spawn: /usr/local/opt/android-sdk/platform-tools/adb "devices"
spawn: /usr/local/opt/android-sdk/platform-tools/adb "-s" "TA46304WQ9" "shell" "getprop"
Result when throw error is false:
{ stdout: '[DEVICE_PROVISIONED]: [1]\r\n[dalvik.vm.heapgrowthlimit]: [96m]\r\n[dalvik.vm.heapmaxfree]: [8m]\r\n[dalvik.vm.heapminfree]: [2m]\r\n[dalvik.vm.heapsize]: [256m]\r\n[dalvik.vm.heapstartsize]: [8m]\r\n[dalvik.vm.heaptargetutilization]: [0.75]\r\n[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]\r\n[debug.composition.type]: [c2d]\r\n[debug.egl.hw]: [1]\r\n[debug.force_rtl]: [0]\r\n[debug.mdpcomp.logs]: [0]\r\n[debug.sf.fb_always_on]: [1]\r\n[debug.sf.hw]: [1]\r\n[dev.bootcomplete]: [1]\r\n[dev.pm.dyn_samplingrate]: [1]\r\n[dhcp.wlan0.dns1]: [172.16.102.4]\r\n[dhcp.wlan0.dns2]: [172.16.102.5]\r\n[dhcp.wlan0.dns3]: [69.166.33.125]\r\n[dhcp.wlan0.dns4]: [69.166.33.126]\r\n[dhcp.wlan0.dns5]: [134.121.139.10]\r\n[dhcp.wlan0.dns6]: [134.121.80.36]\r\n[dhcp.wlan0.domain]: [vancouver.wsu.edu]\r\n[dhcp.wlan0.gateway]: [10.0.64.1]\r\n[dhcp.wlan0.ipaddress]: [10.0.90.189]\r\n[dhcp.wlan0.leasetime]: [7200]\r\n[dhcp.wlan0.mask]: [255.255.224.0]\r\n[dhcp.wlan0.mtu]: []\r\n[dhcp.wlan0.pid]: [15593]\r\n[dhcp.wlan0.reason]: [REBOOT]\r\n[dhcp.wlan0.result]: [ok]\r\n[dhcp.wlan0.server]: [172.16.109.111]\r\n[dhcp.wlan0.vendorInfo]: []\r\n[drm.service.enabled]: [true]\r\n[gsm.current.phone-type]: [1]\r\n[gsm.network.type]: [Unknown]\r\n[gsm.operator.alpha]: []\r\n[gsm.operator.iso-country]: []\r\n[gsm.operator.isroaming]: [false]\r\n[gsm.operator.numeric]: []\r\n[gsm.sim.state]: [ABSENT]\r\n[gsm.version.baseband]: [MSM8926BP_101.90.49.01R, cricket_cust]\r\n[gsm.version.ril-impl]: [Qualcomm RIL 1.0]\r\n[hw.cabl.version]: [1.1.20130401]\r\n[hw.cabl.yuv]: [0]\r\n[hw.pp.cfg]: [/data/pp_data.cfg]\r\n[init.svc.adbd]: [running]\r\n[init.svc.adsprpcd]: [running]\r\n[init.svc.akmd8963]: [running]\r\n[init.svc.atfwd]: [running]\r\n[init.svc.atvc]: [stopped]\r\n[init.svc.atvc_core]: [stopped]\r\n[init.svc.batt_health]: [running]\r\n[init.svc.bootanim]: [stopped]\r\n[init.svc.config_bluetooth]: [stopped]\r\n[init.svc.debuggerd]: [running]\r\n[init.svc.dhcpcd_wlan0]: [running]\r\n[init.svc.drm]: [running]\r\n[init.svc.dropboxd]: [running]\r\n[init.svc.flash_recovery]: [stopped]\r\n[init.svc.healthd]: [running]\r\n[init.svc.hw_revs]: [stopped]\r\n[init.svc.installd]: [running]\r\n[init.svc.iprenew_wlan0]: [stopped]\r\n[init.svc.irsc_util]: [stopped]\r\n[init.svc.keystore]: [running]\r\n[init.svc.kpgather]: [stopped]\r\n[init.svc.location_mq]: [running]\r\n[init.svc.mbm_spy]: [stopped]\r\n[init.svc.media]: [running]\r\n[init.svc.mmi-boot-sh]: [stopped]\r\n[init.svc.mmi-radio-sh]: [stopped]\r\n[init.svc.mmi-touch-sh]: [stopped]\r\n[init.svc.mmi-usb-sh]: [stopped]\r\n[init.svc.mpdecision]: [running]\r\n[init.svc.netd]: [running]\r\n[init.svc.netmgrd]: [running]\r\n[init.svc.p2p_supplicant]: [running]\r\n[init.svc.ppd]: [running]\r\n[init.svc.ptt_socket_app]: [stopped]\r\n[init.svc.qcamerasvr]: [running]\r\n[init.svc.qcom-c_core-sh]: [stopped]\r\n[init.svc.qcom-c_main-sh]: [stopped]\r\n[init.svc.qcom-post-boot]: [stopped]\r\n[init.svc.qcom-sh]: [stopped]\r\n[init.svc.qe]: [stopped]\r\n[init.svc.qmuxd]: [running]\r\n[init.svc.qseecomd]: [running]\r\n[init.svc.rfs_access]: [running]\r\n[init.svc.ril-daemon]: [running]\r\n[init.svc.ril-qmi]: [stopped]\r\n[init.svc.rmt_storage]: [running]\r\n[init.svc.sdcard]: [running]\r\n[init.svc.servicemanager]: [running]\r\n[init.svc.ss_rdump]: [running]\r\n[init.svc.surfaceflinger]: [running]\r\n[init.svc.tcmd]: [running]\r\n[init.svc.thermal-engine]: [running]\r\n[init.svc.time_daemon]: [running]\r\n[init.svc.ueventd]: [running]\r\n[init.svc.vold]: [running]\r\n[init.svc.wcnss-service]: [running]\r\n[init.svc.xtwifi_client]: [running]\r\n[init.svc.xtwifi_inet]: [running]\r\n[init.svc.zygote]: [running]\r\n[installd.post_fs_data_ready]: [1]\r\n[keyguard.no_require_sim]: [true]\r\n[lpa.decode]: [true]\r\n[lpa.use-stagefright]: [true]\r\n[mdc_initial_max_retry]: [10]\r\n[media.stagefright.enable-aac]: [true]\r\n[media.stagefright.enable-fma2dp]: [true]\r\n[media.stagefright.enable-http]: [true]\r\n[media.stagefright.enable-player]: [true]\r\n[media.stagefright.enable-qcp]: [true]\r\n[media.stagefright.enable-scan]: [true]\r\n[mm.enable.qcom_parser]: [37491]\r\n[mmp.enable.3g2]: [true]\r\n[net.bt.name]: [Android]\r\n[net.change]: [net.dns4]\r\n[net.dns1]: [172.16.102.4]\r\n[net.dns2]: [172.16.102.5]\r\n[net.dns3]: [69.166.33.125]\r\n[net.dns4]: [69.166.33.126]\r\n[net.early.sockets]: [0]\r\n[net.hostname]: [android-e27dc1458a0bd04d]\r\n[net.qtaguid_enabled]: [1]\r\n[net.tcp.buffersize.1xrtt]: [16384,32768,131072,4096,16384,102400]\r\n[net.tcp.buffersize.2ghotspot2]: [4096,16384,102400,16384,32768,131072]\r\n[net.tcp.buffersize.2ghotspot]: [4096,16384,65536,16384,32768,131072]\r\n[net.tcp.buffersize.3ghotspot2]: [4096,16384,524288,131072,262144,1048576]\r\n[net.tcp.buffersize.3ghotspot]: [4096,16384,399360,131072,262144,1452032]\r\n[net.tcp.buffersize.4ghotspot]: [262144,524288,4194304,524288,1048576,8388608]\r\n[net.tcp.buffersize.cdma]: [4096,12288,49152,4096,12288,49152]\r\n[net.tcp.buffersize.default]: [131072,262144,1048576,4096,16384,262144]\r\n[net.tcp.buffersize.edge]: [16384,32768,131072,4096,16384,65536]\r\n[net.tcp.buffersize.ehrpd]: [131072,262144,1048576,4096,16384,524288]\r\n[net.tcp.buffersize.evdo]: [16384,32768,131072,4096,16384,102400]\r\n[net.tcp.buffersize.evdo_b]: [131072,262144,1048576,4096,16384,524288]\r\n[net.tcp.buffersize.gprs]: [4096,8192,24576,4096,8192,24576]\r\n[net.tcp.buffersize.hsdpa]: [131072,262144,1452032,4096,16384,399360]\r\n[net.tcp.buffersize.hspa]: [131072,262144,1452032,4096,16384,399360]\r\n[net.tcp.buffersize.hspap]: [131072,262144,1452032,4096,16384,399360]\r\n[net.tcp.buffersize.hsupa]: [131072,262144,1452032,4096,16384,399360]\r\n[net.tcp.buffersize.lte]: [524288,1048576,8388608,262144,524288,4194304]\r\n[net.tcp.buffersize.umts]: [131072,262144,1452032,4096,16384,399360]\r\n[net.tcp.buffersize.wifi]: [131072,262144,3145728,4096,221184,3145728]\r\n[net.tcp.default_init_rwnd]: [60]\r\n[net.tethering.on]: [0]\r\n[persist.atvc.adb]: [0]\r\n[persist.atvc.allow_all_core]: [0]\r\n[persist.atvc.allow_res_core]: [0]\r\n[persist.atvc.allow_res_panic]: [0]\r\n[persist.atvc.log]: [0]\r\n[persist.atvc.netmon_ih]: [0]\r\n[persist.atvc.netmon_usb]: [0]\r\n[persist.atvc.simswap]: [0]\r\n[persist.audio.calfile0]: [/etc/Bluetooth_cal.acdb]\r\n[persist.audio.calfile1]: [/etc/General_cal.acdb]\r\n[persist.audio.calfile2]: [/etc/Global_cal.acdb]\r\n[persist.audio.calfile3]: [/etc/Handset_cal.acdb]\r\n[persist.audio.calfile4]: [/etc/Hdmi_cal.acdb]\r\n[persist.audio.calfile5]: [/etc/Headset_cal.acdb]\r\n[persist.audio.calfile6]: [/etc/Speaker_cal.acdb]\r\n[persist.audio.fluence.mode]: [endfire]\r\n[persist.audio.handset.mic]: [digital]\r\n[persist.cne.feature]: [0]\r\n[persist.demo.hdmirotationlock]: [false]\r\n[persist.env.phone.global]: [false]\r\n[persist.env.plmn.update]: [false]\r\n[persist.fuse_sdcard]: [true]\r\n[persist.gps.qc_nlp_in_use]: [1]\r\n[persist.hwc.mdpcomp.enable]: [true]\r\n[persist.loc.nlp_name]: [com.qualcomm.services.location]\r\n[persist.mot.usb.config]: [mtp,adb]\r\n[persist.qe]: [qe 0/0]\r\n[persist.radio.adb_log_on]: [0]\r\n[persist.radio.apm_sim_not_pwdn]: [1]\r\n[persist.radio.apn_delay]: [5000]\r\n[persist.radio.call_type]: [1]\r\n[persist.radio.dfr_mode_set]: [1]\r\n[persist.radio.dont_use_dsd]: [false]\r\n[persist.radio.eons.enabled]: [false]\r\n[persist.radio.msgtunnel.start]: [false]\r\n[persist.radio.no_wait_for_card]: [1]\r\n[persist.radio.relay_oprt_change]: [1]\r\n[persist.rild.nitz_long_ons_0]: []\r\n[persist.rild.nitz_long_ons_1]: []\r\n[persist.rild.nitz_long_ons_2]: []\r\n[persist.rild.nitz_long_ons_3]: []\r\n[persist.rild.nitz_plmn]: []\r\n[persist.rild.nitz_short_ons_0]: []\r\n[persist.rild.nitz_short_ons_1]: []\r\n[persist.rild.nitz_short_ons_2]: []\r\n[persist.rild.nitz_short_ons_3]: []\r\n[persist.service.bdroid.bdaddr]: [22:22:4c:3a:df:a4]\r\n[persist.sys.country]: [US]\r\n[persist.sys.dalvik.vm.lib]: [libdvm.so]\r\n[persist.sys.language]: [en]\r\n[persist.sys.localevar]: []\r\n[persist.sys.logkit.ctrlcode]: [0]\r\n[persist.sys.phonelock.mode]: [1]\r\n[persist.sys.profiler_ms]: [0]\r\n[persist.sys.qc.sub.rdump.max]: [0]\r\n[persist.sys.qc.sub.rdump.on]: [1]\r\n[persist.sys.ssr.restart_level]: [3]\r\n[persist.sys.timezone]: [America/Los_Angeles]\r\n[persist.sys.usb.config]: [mtp,adb]\r\n[persist.sys.wfd.virtual]: [0]\r\n[persist.tcmd.log.limit]: [0]\r\n[persist.timed.enable]: [true]\r\n[qcom.audio.init]: [complete]\r\n[qcom.bt.le_dev_pwr_class]: [1]\r\n[ril.baseband.config.version]: [cricket_cust]\r\n[ril.ecclist]: [911,112,000,08,110,999,118,119]\r\n[ril.lte.bc.config]: [65562]\r\n[ril.qcril_pre_init_lock_held]: [0]\r\n[ril.radio.ctbk_inst]: [276]\r\n[ril.radio.ctbk_val]: [1,0,0,0,0,0,1,0,0,0,1,0]\r\n[ril.subscription.types]: [NV,RUIM]\r\n[rild.libargs]: [-d /dev/smd0]\r\n[rild.libpath]: [/vendor/lib/libril-qc-qmi-1.so]\r\n[ro.MAX_HIDDEN_APPS]: [12]\r\n[ro.adb.secure]: [1]\r\n[ro.allow.mock.location]: [0]\r\n[ro.audio.fm_max_volume]: [4096]\r\n[ro.audio.monitorRotation]: [1]\r\n[ro.baseband]: [msm]\r\n[ro.bluetooth.hfp.ver]: [1.6]\r\n[ro.board.platform]: [msm8226]\r\n[ro.boot.baseband]: [msm]\r\n[ro.boot.bootloader]: [0x4113]\r\n[ro.boot.carrier]: [att]\r\n[ro.boot.cid]: [0x10]\r\n[ro.boot.device]: [peregrine]\r\n[ro.boot.emmc]: [true]\r\n[ro.boot.fsg-id]: []\r\n[ro.boot.hardware]: [qcom]\r\n[ro.boot.hwrev]: [0x82D0]\r\n[ro.boot.mode]: [normal]\r\n[ro.boot.powerup_reason]: [0x00000010]\r\n[ro.boot.radio]: [0x1]\r\n[ro.boot.secure_hardware]: [1]\r\n[ro.boot.serialno]: [TA46304WQ9]\r\n[ro.boot.write_protect]: [1]\r\n[ro.bootloader]: [0x4113]\r\n[ro.bootmode]: [normal]\r\n[ro.bug2go.magickeys]: [24,26]\r\n[ro.build.characteristics]: [default]\r\n[ro.build.date.utc]: [1404080205]\r\n[ro.build.date]: [Sun Jun 29 17:16:45 CDT 2014]\r\n[ro.build.description]: [peregrine_cricket-user 4.4.4 KXB21.14-L1.45 15 release-keys]\r\n[ro.build.display.id]: [KXB21.14-L1.45]\r\n[ro.build.fingerprint]: [motorola/peregrine_cricket/peregrine:4.4.4/KXB21.14-L1.45/15:user/release-keys]\r\n[ro.build.host]: [ilclbld30]\r\n[ro.build.id]: [KXB21.14-L1.45]\r\n[ro.build.product]: [peregrine]\r\n[ro.build.tags]: [release-keys]\r\n[ro.build.type]: [user]\r\n[ro.build.user]: [hudsoncm]\r\n[ro.build.version.codename]: [REL]\r\n[ro.build.version.full]: [Blur_Version.21.1.45.peregrine_cricket.cricket.en.US]\r\n[ro.build.version.incremental]: [15]\r\n[ro.build.version.qcom]: [AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.020]\r\n[ro.build.version.release]: [4.4.4]\r\n[ro.build.version.sdk]: [19]\r\n[ro.carrier]: [att]\r\n[ro.com.google.clientidbase.am]: [android-att-aio-us]\r\n[ro.com.google.clientidbase.gmm]: [android-motorola]\r\n[ro.com.google.clientidbase.ms]: [android-att-aio-us]\r\n[ro.com.google.clientidbase.yt]: [android-motorola]\r\n[ro.com.google.clientidbase]: [android-motorola]\r\n[ro.com.google.gmsversion]: [4.4.3_r1]\r\n[ro.config.alarm_alert]: [Oxygen.ogg]\r\n[ro.config.notification_sound]: [CricketGuitar.ogg]\r\n[ro.config.ringtone]: [CricketRing.ogg]\r\n[ro.config.vc_call_vol_steps]: [7]\r\n[ro.crypto.fuse_sdcard]: [true]\r\n[ro.crypto.state]: [unencrypted]\r\n[ro.debuggable]: [0]\r\n[ro.factorytest]: [0]\r\n[ro.fuse_sdcard]: [true]\r\n[ro.gps.agps_provider]: [1]\r\n[ro.hardware]: [qcom]\r\n[ro.hdmi.enable]: [true]\r\n[ro.hw.device]: [peregrine]\r\n[ro.hw.hwrev]: [0x82D0]\r\n[ro.hw.radio]: [0x1]\r\n[ro.hw.revision]: [p2d]\r\n[ro.manufacturedate]: [9/3/2014]\r\n[ro.media.enc.aud.codec]: [amrnb]\r\n[ro.media.enc.aud.fileformat]: [amr]\r\n[ro.mot.build.customerid]: [cricket]\r\n[ro.mot.build.version.sdk_int]: [19]\r\n[ro.mot.hw.uaprof]: [http://uaprof.motorola.com/phoneconfig/motomb886/Profile/motomb886.rdf]\r\n[ro.mot.noroamingicon]: [1]\r\n[ro.mot.wifi.hotspot]: [1]\r\n[ro.mvp.features]: [srvc,grbks,vpncrt,vpn,mvpdsec,ftx]\r\n[ro.nfc.port]: [I2C]\r\n[ro.opengles.version]: [196608]\r\n[ro.product.board]: [MSM8226]\r\n[ro.product.brand]: [motorola]\r\n[ro.product.cpu.abi2]: [armeabi]\r\n[ro.product.cpu.abi]: [armeabi-v7a]\r\n[ro.product.device]: [peregrine]\r\n[ro.product.display]: [Moto G]\r\n[ro.product.locale.language]: [en]\r\n[ro.product.locale.region]: [US]\r\n[ro.product.manufacturer]: [motorola]\r\n[ro.product.model]: [XT1045]\r\n[ro.product.name]: [peregrine_cricket]\r\n[ro.qc.sdk.audio.ssr]: [false]\r\n[ro.qc.sdk.izat.premium_enabled]: [1]\r\n[ro.qc.sdk.izat.service_mask]: [0x5]\r\n[ro.qualcomm.bluetooth.sap]: [false]\r\n[ro.qualcomm.bt.hci_transport]: [smd]\r\n[ro.qualcomm.cabl]: [0]\r\n[ro.revision]: [p2d0]\r\n[ro.ril.svdo]: [false]\r\n[ro.ril.svlte1x]: [false]\r\n[ro.runtime.firstboot]: [1482078813894]\r\n[ro.secure]: [1]\r\n[ro.serialno]: [TA46304WQ9]\r\n[ro.setupwizard.mode]: [OPTIONAL]\r\n[ro.sf.lcd_density]: [320]\r\n[ro.sys.atvc_allow_all_core]: [0]\r\n[ro.sys.atvc_allow_ap_mot_log]: [0]\r\n[ro.sys.atvc_allow_bp_log]: [0]\r\n[ro.sys.atvc_allow_gki_log]: [0]\r\n[ro.sys.atvc_allow_netmon_ih]: [0]\r\n[ro.sys.atvc_allow_netmon_usb]: [0]\r\n[ro.sys.atvc_allow_res_core]: [0]\r\n[ro.sys.atvc_allow_res_panic]: [0]\r\n[ro.sys.atvc_allow_simswap]: [0]\r\n[ro.telephony.call_ring.multiple]: [false]\r\n[ro.telephony.default_network]: [9]\r\n[ro.tether.denied]: [true]\r\n[ro.url.legal.android_privacy]: [http://www.google.com/intl/%s/mobile/android/basic/privacy.html]\r\n[ro.url.legal]: [http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html]\r\n[ro.usb.bpt]: [0x2e28]\r\n[ro.usb.bpt_adb]: [0x2e29]\r\n[ro.usb.bpteth]: [0x2e2a]\r\n[ro.usb.bpteth_adb]: [0x2e2b]\r\n[ro.usb.mtp]: [0x2e82]\r\n[ro.usb.mtp_adb]: [0x2e76]\r\n[ro.usb.ptp]: [0x2e83]\r\n[ro.usb.ptp_adb]: [0x2e84]\r\n[ro.use_data_netmgrd]: [true]\r\n[ro.vendor.extension_library]: [/vendor/lib/libqc-opt.so]\r\n[ro.wifi.channels]: []\r\n[ro.zygote.capsuid]: [0]\r\n[service.bootanim.exit]: [1]\r\n[sys.boot_completed]: [1]\r\n[sys.bootbroadcast_completed]: [1]\r\n[sys.settings_global_version]: [6]\r\n[sys.settings_secure_version]: [54]\r\n[sys.settings_system_version]: [4]\r\n[sys.sysctl.extra_free_kbytes]: [10800]\r\n[sys.sysctl.tcp_def_init_rwnd]: [60]\r\n[sys.usb.config]: [mtp,adb]\r\n[sys.usb.state]: [mtp,adb]\r\n[tcmd.blan.interface]: [usb0]\r\n[telephony.lteOnCdmaDevice]: [0]\r\n[tunnel.audiovideo.decode]: [false]\r\n[tunnel.decode]: [false]\r\n[vidc.debug.level]: [1]\r\n[vold.post_fs_data_done]: [1]\r\n[wifi.interface]: [wlan0]\r\n[wlan.driver.ath]: [0]\r\n[wlan.driver.config]: [/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini]\r\n[wlan.driver.status]: [ok]\r\n',
  stderr: '',
  exitCode: 0 }
{ characteristics: 'default',
  'date.utc': '1404080205',
  date: 'Sun Jun 29 17:16:45 CDT 2014',
  description: 'peregrine_cricket-user 4.4.4 KXB21.14-L1.45 15 release-keys',
  'display.id': 'KXB21.14-L1.45',
  fingerprint: 'motorola/peregrine_cricket/peregrine:4.4.4/KXB21.14-L1.45/15:user/release-keys',
  host: 'ilclbld30',
  id: 'KXB21.14-L1.45',
  product: 'peregrine',
  tags: 'release-keys',
  type: 'user',
  user: 'hudsoncm',
  codename: 'REL',
  full: 'Blur_Version.21.1.45.peregrine_cricket.cricket.en.US',
  incremental: '15',
  qcom: 'AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.020',
  release: '4.4.4',
  sdk: '19',
  board: 'MSM8226',
  brand: 'motorola',
  'cpu.abi2': 'armeabi',
  'cpu.abi': 'armeabi-v7a',
  device: 'peregrine',
  display: 'Moto G',
  'locale.language': 'en',
  'locale.region': 'US',
  manufacturer: 'motorola',
  model: 'XT1045',
  name: 'peregrine_cricket' }
{ characteristics: 'default',
  'date.utc': '1404080205',
  date: 'Sun Jun 29 17:16:45 CDT 2014',
  description: 'peregrine_cricket-user 4.4.4 KXB21.14-L1.45 15 release-keys',
  'display.id': 'KXB21.14-L1.45',
  fingerprint: 'motorola/peregrine_cricket/peregrine:4.4.4/KXB21.14-L1.45/15:user/release-keys',
  host: 'ilclbld30',
  id: 'KXB21.14-L1.45',
  product: 'peregrine',
  tags: 'release-keys',
  type: 'user',
  user: 'hudsoncm',
  codename: 'REL',
  full: 'Blur_Version.21.1.45.peregrine_cricket.cricket.en.US',
  incremental: '15',
  qcom: 'AU_LINUX_ANDROID_LNX.LA.3.5.1_RB1.04.04.02.048.020',
  release: '4.4.4',
  sdk: '19',
  board: 'MSM8226',
  brand: 'motorola',
  'cpu.abi2': 'armeabi',
  'cpu.abi': 'armeabi-v7a',
  device: 'peregrine',
  display: 'Moto G',
  'locale.language': 'en',
  'locale.region': 'US',
  manufacturer: 'motorola',
  model: 'XT1045',
  name: 'peregrine_cricket' }
execFile: /usr/local/opt/android-sdk/platform-tools/adb "devices"
execFile: /usr/local/opt/android-sdk/platform-tools/adb "-s" "TA46304WQ9" "shell" "getprop" "ro.product.manufacturer"
execFile: /usr/local/opt/android-sdk/platform-tools/adb "-s" "TA46304WQ9" "shell" "getprop" "ro.build.product"
{ identifier: 'TA46304WQ9',
  displayName: 'peregrine_cricket',
  model: 'XT1045',
  version: '4.4.4',
  vendor: 'motorola',
  platform: 'Android',
  status: 'Connected',
  errorHelp: null,
  isTablet: false,
  type: 'Device' }
Found device with identifier 'TA46304WQ9'
Exec ps cax | grep launchd_sim 
 stdout: 68835   ??  S      0:01.11 launchd_sim
 
 stderr: 
┌───┬───────────────────┬──────────┬───────────────────┬────────┬───────────┐
│ # │ Device Name       │ Platform │ Device Identifier │ Type   │ Status    │
│ 1 │ peregrine_cricket │ Android  │ TA46304WQ9        │ Device │ Connected │
└───┴───────────────────┴──────────┴───────────────────┴────────┴───────────┘
xcrun simctl list devices
== Devices ==
-- iOS 9.3 --
    iPhone 4s (4F8507FC-6D1E-42BE-AE80-64F2AB403A54) (Shutdown)
    iPhone 5 (B683C17A-F897-4AAD-9D44-200BA3A7601F) (Shutdown)
    iPhone 5s (15A1E59D-6422-4D19-B655-4AE768BD9369) (Shutdown)
    iPhone 6 (02E25006-DB3A-40D4-8A43-306556A00E05) (Shutdown)
    iPhone 6 Plus (33414F3D-1555-4B3F-AE36-0C20102299EF) (Shutdown)
    iPhone 6s (2B3C94E8-A43F-4EAC-A05C-12F8C2210BE6) (Shutdown)
    iPhone 6s Plus (B7677238-A9FA-4218-A737-10E1635F1427) (Shutdown)
    iPad 2 (D1EB8BE8-4FB5-4CE7-A735-FEB8E318FE90) (Shutdown)
    iPad Retina (5F221450-0495-4DFA-B5CD-B75E70A20D7A) (Shutdown)
    iPad Air (816C1775-564D-45DD-B292-CD7C5B85007B) (Shutdown)
    iPad Air 2 (863C0CA0-2D0C-4AE9-AD97-7BD4AEBEE641) (Shutdown)
    iPad Pro (05A73C45-9A58-47BE-B42B-E2AB5131E4F9) (Shutdown)
-- iOS 10.1 --
    iPhone 5 (5AC65992-BA39-4256-B659-60C711EA994B) (Shutdown)
    iPhone 5s (AA263D8A-87B9-4A10-80FC-D134318FD27D) (Shutdown)
    iPhone 6 (FD7A53F6-3ABE-4D2A-A345-62488A0ED4F7) (Shutdown)
    iPhone 6 Plus (BD577880-A7AA-4F28-9299-4990999FABDF) (Shutdown)
    iPhone 6s (2638807E-2AE6-40FA-99B2-E58A5148E06F) (Shutdown)
    iPhone 6s Plus (6A3A4C76-E9C6-498D-A244-83AB9748F616) (Shutdown)
    iPhone 7 (CFAE676A-430A-4324-9A8F-A9911C5C77BD) (Shutdown)
    iPhone 7 Plus (3C521717-4649-46AB-8A9F-70A336D2D424) (Shutdown)
    iPhone SE (177E88A2-E0C1-4075-9E11-1E6367D49EE8) (Shutdown)
    iPad Retina (A157FC37-1A01-4DBA-9062-3F81B1462EF7) (Shutdown)
    iPad Air (7E377803-E44A-4168-91EC-828ACD52BC09) (Shutdown)
    iPad Air 2 (9696A8ED-3020-49FC-90D6-DAFD29A0EA8D) (Shutdown)
    iPad Pro (9.7 inch) (7FF984D4-0755-432D-BE0E-6EB44F0489CB) (Shutdown)
    iPad Pro (12.9 inch) (F02012C8-6D4D-46FF-90D7-5DF90EF579E8) (Booted)
-- tvOS 10.0 --
    Apple TV 1080p (779FA077-9030-46F3-980D-D1F80C0AAFA1) (Shutdown)
-- watchOS 3.1 --
    Apple Watch - 38mm (6CFA687B-067E-48A0-A194-564E27A59250) (Shutdown)
    Apple Watch - 42mm (028DD54B-223E-4D8F-BE3F-664A99D9EB5C) (Shutdown)
    Apple Watch Series 2 - 38mm (16A9FC45-EEAB-4A3E-BE0C-3C1A2B818988) (Shutdown)
    Apple Watch Series 2 - 42mm (6D0EBF66-705C-4405-B5C2-3E73A7C59564) (Shutdown)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-10-0 --
    iPhone 5 (090D5D4F-DCD0-4298-8134-2411315103A9) (Shutdown) (unavailable, runtime profile not found)
    iPhone 5s (43F31F70-0CBE-4219-A462-A116E6DBCF05) (Shutdown) (unavailable, runtime profile not found)
    iPhone 6 (8EC9F918-E085-4764-AB55-9F274901700F) (Shutdown) (unavailable, runtime profile not found)
    iPhone 6 Plus (55CB00CE-2EA8-4F22-A340-42662BEF5471) (Shutdown) (unavailable, runtime profile not found)
    iPhone 6s (B108DB2A-59D8-4699-9A55-4651E0239A79) (Shutdown) (unavailable, runtime profile not found)
    iPhone 6s Plus (3A8D0229-FC97-4337-863C-254EB46AACDA) (Shutdown) (unavailable, runtime profile not found)
    iPhone 7 (3CE6DEF7-3682-42BD-8F94-9CE230151F91) (Shutdown) (unavailable, runtime profile not found)
    iPhone 7 Plus (BF1C93AF-769D-4F33-BCBD-8ED9500BA2F7) (Shutdown) (unavailable, runtime profile not found)
    iPhone SE (1DF94E6E-E69E-4C14-9B81-FBAE7F103B3D) (Shutdown) (unavailable, runtime profile not found)
    iPad Retina (7F98D896-336B-4014-95B8-16279D3EE208) (Shutdown) (unavailable, runtime profile not found)
    iPad Air (BB500A75-090D-4A69-8438-A4B580065198) (Shutdown) (unavailable, runtime profile not found)
    iPad Air 2 (93733617-8E34-4FC6-AE5A-F2A04E7DADD5) (Shutdown) (unavailable, runtime profile not found)
    iPad Pro (9.7 inch) (0448CF70-44C2-434E-A4B0-A215C3F252A4) (Shutdown) (unavailable, runtime profile not found)
    iPad Pro (12.9 inch) (6A50EEA3-B162-4C94-A084-C0E9D706FDF7) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.tvOS-9-2 --
    Apple TV 1080p (1CA24A58-48F2-4B0E-81C4-C7E2F1FC125F) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-2-2 --
    Apple Watch - 38mm (29EE6587-5C0D-4164-9BC4-3AB2402CAAC3) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch - 42mm (EE87496E-F81C-4246-97A9-87F2B9817C40) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-3-0 --
    Apple Watch - 38mm (27EE4AB3-63AC-48B5-93FE-91002F4D8302) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch - 42mm (C82B8BF9-A6AD-461B-9458-939EC7586BD4) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 2 - 38mm (490768EB-E336-4B17-9E6E-E0D6493A9333) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 2 - 42mm (FC0418AC-E201-4770-B319-C5DAA50239D1) (Shutdown) (unavailable, runtime profile not found)

@rosen-vladimirov rosen-vladimirov self-assigned this Feb 20, 2017
@rosen-vladimirov
Copy link
Contributor

Hey guys,
First of all, thank you for your patience and collaboration. We've just released version 1.6.2 of ios-sim-portable, which will allow you to use iPad Pro (9.7 inch) and iPad Pro (12.9 inch) devices. However there are some other issues in CLI, so you'll have to start the simulator first and use:

$ tns emulate ios

after that.
In order to use the new version, you'll have to reinstall your CLI:

$ npm uninstall -g nativescript
$ npm install -g nativescript

I'll keep this issue open until we fix the whole behavior, so --device flag will also work with iPad Pro.

Can you try reinstalling NativeScript CLI and see if you are able to deploy on the iPad Pro emulators?

@rosen-vladimirov rosen-vladimirov added this to the 3.0.0-RC milestone Feb 27, 2017
@pkoleva
Copy link
Contributor

pkoleva commented Mar 30, 2017

Hey all, we will be deprecating the emulate command (more info here). From 3.0 you can use tns run <platform> --device <deviceId> to deploy to a specific emulator/simulator (our 3.0 RC is already in npm -> nativescript@rc). DeviceId can be found with tns device which lists all connected devices. Using tns run <platform> --emulator will run your app on a default emulator\simulator if none is started or if one is started it will deploy on it.
@asterizk

@pkoleva pkoleva removed this from the 3.0.0-RC milestone Apr 3, 2017
@dtopuzov dtopuzov changed the title Can't run tns emulate ios --device "iPad Pro (12.9 inch)" Simulators with ( in name are not started after tns run ios --device <device_name> Apr 24, 2017
@dtopuzov dtopuzov added os: ios and removed emulate labels Apr 24, 2017
@dtopuzov
Copy link
Contributor

Current state with 3.0.0 RC:
If iPad Pro (12.9 inch) is started manually then CLI will work with it properly.
If you run tns run ios --device 'iPad Pro (12.9 inch)' then it will fail.

@asterizk
Copy link
Author

asterizk commented Apr 24, 2017

Thanks for keeping the issue up-to-date guys, and for your time. @dtopuzov @pkoleva @rosen-vladimirov. Am I correct in my assertion that this is basically a "ios-sim-portable" issue, manifesting itself within the Nativescript CLI?

@etabakov etabakov added this to the 3.1.0 milestone Apr 27, 2017
@pkoleva
Copy link
Contributor

pkoleva commented May 4, 2017

Hey, @asterizk ,

The main issue is that so far we've used other logic for starting simulators/deploying on them. With the changes ( in our 3.0.0 release and the RC before that) we weren't sure what will be useful to you, our users, so for iOS we haven't decided how to start simulators by their name. You can start any existing simulator by id ( tns run ios --device <device identifier>), which you can check by executing tns devices ios --available-devices. Hope this helps :)

@pkoleva pkoleva removed this from the 3.1.0 milestone Jun 6, 2017
@pkoleva
Copy link
Contributor

pkoleva commented Jul 14, 2017

Related to #1548
We still need to figure out the proper way to start specific simulators

@dtopuzov
Copy link
Contributor

Fixed in 4.0.1 RC (4.0.1-2018-04-23-11424).
Now you can do things like this:

tns run ios --device 'iPad Pro (12.9-inch) (2nd generation)' --sdk 11.3

To see all available devices and sdks run this:

tns device ios --available-devices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests