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.
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