Last night, the iPhone project was built perfectly.
This morning, I installed XCode 3.2.3
in a separate folder. When I open the same project in
This happened to me today as I was moving an existing project into a new Git repository structure, while simultaneously using a development certificate obtained via being added to my client's team as a "Member". So lots of opportunity for things to screw up.
In my case, the issue turned out to be the "Build Products Path". I had it set to the relative path "../../../build" instead of an absolute path. This was causing the Validate tool to screw up since the actual path wasn't being collapsed properly. I changed it to an absolute path and the Validate tool then began to run successfully once more.
I submitted this as a bug to Radar as #8946204.
I fixed this simply by deleting my distribution certificate from keychain then downloading it again from the provisional profile
I've encountered the same problem too. It showed that I had a duplicate certificate registration in my keychains. Removing one of them (I removed the one from my system keychain) fixed the problem.
Steps that helped me to resolve my problem:
I had the same problem, seems 3.2.3 messes with codesigning. I fixed it by re-running the 3.2.2 installer, no need to uninstall anything.
Due to what hiroshi said you can change it there: I just do is:
@@ -325,6 +325,7 @@ PREBINDING = NO; + "PROVISIONING_PROFILE[sdk=iphoneos*]" = "key goes here"; SDKROOT = iphoneos; @@ -361,6 +362,7 @@ PREBINDING = NO; + "PROVISIONING_PROFILE[sdk=iphoneos*]" = "and also here"; SDKROOT = iphoneos;
!!!That's what worked for me in XCODE 4!!!
For me the following steps resolved the issue:
Go to Product > Edit Scheme.
Open the Archive Profile.
Set Build configuration to Distribution.