My app won't start on an iOS device (exported .ipa)

前端 未结 2 1698
情深已故
情深已故 2021-01-26 10:42

I created an app with Swift 5 in Xcode 10 and added the UDIDs of multiple iOS devices to my developer account (got the $99 one).

If I install my app on the device throug

相关标签:
2条回答
  • 2021-01-26 11:10

    The problem was caused by picking "iOS App Store". Instead, as @DonMag pointed out, you have to use "Ad Hoc" if you want to export an .ipa file that you can drag into iTunes and install on your device - as long as you added the device's UDID to your developer account, of course.

    Step 1-3 and 5-7 are the same (as in my question) but for step 4 do this instead:

    1. Highlight the archive that was just created and click on "Distribute app"
      • Ad Hoc - Next
      • Next (Distribution options)
      • Next (Re-sign "myApp")
      • Enter your password twice
      • Export (Review myApp.ipa content)
      • Pick folder - Export
    0 讨论(0)
  • 2021-01-26 11:28

    You can export it for for App Store submission via automation tools - which is often done in a company environment (multiple developers, multiple apps, CI / CD [Continuous integration / Continuous Delivery], etc).

    If you're not doing that, you submit the app via Xcode.

    Probably worth your time to read through https://help.apple.com/app-store-connect/

    0 讨论(0)
提交回复
热议问题