Due to the use of a common developer certificate, the published app or IPA cannot be installed on a normal machine because Apple restricts the general developer from publishing AppStore outside of the enterprise certificate to publish inhouse. Today, when publishing an app that is used inside a company, Xcode may default to a regular developer account because it has both a common developer certificate and an enterprise certificate installed on the Mac, so the published IPA will never install successfully on a normal model. After several twists and turns, finally found this problem, and then find a way to set up to use the Enterprise version of the certificate, but this time even compile can not pass, error prompts as follows:
No Matching provisioning profiles found
His product type must is built using a provisioning profile, however no provisioning profile matching both the identity "I Phone distribution:pixxx CORPORATION "and the bundle identifier" Xx.xxx.enterprise.xxx.appname "was found. Xcode can resolve this issue by downloading a new provisioning profiles from the Member Center.
This means: I'm using an enterprise certificate that does not match the currently published program bundle identifier.
The reason is obvious because a provisioning profile was installed when the certificate was installed, and some information was recorded in this provision profiles: Developer certificate, developer Apple ID, A series of device IDs (which can be debugged by the developer), and application Identifier that cause the above problems . This is why the error was prompted.
Insert a sentence, how do I according to my provisioning file to know the corresponding app identifier?
Simply double-click the file, reinstall it, and you'll be able to see the app ID for the provision profile after you've opened Keychains automatically.
So, when you only Enterprise certificate, but did not create provision profile permissions, you can wronged perfection, the project attributes in the bundle identity to the profile of the app ID can be. in order to run on the normal iphone, but there is a problem with the Enterprise certificate, you must change the name to the app ID of the provision profile that corresponds to the certificate.
The disadvantage is also obvious, if the development machine installs both our app and the company's other original app, then one will be overwritten because their signature is the same.you already know what I'm talking about here. Creating provision profile permission means that you currently have an iOS-developed enterprise Certificate with Inhouse app publishing rights, but no Apple ID for that enterprise certificate, Unable to login to Apple Developer Center to add applicaiton ID.
Reference:
1. How do I resolve link error for a subset of test that results from modifying the project name or bundle identity? Http://stackoverflow.com/questions/16513934/how-do-i-add-modify-the-bundle-loader-setting-in-xcode-4-6-2
2. Enterprise Certificate application process, use, release method: http://blog.csdn.net/kmyhy/article/details/6418280
How to publish an enterprise Inhouse app without creating provision profile permissions