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?
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).
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With