how do I do an ad-hoc distribution profile?
Been reading many links but I think there is something that I'm still missing. Just can't figure out what.
Here are the steps that I took
1. a team member sent me his UDID 2. I add his phone to "devices" under the dev portalThen this is what I did to create the ad-hoc profie
1. go to "provisioning" then "distribution" on my dev portal开发者_开发百科 2. add "new profile" and select "ad-hoc" for the Distribution Method radio button 3. select the "wildcard" App id 4. select all phones. 5. download the certificate on someone's machine and install itSo team member gave me the UDID and I gave him back a .mobileprovisioning file and the app binary. That doesn't work.
This is the error that I see on XCode - "A valid signing identity matching this profile could not be found in your keychain".
If I try to install anyway by dragging the app into XCode, I get "A valid provisioning profile for this executable was not found"
Please enlight,
TeeA major step that a lot of developers forget to do is to add the code signing entitlements file to their project.
Inside XCode add a new file to the Resources group of your project. Choose the Code Signing Category in the template dialog. You will want to choose the Entitlements. Once this is added, highlight it in XCode and uncheck the "get-task-allow" value.
You will then want to go Get Info on your XCode project and under the Build tab, go to the Code Signing section. Under Code Signing Entitlements, put the name of the file you added. Make sure you have your Cert/Profile pair selected under the Code Signing Identity. Once you build with these settings, you can hand the .ipa or .app file along with the .mobileprovision file to your user and you should be all set.
Are you actually creating a build that is signed with your distribution certificate? The docs on the developer program portal are very complete, I don't know that anyone here would be able to do a better job of explaining the process. Make sure to look at the Distribution > Prepare App
Make sure you see the following in the OS X Keychain Access application (in the login section):
- A private key with your organization's name.
- A certificate attached to the above private key named iPhone Developer: Organization Name
Make sure your provisioning profile is located in ~/Library/MobileDevice/Provisioning Profiles
.
精彩评论