Unable to compile in Xcode: Receiving Provisions Error

***
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)

Hello Tony,
Please can you explain more how you fix it?

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.

That helped a lot, thanks!

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