Aar*_*ush 8 xcode ios cordova phonegap-build
我想使用分发证书和移动配置文件制作适用于iOS的Release Build 平台.我想使用Phonegap(Cordova)命令行工具执行此操作,我不想打开XCode.
我有移动配置文件和分发证书.我还在我的机器上安装了XCode,NodeJS,但我不想打开Xcode,只使用cordova命令行工具生成iOS版本.
如果可能的话请帮助我.
小智 -6
您应该访问 build.phonegap.com 并在那里创建一个包含电子邮件和密码的帐户。登录后,有以下步骤:
1. Upload a zip of your project.
2. Start building it for first time.
3. Go on account (top left user icon) -> edit settings
4. Go to on Signing keys and add a new key by uploading the p12 and provisioning files
5. Unlock it using the password of the certificate.
6. Go on apps menu, you should have the app.
7. Press on app title in order to expand the builds
9. Select the key for IOS.
After that start a cmd window, make sure you have all requirements met (as is described here:http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html).
In that cmd window, you should perform following commands:
phonegap remote login -u <the account email> -p <the password>
phonegap remote build ios
In order to be all ok, you should be sure to have in config.json file the id of this new account.
Also, in order to perform the previous phonegap commands, you need to be in the folder of the project.
Please, be aware, the activation of the ios key is around 1 hour. If you want to do this automatically, you should first login, unlock the key, and build.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7555 次 |
| 最近记录: |