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

前端 未结 2 1697
情深已故
情深已故 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

提交回复
热议问题