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
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.