问题
i'm create All Devices in (3 iphone + 1 ipad) Developer Apple account
i'm Generate certificate inf Developer Apple and i'm selected all device in this certificate
- i'm download certificate and Generate in xcode . everything is good now
- 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).
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>
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 :)
回答1:
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:
- navigate to your account & login
- click Certificates, IDs & Profiles in the side menu on the left
- on the left, find Devices & click
+
- register multiple devices by uploading a spreadsheet including the UDIDs and names of the devices
- follow the steps to finalize the registration process
You might want to consider to wait 24 hours, because I found it sometimes takes really long for the changes to take effect.
Inside Xcode:
- prep: open Xcode settings, accounts, your account and then re-download all the profiles and certificates
- archive the product
- open the Organizer window and find the archive you've just created
- click export
- choose ad-hoc
- make sure to have include manifest for OTA installation enabled
- insert all the data it asks you
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 dropbox.com
with dl.dropboxusercontent.com
.
Open the plist file and insert all the new urls. Then, upload the manifest plist to a secure server.
Custom HTML page or similar:
Add the download link like so:
itms-services://?action=download-manifest&url=https://dl.dropbox.com/s/YourURLHere/manifest.plist
Taken from here.
回答2:
You should use automatically manage signing
.
For that you should select your team.
In navigator
click on your project name - under targets - you will find signing section.
In that check the checkbox for automatically manage signing
and select your team. If you have not any team available then you can add it from Preferences
of your xcode
-> Accounts
-> +
-> add your apple developer id and password.
After selecting team it will automatically create provisioning profile if your developer account includes your bundle id!
Make sure your device is connected with xcode!
回答3:
When I exporting to ad-hoc, I created a simple WEB with manifest file. This file will generated automatically when you exporting app to AD-HOC. Thanks this web site you can install app from internet.
Sample code for WEB:
<html>
<a style="font-size:48px;margin-top:150px;margin-left:250px;float:left;color:#22788D;"
href="itms-services://?action=download-manifest& url=https://yourAppServer/manifest.plist">Install your APP </a>
</html>
Sample of Manifest.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>https://yourServercom/YourApp.ipa</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>url</key>
<string>https://yourServercom/Icon.png</string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>url</key>
<string>https://yourServercom/iTunesArtwork.png</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>UserAPP.YourApp</string>
<key>bundle-version</key>
<string>1.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>YourApp</string>
</dict>
</dict>
</array>
</dict>
</plist>
It works perfectly for me.
Good luck!
来源:https://stackoverflow.com/questions/47036056/export-ipa-for-testing-instead-appstore-with-ad-hoc