ios 使用 Xcode 构建 IPA 文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5202443/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Building an IPA file with Xcode
提问by Pradeep Nayak
I have a app and have successfully built it with Xcode. The problem is I want to test this application on my iPad. I know there is Apple developer program and stuff. 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.
我有一个应用程序,并已使用 Xcode 成功构建它。问题是我想在我的 iPad 上测试这个应用程序。我知道有苹果开发者计划之类的东西。但在去那里之前,我想先尝试一下这个应用程序。有一个名为 testflightapp.com 的网站,我们可以在其中即时将应用程序部署到 iPad。
That requires a IPA file. How do I go about it ?
这需要一个 IPA 文件。我该怎么做?
采纳答案by Jeremiah Willcock
The directions for that are at 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.
该方向是在http://support.testflightapp.com/kb/tutorials/how-to-create-an-ipa。不过,您可能需要在开发人员程序中才能创建有效的 IPA 文件。
回答by Manni
You can create an IPA file in Xcode with "Build -> Build and Archive". Now open "Window -> Organizer" and you find the IPA in the section "Archived Applications". Save the IPA to a folder now.
您可以在 Xcode 中使用“Build -> Build and Archive”创建一个 IPA 文件。现在打开“窗口 -> 管理器”,您可以在“存档应用程序”部分找到 IPA。现在将 IPA 保存到一个文件夹中。
IMPORTANT: You have to be an Apple developer to create an IPA file. The IPA file have to be signed with certificates, etc. ...
重要提示:您必须是 Apple 开发人员才能创建 IPA 文件。IPA文件必须用证书等签名......
回答by world-software.net
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在下一个窗口中,你需要选择另存为企业或即席Deployent那么你会选择你的AdHoc配置文件并保存。
回答by Pork 'n' Bunny
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 并允许它在预定义的设备上运行。