1) Sign in to http://developer.apple.com.
2) Click on "Certificates, Identifiers & Profiles" in the right sidebar.
3) Click on "Devices", then on the + button.
4) Select "Register Multiple Devices" and choose the downloaded device file.
5) Click on "Continue".
6) Confirm the list of imported devices with "Register".
7) Click on "Distribution" below "Provisioning Profiles".
8) Click on the + button, select "Ad Hoc", then click on "Continue".
9) Select your app, then click on "Continue".
10) Select your certificate, then click on "Continue".
11) Now you should see all devices registered in the portal. Select all or just the ones that you want to include in this provisioning profile. Then click on "Continue".
12) Enter a name for the profile. Confirm with "Generate". The portal will now show "Loading…" for some time, then you can download the profile.
13) Drag & drop the downloaded profile to Xcode.... May work if you have already a profile attached you can refresh
- Xcode menu => Preferences => Accounts.
- Select the Apple ID in the left panel.
- Click the View Details button on the right.
- In the pop-over that follows click the round refresh arrow. ...
- The provisioning profiles can then be selected in a Mac project under Build Settings => Code Signing => Provisioning Profile.
15) Enter "code sign" in the search field.
16) Select the line for your release configuration and choose the downloaded profile.
17) Create a build through "Project > Build & Archive".
Sometimes when you build xcode is complaining that UUID blabla profile is not found.
code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “ffff1f-eff1-4fff-bffb-2948a242e59e”, however, no such provisioning profile was found.
In this case you can manually copy the profile you downloaded to
~/Library/MobileDevice/Provisioning Profiles
Eg 1ffff1f-eff1-4fff-bffb-2948a242e59e.mobileprovision
and build again
18) To export your app to install using iTunes select
archive menu in Xcode --> Product --> Archive
19) After that select Windows --> Organizer
19) After that select Windows --> Organizer
No comments:
Post a Comment