问题
I am trying to finalize my iOS application, the problem I encounter is that I can not generate file .IPA file export from the archive that is created. When I deploy the application directly to a device, the application works, as well as in an emulator.
I do not have a distributor account on Apple, I use my iTunes account as a developer account.
Is there a way to generate the .IPA file so that I can share my application so that others can test it?
I thank you in advance :)
回答1:
Edit your app Scheme, Go to Run
Select Info Tab and Change the build configuration from debug to release,
it will help you to encounter your issue.
Quick Solution, goto archive section and change configuration to debug. it will allow you to generate .IPA
回答2:
For internal testing purpose, you can drag .app file from Products folder of XCode after running app on device as target & drop into iTunes Connect. Get .ipa file by Right Click on app icon in Apps section of iTunes .Select Show In Finder.
来源:https://stackoverflow.com/questions/45397274/generate-ipa-with-xcode