I am puzzled that there are two entries to enter for the code sign identity. Am not sure whether this was the same in Xcode 3 but in Xcode 4 I see (in the Build Settings) something like this:
In the project.pbxproj for "Distribution" it looks like this
CODE_SIGN_IDENTITY = "iPhone Distribution";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
I cannot find anywhere any documentation what the difference is, but maybe I am overlooking it (in the documentation). I am confused about which one to set and now I set both. But I do not like the "I don't know what I am doing but I it works" feeling. It seems to me like the first one (CODE_SIGN_IDENTITY) is not needed for iPhone development. Because for "Debug" and "Release" I have not changed the value since I migrated from Xcode 3 to Xcode 4 and in project.pbxproj I can see only "CODE_SIGN_IDENTITY[sdk=iphoneos*]" is present.
So back to my question does anyone know what "CODE_SIGN_IDENTITY[sdk=iphoneos*]" means and what is the differences to CODE_SIGN_IDENTITY and whether CODE_SIGN_IDENTITY is needed and whether Apple has something documented about this anywhere?