简体   繁体   English

为iPhone和iPad制作.IPA

[英]Make an .IPA for iPhone and iPad

As I had asked this question already and didn't get the answer that I needed, the problem is as follows: 由于我已经问过这个问题并且没有得到我需要的答案,问题如下:

I developed a game for both iPhones and iPads. 我为iPhone和iPad开发了一款游戏。 Everything is working fine but now I want to Archive my project. 一切都很好,但现在我想存档我的项目。 As I already have signed in for an Apple account, the problem is I don't have another device to register with. 由于我已经登录过Apple帐户,问题是我没有其他设备可以注册。

And, according to Apple's terms and condition "Creating a provisioning profile requires one or more devices to be registered with your Account." 并且,根据Apple的条款和条件“创建配置文件需要在您的帐户中注册一个或多个设备”。

Is there any way we can get it done without costing any money? 有没有什么办法可以在不花钱的情况下完成它?

在此输入图像描述

You mentioned in the comments that the purpose of the archive is to send the IPA to someone else. 您在评论中提到归档的目的是将IPA发送给其他人。 For that to work, the app needs to be provisioned for the device it's going to run on - that other person's device. 为了实现这一点,需要为将要运行的设备 - 其他人的设备 - 配置应用程序。

So, ask that person for their device UDID (that they can get from iTunes), then register it in your account in the apple developer portal member center and build using that. 因此,请询问该人员他们的设备UDID(他们可以从iTunes获取),然后在Apple开发人员门户网站成员中心的帐户中注册并使用它进行构建。

It should be an ad-hoc configuration that you create. 它应该是您创建的临时配置。

What XCode is complaining here is that you need to register the devices that you want the archive to run on! XCode在这里抱怨的是你需要注册你想要运行存档的设备! Or, it can be an expired license causing the trouble. 或者,它可能是一个过期的许可证导致麻烦。

Note: Check in Keychain for any expired licenses. 注意:Keychain中检查任何过期的许可证。 Go to View -> Show Expired Licenses. 转到查看 - >显示过期的许可证。 And, remove any or all of the expired licenses in System, Root, and any other categories. 并且,删除System,Root和任何其他类别中的任何或所有过期许可证。 Mainly its the WWDC License causing the hassle. 主要是它的WWDC许可证造成了麻烦。

Remove your iOS Development and Provisioning License(s). 删除您的iOS开发和配置许可证。

Now, after removing all the licenses, add back your Provisioning profile, and the developer profile license. 现在,在删除所有许可证后,添加回Provisioning配置文件和开发人员配置文件许可证。 That should do it. 应该这样做。

Start a clean build, and archive now. 开始一个干净的构建,并立即存档。 This should accept the archive. 这应该接受存档。 Do not forget to register a new device UDID in developer.apple.com portal. 不要忘记在developer.apple.com门户网站中注册新设备UDID。 It is needed for TestFlight. TestFlight需要它。

If you have any queries, please ask us in the comments. 如果您有任何疑问,请在评论中询问我们。

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

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