How to create ipa without Apple Developer Program in Xcode7

萝らか妹 提交于 2019-12-17 23:25:24

问题


What i am trying to do is create an ipa using Xcode7 for ad hoc distribution. I haven't done it earlier, this is my first try. Searched s/o and get to know that earlier it is possible to create ipa file with Xcode5. I was trying the way explained here But I am not getting the option to select export which is shown in the screenshot. I think apple may have changed it, now we can select the export file after signIn with the apple id registered in apple developer membership. I am attaching the screenshot that comes after Product > Archive. As you can see that the export option is disabled, and it is asking for apple developer membership, but able to see the archive file in the finder. Is there any way to create ipa without apple developer membership.


回答1:


You can do it by this way:

1)Clean your project.

2)Build your project.

3)Go to products menu -> select build for -> select Profiling.

4)In project navigator, find you .app product.

5)Right click on it and click show in finder.

6)There you will find folder naming "Release-iphoneos", in this folder you will find your .app extension file.

7)Create a folder named "Payload", copy that .app file in this folder.

8)Archive your folder.

9)After archive, rename your folder to name of your app and change its extension from ".zip" to ".ipa"

10)Your IPA is ready for sharing.

You can install This IPA directly from iTunes below 12.7.

If you are using iTunes 12.7 and above you can use Diawi to share your IPA for installation. Here is a good step by step process available.




回答2:


It is always better to have a developer account.

You could also do the following:

Select "Save For Ad Hoc Deployment" & Click Next. Then open the "select a development team" drop down. It will have the option "Use Local singing assets" at the bottom. Select this option & Click Choose.

Here you go. The build will be created by Xcode without Apple ID Account.



来源:https://stackoverflow.com/questions/35403969/how-to-create-ipa-without-apple-developer-program-in-xcode7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!