xcode - How do I run a Cocoa app after building it from the command line with xcodebuild? -


i'm building mac os x cocoa application command line using xcode project this:

xcodebuild -scheme myapp -configuration debug 

how run once it's done building?

i wrote script this:

#!/bin/bash  x=$( xcodebuild -showbuildsettings -project myapp.xcodeproj | grep ' build_dir =' | sed -e 's/.*= *//' )  dyld_framework_path=$x/debug dyld_library_path=$x/debug $x/debug/myapp.app/contents/macos/myapp 

(i figured out running application xcode , ps -wwe -p on process see environment variables.)


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -