-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Force emulator to run with specific iOS version? #952
Comments
From @emiloberg on September 22, 2015 7:11 Looking at Xcode, there's no such thing as a 7.1 simulator (as Xcode 7 doesn't support it): |
From @manijak on September 22, 2015 8:32 I haven't installed Xcode7 yet. I've heard that {N} modules are not supported in iOS 9? Does this mean that iOS7 apps are no more? And users of iPhone3 & 4 are out? We can focus on developing apps that are 8.x > ? |
From @emiloberg on September 22, 2015 8:55 This doesn't mean that you can't build iOS7 apps (as far as I understand it), it just means that you can't use the emulator iOS 7 emulator. |
+1 this would be good. We're just building in Xcode for now. |
I encountered the same problem after recently upgrading to XCode 7.
Regardless, the way I forced using the latest iOS 9 simulator runtime is simply deleting Now running |
With the latest master you can select devices using |
How is this a change? Appart from the removal of the dash. |
Yes, --device now do not use the format with dashes. --device should specify the name of Simulator you see in the Xcode UI (name which is listed by "xcrun simctl list devices"). |
{N} CLI 1.5.0 will support Xcode 7 and 7.1, we hope it will be live next week. |
I still don't get it. How to choose iOS version? I have loads of a different, let's say iPhone 6, emulators. I've one for iOS 8.0, one for 8.1, 8.2, 8.3, 8.4, 9.0, 9.1 and so on. How do I start emulate an iPhone 6 with iOS 8.0 and another iPhone 6 with iOS 9.1 ? |
Ok I've got your idea and will reopen the issue. With {N} 1.5 you should create emulator with unique name and use it in --device option. May be in future we can extend --device option, so user is able to specify both device name and version. |
As this is the way XCode sets up the Emulators per default, I'd say you'd want to support doing |
Hi @emiloberg, With {N} 1.5 you'll be able to specify --sdk option to emulate command. |
Hm, I'm not sure what happened here, but this feature is available in our 1.5.2 release. The option is --sdk, for example: |
From @emiloberg on September 21, 2015 12:58
Hi,
All of a sudden (might be connected with me updating to 1.3.0), when I run
tns emulate ios --device iPhone-5
, my iOS simulator gives me:This is most probably because Xcode 7 (7A220 in my case)/Yosemite dropped support for simulating iOS 7.x. However, how can I make
tns emulate ios --device iPhone-5
use iOS 8.x instead of 7.x?Running
tns emulate ios --device iPhone-6
(n.b iPhone 6) works as it opens the emulator with iOS 8.1.Copied from original issue: NativeScript/NativeScript#794
The text was updated successfully, but these errors were encountered: