Provision Profile and Apple Keychain Services
Currently we are in the process of building multiple apps for the same client and for the convenience we are using a common provision profile for all the apps. etc :- com.companyname.*
However each app has a unique bundle identifier. etc : - com.companyname.appname
Today I 开发者_JAVA百科noticed that once we save the user name on the key chain on a one app , it appears on the another app as well. So I think this common provision is the culprit here and is there any way that we can overcome this without using different provisions ?
For development you should also use a certificate (.cer
) from Apple Developer Program. You create the certificate by sending your private key to Apple. After this procedure install .cer
. For using key on several machines you need to create a .p12
.
Once you have downloaded the Apple iPhone certificate from Apple, export it to the P12 certificate format. To do this on Mac OS:
- Open the Keychain Access application (in the Applications/Utilities folder).
- If you have not already added the certificate to Keychain, select File > Import. Then navigate to the certificate file (the .cer file) you obtained from Apple.
- Select the Keys category in Keychain Access.
- Select the private key associated with your iPhone Development
Certificate. The private key is identified by the iPhone Developer:
First Name
Last Name
public certificate that is paired with it. - Select File -> Export Items.
- Save your key in the Personal Information Exchange (.p12) file format. You will be prompted to create a password that is used when you attempt to import this key on another computer.
精彩评论