App stuck on installing ipa from iTunes

后端 未结 6 673
面向向阳花
面向向阳花 2020-12-24 05:38

Since moving to ios7 I am unable to distribute my app to my iPad using the ipa and provisioning profile (the same ones that worked just before I upgraded to ios7 do not work

相关标签:
6条回答
  • 2020-12-24 06:12

    I had the same problem. I had archived with the wrong code signing identity selected in XCode. Changing that and creating a new archive solved it straightaway.

    0 讨论(0)
  • 2020-12-24 06:16

    I had a similar issue and turned out the reason was because I was trying to distribute an .ipa file without first adding the recipient device UDIDs to my developer account settings. It used to be possible in some earlier iOS versions to distribute an .ipa without adding the UDIDs but apparently not anymore. More info here: https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/TestingYouriOSApp/TestingYouriOSApp.html

    And I also needed to change the code signing settings from Xcode from "iPhone developer" to "iPhone distribution".

    0 讨论(0)
  • 2020-12-24 06:21

    For Ad Hoc provisioning - check the device UDIDs.

    We used an app called UDID+ to get the device UDIDs. Don't! The app gives you the wrong UDID with iOS7.

    Apple's developer site accepted the faulty UDIDs and everything proceeded normally until the issue described above occurred. It took a looong time and lots of starting from scratch to figure that one out.

    0 讨论(0)
  • 2020-12-24 06:23

    You most likely built your archive with an App Store provisioning profile instead of an Ad-Hoc Provisioning profile

    0 讨论(0)
  • 2020-12-24 06:28

    Here are the steps that seemed to fix the problem for me:

    Deleting all profiles from device (iPad in my case)

    Settings - General - Profile delete any relating to your app

    Deleting all profiles from iTunes on iMac

    Finder - Library (GO with ALT pressed displays this) - Mobile Device - Provisioning Profiles

    delete all provisioning profiles you see here. This is where Xcode sees any when choosing your profile.

    In Xcode - in both Projects and Targets

    Set all code signing to None

    enter image description here

    Archive your project - in Xcode Product - Archive

    You will be told no profiles exist - choose Fix Issue. Your provisioning profiles will be downloaded into the Library - Mobile Device - Provisioning Profiles (the folder we previously cleared.) In future these will be your options when setting your Project and Target code signing.

    enter image description here

    In Organiser

    Export your archived product and choose the team Profile (or any that have been downloaded) as code signing.

    Drop the ipa into iTunes and install.

    0 讨论(0)
  • 2020-12-24 06:34

    I just did 'clean' and 'build' in the xcode product menu (then archive, export ipa, etc) and it works now.

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