开发者

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:

  1. choose Project, Edit Project Settings
  2. Make sure the configuration is Debug
  3. 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:

  1. Expand Targets and double-click on your app name
  2. Repeat the same steps

Then, try building again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜