简体   繁体   English

使用Xcode构建IPA文件

[英]Building an IPA file with Xcode

I have a app and have successfully built it with Xcode. 我有一个应用程序,并已使用Xcode成功构建。 The problem is I want to test this application on my iPad. 问题是我想在iPad上测试此应用程序。 I know there is Apple developer program and stuff. 我知道有Apple开发人员计划和东西。 But before going there I wanted to try this app first. 但是在去那里之前,我想先尝试这个应用程序。 There is a website called testflightapp.com where we can deploy applications to iPad on the fly. 有一个名为testflightapp.com的网站,我们可以在其中将应用程序即时部署到iPad。

That requires a IPA file. 这需要一个IPA文件。 How do I go about it ? 我该怎么办?

You can create an IPA file in Xcode with "Build -> Build and Archive". 您可以使用“ Build-> Build and Archive”在Xcode中创建IPA文件。 Now open "Window -> Organizer" and you find the IPA in the section "Archived Applications". 现在打开“窗口->管理器”,然后在“已归档应用程序”部分中找到IPA。 Save the IPA to a folder now. 现在将IPA保存到文件夹。

IMPORTANT: You have to be an Apple developer to create an IPA file. 重要说明:您必须是Apple开发人员才能创建IPA文件。 The IPA file have to be signed with certificates, etc. ... IPA文件必须使用证书等签名...

Put your ad-hoc profile before archiving the project. 在存档项目之前,请先放入您的临时配置文件。 Once you are ready. 准备好之后。

Go to Product ---->Archive upon successful archiving you will see Organizer Window Navigate through to 转到产品---->归档成功后归档,您将看到管理器窗口导航到

Archives then click on Distrubition next window you need to choose Save for Enterprise or Ad-Hoc Deployent then you will choose your AdHoc profile and save. 存档,然后在下一个窗口中单击Distrubition,您需要选择Save for Enterprise或Ad-Hoc Deployent,然后您将选择AdHoc配置文件并保存。

.ipa创建

The directions for that are at http://support.testflightapp.com/kb/tutorials/how-to-create-an-ipa . 有关说明,请访问http://support.testflightapp.com/kb/tutorials/how-to-create-an-ipa You might need to be in the developer program to create a valid IPA file, though. 但是,您可能需要进入开发人员程序才能创建有效的IPA文件。

To load an app on a physical device you MUST be an Apple developer, it is not optional. 要在物理设备上加载应用程序,您必须是Apple开发人员,这不是可选的。

Once you have your account, you will need to enter your device IDs and generate a certificate against those device IDs at developer.apple.com 拥有帐户后,您需要在developer.apple.com上输入设备ID并针对这些设备ID生成证书。

The certificate is used to sign the IPA and allow it to run on the pre-defined devices. 该证书用于对IPA进行签名并允许其在预定义的设备上运行。

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

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