Menu
Launch the iOS Simulator without an app. USAGE $ ios-sim start OPTIONS -d, -devicetypeid=devicetypeid The id of the device type that should be simulated (Xcode6+). Use 'showdevicetypes' to list devices. A commenter, Shail Choksi, pointed out that the command-line version of Instruments will start an iOS app for you programmatically. That’s what I ended up using. Advanced port scanner. So, runsim now lets you start up an iOS app in the simulator without any human intervention, and doesn’t have to stray too far from supported methods to do it.
For the -destination option provide iOS Simulator if you are running Xcode tests on Simulator rather than on an actual iPhone device and OS is the version of iOS installed on iOS Simulator. If you are not sure what Simulator name and OS version are available to use, then run the following command to get a list of destinations: instruments -s. Open the iOS Simulator From the Command Line When I need to test web apps on an iPhone or iPad, I use the iOS Simulator that ships with Xcode 1. The Simulator is intended for developers testing native apps, however, Mobile Safari is installed and I can use it to debug apps without a physical device.
For faster connection speed and more flexibility. Hp no scan options error.
Steps
- Start Xcode in command line by running this in commandline
/Applications/Xcode.app/Contents/MacOS/Xcode
- Start downloading of the simulator
- Cancel it. YES CANCEL IT!
- You will get a message like this:
2015-11-23 17:10:01.906 Xcode[30803:2505495] DVTDownloadable: Download Cancelled. Downloadable: https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK8_3-8.3.1.1428621365.dmg.
- Quit Xcode
- Use your favorite download tool with the link in that message in step 3
- This is what I use: (5 concurrent connection)
aria2c -x 5 link_to_the_file
- Have Fun!
Wait! How can I install this?
By moving the file to
~/Library/Caches/com.apple.dt.Xcode/Downloads
- You can use Finder by
open ~/Library/Caches/com.apple.dt.Xcode/Downloads
- Or just
mv file ~/Library/Caches/com.apple.dt.Xcode/Downloads
And open the
Downloads
tab in Xcode's Preferences,- the progress bar of the item you just download should be 80% filled
- you should be able to click that download button to install the file
Start Ios Simulator From Command Line Windows 10
Why did I need it?
I am in China right now and when downloading in Xcode(no concurrent downloading), the download speed sucks!I would like to use
aria2
Day care in oxford. to speed up the downloading process of the simulator(s).How slow was the connect using Xcode and how fast was it when using aria2
?
- Xcode: 150KB -> 300KB
aria2
: 2.7MB (consistenly), which is the maximum downloading speed of my cable
Why aria2
?
Start Ios Simulator From Command Line Command
- Concurrent connections
- Resuming unfinished downloads
References
- https://forums.developer.apple.com/message/51550#52580 where I found out
~/Library/Caches/com.apple.dt.Xcode/Downloads