Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unable to compile in Xcode: Receiving Provisions Error

Discussion in 'iOS and tvOS' started by TonyDev, Mar 14, 2011.

  1. TonyDev

    TonyDev

    Joined:
    Mar 14, 2011
    Posts:
    1
    ***
    Solved: I was including the seed # (XZDNNP33A3), which was causing the error
    ***


    Hi all,

    I've just (for the first time) set up my system to compile for the iOS platform.

    I have installed certificates, provisioning profiles (on an iPad2) and everything seems to look correct. No errors, etc.

    I'm able to build the project from unity, where I specify the bundle identifier (XZDNNP33A3.com.eccescopy.bosar).

    Once attempting to compile in Xcode to target Unity-Iphone iPad (4.3), I receive the following error:

    ------

    Check dependencies

    [BEROR]Code Sign error: a valid provisioning profile matching the application's Identifier 'XZDNNP33A3.com.eccescopy.bosar' could not be found

    --

    Code Sign error: a valid provisioning profile matching the application's Identifier 'XZDNNP33A3.com.eccescopy.bosar' could not be found

    ------

    I've opened my Info.plist to check the targets, and it seems correct – XZDNNP33A3.com.eccescopy.${PRODUCT_NAME:identifier}

    I've also put a copy of the BOSARiPad.mobileprovision into the project root (Unity-Iphone).

    Pulling my hair out as I must be missing something here. Any advice would be extremely helpful. Thanks!

    Tony


    (P.S. I'm compiling in Xcode 4, iOS 4.3 on an iPad2, Unity 3.3.0f4)
     
    Last edited: Mar 14, 2011
  2. Gabriel Sado

    Gabriel Sado

    Joined:
    Feb 24, 2007
    Posts:
    5
    Hello Tony,
    Please can you explain more how you fix it?
     
  3. Han_Zulu

    Han_Zulu

    Joined:
    Sep 15, 2012
    Posts:
    4
    I had the same problem. Somehow I got it fixed.

    First, it seems that naming of profile ID and product name and such must be same all over the place.

    What finally got it working was that I copied the provision profile file into the organizer library part. There are several provision profile sections in the X-code organizer, and it seems like you have to have it in the top one to make it work.
     
  4. smonbrogg

    smonbrogg

    Joined:
    Dec 11, 2012
    Posts:
    17
    That helped a lot, thanks!
     
  5. Batigol

    Batigol

    Joined:
    Oct 17, 2012
    Posts:
    234
    No need to copy provisioning profile to anywhere. Just download and double click, it will automatically install.
    Please check the bundle ID is correct or not
    To make sure the profile match with apps and device, you can open Organize in Xcode to see. If the provisioning profile not green --> something wrong