Launch iPhone simulator without Xcode.

To launch simulator you have to way.

1. Using Terminal2. Using UI.


1 Using UI. ->  

 Open Finder and then press  shift +  cmnd + g  or Go -> Go to Folder then enter this address

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications

the double click on simulator.app.


2 Using Terminal 

Open terminal and then press this command

open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app

or


open `xcode-select --print-path`/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app

To run application follow this,
http://cocoamanifest.net/articles/2011/12/running-your-ios-app-in-the-simulator-from-the-command-line.html

Comments

  1. Hi, very helpful, i want to ask you there is a possibility to launch a specific application on the simulator??!!

    ReplyDelete
  2. thanks for the link, it was pretty helpful, is it possible to achieve the same without using commandline utility like waxsim –

    ReplyDelete
  3. yes , cmnd + shit + g then enter full path then double click.

    ReplyDelete

Post a Comment

Popular posts from this blog

Hacker Rank problem solution

How to Make REST api call in Objective-C.

Building and Running Python Scripts with Xcode