• Skip to main content
  • Skip to primary sidebar

Founder at work

Master the skills to create and launch your next SaaS company

  • About Me
  • Reviews
  • Resources
  • Community
  • Contact
  • Lessons
  • Series
  • Search
  • Login

How to launch the iOS Simulator from Terminal?

September 29, 2018 by Rick Hernandez 10 Comments

If you are building a mobile application native or html5 application it’s probably a good test to run it through an emulator/simulator and depending on how you want to accomplish this, it can be done by simply using Apple iPhone simulator. Learn more about what the iPhone simulator is checked out the apple docs, if you are on windows or Linux check out the android emulator.

Now if you want to use the GUI to open the simulator in XCode your welcome to do so, but instead of doing that let’s save some time and create an alias on the terminal.

To open the simulator on the terminal use this.

Now let’s automate this even more.

zsh use:

bash use:

Now let’s wrap it up with source
zsh use source ~/.zshrc
bash use source ~/.bash_profile

Now just open up a new tab in your terminal
Type in iphone

If you found this article helpful please take the time to subscribe to the newsletter to get more awesome content.

Talk soon,

Rick H.

Rick Hernandez

I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Filed Under: iOS, Programming

Primary Sidebar

Learn How To Take Your Idea And Convert It Into An App From Scratch Even If You Have Never Written A Single Line Of Code.

  • How to Find Your Next Great App Idea
  • The Secret To Getting PAID To Build Your Own App
  • How To Create Your App (SaaS, Mobile, VR, AR, Game)
  • How To Monetize Your Apps
Learn More
4.82 Ratings

Copyright © 2025 · JSecademy Blog Theme on Genesis Framework · WordPress · Log in