Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
845 views
in Technique[技术] by (71.8m points)

ios - Export IPA for Testing instead Appstore with (ad-hoc)

  1. i'm create All Devices in (3 iphone + 1 ipad) Developer Apple account

  2. i'm Generate certificate inf Developer Apple and i'm selected all device in this certificate

  3. i'm download certificate and Generate in xcode . everything is good now

  4. when i'm click in Build sitting => signin =>Provisioning Profile=> its show this message :

The UUID of a valid provisioning profile. A missing or invalid profile will cause a build error (deprecated, use [PROVISIONING_PROFILE_SPECIFIER] instead).

  1. however i'm exporte IPA with ad-hoc

    and i'm see the code i'm change Myapp.ipa to Myapp.zip for lock the code that what i'm se is there the all provisioning profile in the certificate

    <string>iOS Team Provisioning Profile: com.myApp.name</string>
    <key>ProvisionedDevices</key>
    <array>
        <string>653125008b5277640d4f640ab94241a4</string>
        <string>h5856dd83f2e34952cae17eb849736ef6</string>
        <string>945a65b488deb77903ab9cc335bc2a9b0</string>
        <string>6654f70cc52dab5c371c22b63e200e916</string>
    </array>
    
  2. when i'm add the ipa to my IPhone or IPad is not installe is give me erore so what is wrong ?

Thnak you for your time to reading all this :)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Make sure you've followed all these steps, then you should be good to go.
Give it a try and let me know!

On developer.apple.com:

  1. navigate to your account & login
  2. click Certificates, IDs & Profiles in the side menu on the left
  3. on the left, find Devices & click +
  4. register multiple devices by uploading a spreadsheet including the UDIDs and names of the devices
  5. follow the steps to finalize the registration process

You might need to wait 24 hours; I found, it sometimes takes really long for the changes to take effect.

Inside Xcode:

  1. prep: open Xcode settings, accounts, your account and then re-download all the profiles and certificates
  2. archive the product
  3. open the Organizer window and find the archive you've just created
  4. click Distribute App
  5. choose Ad-Hoc
  6. make sure to have include manifest for OTA installation enabled
  7. follow the steps
  8. finally, click export and choose a location to save the files

Upload all the files (icons, .plist & .ipa) to your server. Note that the server needs to be https, this is mandatory. If your's isn't, upload it to Dropbox or some other cloud service. If you're using Dropbox, make sure to replace www.dropbox.com with dl.dropboxusercontent.com.

Manifest

  1. open the manifest.plist file and insert all the new urls
    • again, for dropbox: replace www.dropbox.com with dl.dropboxusercontent.com
  2. upload the manifest plist to a secure server.

Link:

itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/YourURLHere/manifest.plist

Taken from here.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...