Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use -SimulateApplication tool via command line

Does anyone know how to use -SimulateApplication tool via command line. As I understand it shoud load/istall .app via simulator? I'm setting next: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication $HOME/path to app

but nothing happen, only simulator launch

It would be great to get some advice?

like image 605
user3752741 Avatar asked Jun 19 '14 15:06

user3752741


People also ask

How do I open command tool?

The quickest way to open a Command Prompt window is through the Power User Menu, which you can access by right-clicking the Windows icon in the bottom-left corner of your screen, or with the keyboard shortcut Windows Key + X. It'll appear in the menu twice: Command Prompt and Command Prompt (Admin).

How do I run a tool in Linux?

The Run command is a handy way to quickly run a program in Linux by typing the program and executing it. To run programs via the Run command, select the Alt-F2 to open the Run Command box. You can also hit Alt-F2 as a shortcut to the run command. Next, type the name of the program you want to run.


1 Answers

I had problems with it too.. but ended up using ios-sim here is what i had to do

xcodebuild -project testing.xcodeproj -target "testing" -configuration "Debug" -destination "platform=iOS Simulator,name=iPad" -sdk "iphonesimulator7.0" -IDEBuildOperationMaxNumberOfConcurrentCompileTasks=8 build
ios-sim launch /Users/prjwl/Documents/Samples/testing/build/Debug-iphonesimulator/testing.app --sdk 7.0 --stdout log.txt --timeout 60 --args $input

Hope it helps someone.

like image 72
Prajwal Udupa Avatar answered Oct 19 '22 11:10

Prajwal Udupa