views:

35

answers:

1

Hi guys , I think my head soon explode. I've been working on my application for some time and finally git an iPhone for testing on device, now I'm trying to run my app on iphone but can't do it. I've done all necessary steps but getting an error [BEROR]Code Sign error: a valid provisioning profile matching the application's Identifier 'com.yourcompany.MyProject' could not be found

My provisionign profile is called XXXXXXXXX.com.myname.*

in info.plist I changed Bundle identifier to com.myname.myapplication

my project name is MyProject because I can't change it, but my target and executables called myapplication

I've checked all setting and can't even find this yourcompany anywhere

but still getting this error

where need I seek?

thank you

A: 

Xcode uses the bundle identifier found in the target's Info.plist file for code signing.

Which Info.plist file is selected is actually a build setting (normally in the target), and is usually set up by Xcode correctly. If you manually edited the Info.plist's bundle identifier value to your identifier, Xcode should use this identifier and code signing should work.

The default Info.plist file contains a bundle identifier that contains Xcode build settings and is processed to the final identifier when building the target.

Nikolai Ruhe
Ok, I found in a project folder file MyProject-info.plist which contained wrong data, I changed it and it works now, but I can't see this file in xcode, in xcode I have myapplication-info.plist, I think it's not right, what can I do with it? What does this file do at all?
Burjua