ios - How to build Xcode project from the command line? -


i've tried reading xcode tools documentation apple provides, can use terminal build .app file , run resulting app on simulator. want do same thing cmd + r on xcode.

so far i've attempted build .xcodeproj this:

xcodebuild -configuration debug build 

however, when install & run on simulator app w/ black screen:

// boot device xcrun simctl boot "iphone 7"  // install app xcrun simctl install "iphone 7" "/users/.../myapp/build/debug-iphoneos/myapp.app" // open simulator open /applications/xcode.app/contents/developer/applications/simulator.app // launch app using bundle id xcrun simctl launch booted "com.example.apps.myapp" 

not mention xcrun simctl launch booted "com.example.apps.myapp" line never terminates , on simulator keeps trying open , reopen app, app ever shows black screen.

if tell me i'm doing wrong building of the.xcodeproj great!


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -