通过命令行在iphone设备中安装应用程序 [英] install application in iphone device through command line
本文介绍了通过命令行在iphone设备中安装应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用 xcodebuild install -alltargets -iphoneos4.2 -activeconfiguration provisioning_profile = path_of_my_provisioningprofile code_sign_identity = identity
。
这个命令正在构建我的应用程序,我得到构建文件(.app)也。
但是如何通过命令行将应用程序安装到设备中。
请在这个问题帮助我。
I'm using xcodebuild install -alltargets -iphoneos4.2 -activeconfiguration provisioning_profile=path_of_my_provisioningprofile code_sign_identity=identity
.
This command is building my app and i am getting build file (.app) also.
But how to install the app in to device from command line.
Please help me in this issue.
推荐答案
不再维护Fruitstrap
,对于更新的项目,通过PhoneGap称为 ios-deploy
。
要安装执行: npm install -g ios-deploy
以下是一些使用方法的示例:
Here are some examples of how to use it:
// 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
这篇关于通过命令行在iphone设备中安装应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文