gpt4 book ai didi

command-line - 通过命令行在 iphone 设备中安装应用程序

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:42:39 24 4
gpt4 key购买 nike

我正在使用 xcodebuild install -alltargets -iphoneos4.2 -activeconfiguration provisioning_profile=path_of_my_provisioningprofile code_sign_identity=identity。此命令正在构建我的应用程序,我也正在获取构建文件 (.app)。但是如何从命令行将应用程序安装到设备中。请帮我解决这个问题。

最佳答案

Fruitstrap 不再维护,有关更新的项目,请查看 PhoneGap 的分支,称为 ios-deploy

安装运行: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

关于command-line - 通过命令行在 iphone 设备中安装应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15954799/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com