简体   繁体   English

创建要在iPhone配置实用程序中使用的构建文件(.app和.mobileprovision)

[英]Create build files (.app & .mobileprovision) to use in iPhone Configuration Utility

My client is using the iPhone Configuration Utility to install builds on their devices. 我的客户正在使用iPhone配置实用程序在其设备上安装构建版本。 They are asking me for a separate .app and .mobileprovision file. 他们要求我提供一个单独的.app和.mobileprovision文件。 In xCode 4/4.2 whenever I do a build I get a .ipa file. 在xCode 4 / 4.2中,每当我进行构建时,我都会获得一个.ipa文件。 How do I get xCode to spit out the two separately? 如何让xCode分别吐出两个? I tried unzipping the .ipa and sending the included .app file plus the embedded.mobileprovision file from the .app separately. 我尝试解压缩.ipa并分别从.app发送包含的.app文件和embedded.mobileprovision文件。 This didn't work. 这没用。

Ideas? 想法?

The iPhone Configuration Utility works great with *.ipa files. iPhone配置实用程序适用于* .ipa文件。

The *.mobileprovision file is used to code-sign your application. * .mobileprovision文件用于对您的应用程序进行代码签名。 You can create & download it in your Apple-Developer Member Center ( developer.apple.com ) at iOS Provisioning Portal -> Provisioning . 您可以在iOS配置门户 - >配置中的Apple-Developer会员中心( developer.apple.com )中创建和下载它。

In XCode4 you can use the Archive Build ( Project -> Archive ). 在XCode4中,您可以使用存档构建( 项目 - >存档 )。 Make sure you use "iOS Device" as platform. 确保使用“iOS设备”作为平台。 After the archiving is finished, the Xcode Organizer opens and you can select the mobileprovision file to sign your app & export your app (via "Share") as an 归档完成后,Xcode管理器打开,您可以选择mobileprovision 文件来签署您的应用并导出您的应用(通过“分享”)作为 .ipa file. .ipa文件。

generally speaking 一般来说

. app file 应用文件

Get your app location using [[NSBundle mainbundle]bundlepath] there you may find .app file there 使用[[NSBundle mainbundle]bundlepath]获取您的应用位置,您可以在那里找到.app文件

provision profile 提供资料

You will have to sign into iOS provisioning portal and download it from provision profile option 您必须登录iOS配置门户并从配置文件选项下载它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM