sri*_*sri 22 command-line xcodebuild
我正在使用xcodebuild install -alltargets -iphoneos4.2 -activeconfiguration provisioning_profile=path_of_my_provisioningprofile code_sign_identity=identity.这个命令正在构建我的应用程序,我也正在获取构建文件(.app).但是如何从命令行将应用程序安装到设备中.请帮我解决这个问题.
And*_*ble 17
Fruitstrap不再维护,对于更新的项目结帐,通过PhoneGap调用fork ios-deploy.
要安装run: npm install -g ios-deploy
以下是如何使用它的一些示例:
// deploy and debug your app to a connected device
ios-deploy --debug --bundle my.app
// deploy and launch your app to a connected device, but quit the debugger after
ios-deploy --justlaunch --debug --bundle my.app
// deploy and launch your app to a connected device, quit when app crashes or exits
ios-deploy --noninteractive --debug --bundle my.app
// Upload a file to your app's Documents folder
ios-deploy --bundle_id 'bundle.id' --upload test.txt --to Documents/test.txt
Run Code Online (Sandbox Code Playgroud)
环顾四周发现 https://github.com/benvium/libimobiledevice-macosx。这是从 libimobiledevice 到 MAC-OS X 的移植。它非常有用,并且不需要越狱。:P