Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to run multiple instances of simulator in iOS

    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 6.81k
    Comment on it

    We can easily run multiple instances of simulator using terminal commands. But they have be different devices like iPhone 6s, iPhone 6s Plus, iPhone 6 etc, i.e. we cannot have two simulators of iPhone 6 simultaneously. Also we can't use xcode debugging along with all the devices. We can only have a single simulator with xcode debugging.

    Following is the terminal command to launch two simulators for xcode 7:

    cd /Applications/Xcode.app/Contents/Developer/Applications
    open -n Simulator.app
    open -n Simulator.app

    Every time we use the open -n Simulator.app with a simulator already running, it will launch a new simulator with error message "Unable to boot device in current state: Booted" Just click "OK" and then from hardware->device select any other device for the simulator and it will be launched!

     

     

     

     

     

     

    After launching these simulator instances we can run from xcode with a new simulator and only on that simulator will xcode debugging work.

    Also to run your application on a particular simulator, first the app must be installed from xcode on that simulator.

     

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: