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

bug: changing iOS simulator device the app disappear #2535

Closed
gio82 opened this issue Nov 12, 2014 · 3 comments
Closed

bug: changing iOS simulator device the app disappear #2535

gio82 opened this issue Nov 12, 2014 · 3 comments

Comments

@gio82
Copy link

gio82 commented Nov 12, 2014

Type: bug

Platform: ios 8 webview

iOS simulator: 8.1
Ionic: beta 13
Ionic CLI: 1.2.8
Cordova: 4.1.0

I run: ionic emulate ios -l -c -s
The app starts on an iPhone 6 simulator ok.
When I try to change the device the app disappear from the simulator device. I'm not able to find the app in the home screen anymore.

This is something "new" because with iOS 7 (and old iOS simulator) all was fine.

@jbavari
Copy link
Contributor

jbavari commented Dec 9, 2014

You may want to run the following command to target certain devices:

ionic emulate ios --target="iPhone-6"

# Valid values for "--target" (case sensitive):
#   iPhone-4s
#   iPhone-5
#   iPhone-5s
#   iPhone-6-Plus
#   iPhone-6
#   iPad-2
#   iPad-Retina
#   iPad-Air
#   Resizable-iPhone
#   Resizable-iPad

Please also note, when you compile an app to a specific simulator, it's installed on that simulator. So when you change devices, you must also recompile that app for that device to have it on that simulator

Hope this helps!

@jbavari jbavari closed this as completed Jan 23, 2015
@cebraSpA
Copy link

cebraSpA commented Jul 9, 2015

Hi, jbavari, how I can specify the rotation of the device?

@sarahsuleri
Copy link

in your simulator menu, under hardware there are options for rotation of device

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants