iPhone Distribution: No profiles currently match

前端 未结 5 902
盖世英雄少女心
盖世英雄少女心 2021-02-04 13:36

I am about to upload an app to iTunes Connect. I am not Team Agent, nor does it seem the Team Agent can make me a Team Agent. So he logged onto Member Center and downloaded a Di

相关标签:
5条回答
  • 2021-02-04 14:01

    I checked this with my accounts and it seems that only the team agent can create the stuff needed for AppStore or AdHoc releases.

    IF you have the correct provisioning profile installed, and both your project settings and target setting for the "release" build are set to the correct provisioning profile. + that you have the correct certificates installed for that computer... you can build the release. I am unsure if only the Team Agent can upload these build, but otherwise you can package the release as a zip file (which you should anyways) and send it off the the team agent. The Team agent can then use the Application Loader to upload the application.

    0 讨论(0)
  • 2021-02-04 14:03

    "iPhone distribution no profiles match" is one of the most annoying issue that I have ever had with app development.

    This is how I sorted it out:

    In Developer under iOS Provisioning Portal I needed to generate 4 certificates and download the WWDR intermediate certificate to be able to submit my app to the App Store:

    1. Under Developer Certificate section (link) generate a Developer Certificate. Also Make sure that you have the WWDR intermediate certificate installed, if in doubt download it from there.
    2. Under Developer Certificate section (link) generate a Distribution Certificate (This is not that will show up in Xcode!)
    3. Under Provisioning section (link) generate a Development Provisioning profile certificate
    4. Under Provisioning section (link) generate a Distribution Provisioning profile. THIS WILL SHOW UP IN XCODE AS A DISTRIBUTION CERTIFICATE!

    After that I was able to select the iPhone distribution profile generated at 4. Also make sure that your target settings are correct as they overwrite the project settings.

    Your active provisioning profiles are listed under "Xcode/Organizer/Library/Provisioning Profiles"

    I hope it helps

    UPDATE: Some distribution provisioning profiles often just "disappear" from my list. So I have to download and install (just double click) them again from https://developer.apple.com/ios/manage/provisioningprofiles/viewDistributionProfiles.action not a big deal, but annoying.

    0 讨论(0)
  • 2021-02-04 14:07

    Also dont forget If you deleted all your certificates and keys in Keychain and you plan on regenerating those certificates make sure you change your certificate preferences in Keychain for Online Certificate Status Protocol to Off and Certificate Revocation List to Off, for some resaon this important step is the only way it worked for me.

    Another reason developer profiles are missing

    While in organizer under Library > Provisioning Profiles... On my computer, if I hit Refresh, all the Distribution profiles are removed!!! No big deal, just go back to your provisioning portal and go to Provisioning > Distribution and download the appropriate distribution profiles and your good to go! :)

    Instructions right from apple... Follow them EXACT https://developer.apple.com/ios/manage/certificates/team/howto.action

    To request an iOS Development Certificate, you first need to generate a Certificate Signing Request (CSR) utilizing the Keychain Access application in Mac OS X Leopard. The creation of a CSR will prompt Keychain Access to simultaneously generate your public and private key pair establishing your iOS Developer identity. Your private key is stored in the login Keychain by default and can be viewed in the Keychain Access application under the ‘Keys’ category. To generate a CSR:

    In your Applications folder, open the Utilities folder and launch Keychain Access. In the Preferences menu, set Online Certificate Status Protocol (OSCP) and Certificate Revocation List (CRL) to “Off”.

    Choose Keychain Access -> Certificate Assistant -> Request a Certificate from a Certificate Authority. Note: If you have a noncompliant private key highlighted in the Keychain during this process, the resulting Certificate Request will not be accepted by the Provisioning Portal. Confirm that you are selecting “Request a Certificate From a Certificate Authority...” and not selecting “Request a Certificate From a Certificate Authority with …”

    In the User Email Address field, enter your email address. Please ensure that the email address entered matches the information that was submitted when you registered as an iOS Developer. In the Common Name field enter your name. Please ensure that the name entered matches the information that was submitted when you registered as an iOS Developer. No CA (Certificate Authority) Email Address is required. The ‘Required’ message will be removed after completing the following step. Select the ‘Saved to Disk’ radio button and if prompted, select ‘Let me specify key pair information’ and click ‘Continue’.

    If ‘Let me specify key pair’ was selected, specify a file name and click ‘Save’. In the following screen select ‘2048 bits’ for the Key Size and ‘RSA’ for the Algorithm. Click ‘Continue’.

    The Certificate Assistant will create a CSR file on your desktop.

    0 讨论(0)
  • 2021-02-04 14:14

    I battled the problem all day too. Tried Tons of things.

    I downloaded the distribution provisioning profile. OK

    Double Click. Into Keychain it goes (like magic) OK

    Build. NOPE. Not Signed

    Check - it is not the Team Provisioning Cert that you are looking for it is the plain looking one that cannot be installed on devices.

    If it is not there you did not copy it to YOUR library/MobileDevice/Provisioning Profiles folder. (just like I didn't)

    0 讨论(0)
  • 2021-02-04 14:18

    Make sure that the case of your bundle identifier in the provisioning profile and your info.plist are the same.

    I just had this problem, and resolved it finally when I saw that Xcode would not even let me manually select my distribution profile, saying 'profile doesn't match bundle identifier myappname'

    When a took a close look, I saw that the bundle name had the app name capitalized, and the provisioning profile had the appname in all lowercase.

    0 讨论(0)
提交回复
热议问题