Search Unity

Code Signing Error: "Unity-iPhone" requires a provisioning profile.

Discussion in 'iOS and tvOS' started by BadSeedProductions, Aug 13, 2018.

  1. BadSeedProductions

    BadSeedProductions

    Joined:
    Dec 26, 2014
    Posts:
    144
    I'm getting an error when trying to archive my project on xcode 9.4

    Code Signing Error: "Unity-iPhone" requires a provisioning profile. Select a provisioning profile for the "Release" build configuration in the project editor.
    Code Signing Error: Code signing is required for the product type 'Application' in SDK 'iOS 11.4'


    I have created a provisioning profile and downloaded it to my computer. According to the apple dev instructions you double click this file and "voila" it's supposed to work. But I'm still receiving these errors. Is there any other way to select a provisioning profile? Thanks
     
  2. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    What does it say for provisioning profile under General/Signing in the Xcode project?
     
    McGravity likes this.
  3. BadSeedProductions

    BadSeedProductions

    Joined:
    Dec 26, 2014
    Posts:
    144
    If I go to Preferences > General there is no option for signing there
     
  4. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    Not preferences - the project.

    Screen Shot 2018-08-14 at 19.39.16.png
     
  5. MrMatthias

    MrMatthias

    Joined:
    Sep 18, 2012
    Posts:
    191
    Did you create a development provisioning Profile instead of a distribution one? You can manually sign it and should see available profiles listed
     
  6. irishlep7

    irishlep7

    Joined:
    Oct 28, 2018
    Posts:
    1
    I am getting these same errors and have tried what andymads suggested above, but still no go. Trying not to sound like a total newb, but how do I make sure I created the right Profile?? Many thanks!
     
  7. cearmijo

    cearmijo

    Joined:
    Feb 13, 2019
    Posts:
    1
  8. MrMatthias

    MrMatthias

    Joined:
    Sep 18, 2012
    Posts:
    191
    can you show what is shown under signing, when you select the project in the project navigator, then select the general tab and then the target Unity-iPhone?
    The details for each configuration you can see when you select the tab Build Settings. There is a signing section and you can unfold each property to see the values for each build configuration like ReleaseForRunning
     
  9. TeocraftOP

    TeocraftOP

    Joined:
    Aug 19, 2018
    Posts:
    1
    hello, I have the same problem and I have an img of my project signing.
     

    Attached Files:

  10. SlobodanNinkov

    SlobodanNinkov

    Joined:
    Apr 10, 2019
    Posts:
    1
    Hi, I had exactly same issue, I not sure if this is going to help in your case, but it works great for me.
    upload_2019-4-21_23-28-18.png

    Notice the selected icon in the upper left corner (Projects in xcode).
    Select Project in question. Click General Tab in the middle panel.
    Notice Signing Expander. Check the checkbox : Automatic manage signing.
    When it opens, select team (you should add your apple id to accounts in the xcode preferences).

    After selecting the team, that should be it, you can start the build.
     
    sumiv, gsk_fs, lesiry and 5 others like this.
  11. plegowski

    plegowski

    Joined:
    Jan 9, 2020
    Posts:
    1
    I got similar problem. When I set provisioning profile and signing team in unity settings, they are getting transferred to Xcode properly, but when I'm trying to build in Xcode it still says

    "Showing Recent Issues

    "Unity-iPhone" requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor."

    I see that all I have to do to fix that is go to Signing & Capabilities and Select the same profile that is already selected again (despite it is already selected, it looks like I need to "refresh" it). Is there any solution for that? I know it's not a big deal, it's just one more click when building, but its annoying :/
     
  12. BlueDonut

    BlueDonut

    Joined:
    Mar 25, 2019
    Posts:
    4
    Don't forget to set the team in 'All' under Signing & Capabilities and not just 'Release' or 'ReleaseForProfiling' etc. That will save you pulling out hair as I realised today.
     
  13. OleksandrMartysh

    OleksandrMartysh

    Joined:
    Dec 13, 2015
    Posts:
    25
    OMG! You have saved my day man! Thank you very much!!!
     

    Attached Files:

  14. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,191
    A BIG BIG thank you!
     
  15. Labaze

    Labaze

    Joined:
    Aug 15, 2017
    Posts:
    2
    Same, you just saved my day, I was only looking under the Debug tab! Thanks mate
     
  16. dr-doof

    dr-doof

    Joined:
    Mar 15, 2018
    Posts:
    1
    A million Thanks! Been stuck for a whole day
     
  17. Spicyruby

    Spicyruby

    Joined:
    Mar 31, 2019
    Posts:
    5
    Thank you! This community is awesome!
     
  18. Faiqlaiq

    Faiqlaiq

    Joined:
    Nov 27, 2017
    Posts:
    6
    This solved My problem, thanks a lot :)
     
  19. Firestorm200

    Firestorm200

    Joined:
    Sep 29, 2013
    Posts:
    5
    Thank you very very very much :D
     
  20. t-ley

    t-ley

    Joined:
    Mar 6, 2017
    Posts:
    77
    That didn’t work setting all the signing why is unity such a mess sometimes not my provision profile unity's I phone provision profile they themselves ain’t much help and who even knowns when they will respond anyway conflicting profiles for unity iPhone
     
    Last edited: Feb 12, 2022
  21. coderxx

    coderxx

    Joined:
    Dec 17, 2015
    Posts:
    6
    Oh goodness. You're a blessing. I was getting frustrated with this for ages and couldn't figure out what it was!
     
  22. Seromu

    Seromu

    Joined:
    Nov 30, 2015
    Posts:
    34
    I had the same problem. It happened after update from 2020.2.6f1 to 2022.1.0f.
    In my case, the cause of the problem is provisioning profile.

    I used provisioning name in 2020.2.6f1 and it has no problem, but it doesn't work anymore in 2022.1.0f.

    Bad - Do not use name in Profile ID
    upload_2022-5-12_12-50-3.png

    Good - Use UUID
    upload_2022-5-12_12-55-55.png
     
    Nit_Ram likes this.
  23. marvpaul

    marvpaul

    Joined:
    May 9, 2016
    Posts:
    32
    Saved my day, thank you!
     
  24. cabanel

    cabanel

    Joined:
    Sep 22, 2014
    Posts:
    68
    Saved my day, thank you!