Xcode won't sign app
I'm almost at my wit's end with this. I can't get xcode to recognize that it's supposed to sign the @#$% app! I (think) I have my cert and provisioning file setup correctly. I've selected the appropriate target, and 开发者_JS百科am using the Device Based SDK. The project builds without errors, but when I look at the Build Log, after GenerateDSYMFile I expect to see ProcessingProductPackaging, which I don't see. Nor to I see the CodeSign task. Why isn't xcode even attempting to sign the app?
I'm using xcode 3.2.4. Any direction would be appreciated!
I'm not sure; Xcode normally refuses to even attempt to build if it can't sign it. There are some options about post-compilation steps (under "Deployment"); some of them might relate to code-signing.
Failing that, some other options:
- Restart Xcode.
- Restart your computer.
- Reinstall Xcode.
- Start with a second, empty project which does sign. Remove things from the first project or add things to the second until either the first one signs or the second one doesn't, and then
diff {MyApp,MyApp2}.xcodeproj/project.pbxproj
. (Annoyingly, the diff is full of GUIDs that will probably change...)
First, verify the project settings:
- choose Project, Edit Project Settings
- Make sure the configuration is Debug
- Enter 'code sign' into the search box and verify that under 'Code Signing Identity' that you have a valid profile (like 'iPhone Developer')
Then, verify the target settings:
- Expand Targets and double-click on your app name
- Repeat the same steps
Then, try building again.
精彩评论