简体   繁体   中英

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. 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.

And, according to Apple's terms and condition "Creating a provisioning profile requires one or more devices to be registered with your Account."

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. 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.

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! Or, it can be an expired license causing the trouble.

Note: Check in Keychain for any expired licenses. Go to View -> Show Expired Licenses. And, remove any or all of the expired licenses in System, Root, and any other categories. Mainly its the WWDC License causing the hassle.

Remove your iOS Development and Provisioning License(s).

Now, after removing all the licenses, add back your Provisioning profile, and the developer profile license. 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. It is needed for TestFlight.

If you have any queries, please ask us in the comments.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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