Re: can't build iPhone apps, certificate error
Re: can't build iPhone apps, certificate error
- Subject: Re: can't build iPhone apps, certificate error
- From: Conrad Shultz <email@hidden>
- Date: Mon, 25 Jul 2011 11:43:27 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/25/11 11:25 AM, Wilker wrote:
> Hi Guys,
>
> Im starting an iPhone app here, but I just can't build it... XCode
> clains:
>
> CodeSign error: code signing is required for product type
> 'Application' in SDK 'iOS 4.3'
>
> But I don't have one yeth... I was able to develop iPhone apps
> before without any code signing... It as configured before to use
> 'iPhone Developer' certificate, but when I try with this one I get:
>
> Code Sign error: The identity 'iPhone Developer' doesn't match any
> valid certificate/private key pair in the default keychain
>
> Any ideia on how to make it work again? I'm on Lion, with the most
> recent XCode (latest official, not beta/preview release).
Full disclosure: I am not yet on Lion/Xcode 4 (perhaps thankfully, in
light of certain other ongoing conversations on the list).
That said, AFAIK you should be able to build without code signing _for
the simulator_, so I guess I would start by verifying that your
deployment target (or whatever scheme-based terminology Xcode 4 is
using) is set to the simulator, not a device (or App Store).
The Code Sign error you report means that Xcode (or, more likely, the
codesign utility it calls during the build process) was unable to
automatically select a certificate and private key from your keychain,
which would make sense if you haven't set them up yet. Try configuring
your build settings (or whatever the corresponding pane in Xcode 4 is)
to not perform code signing period, since you shouldn't need to for
simulator.
(Btw, you probably should just shell out the $99 and get your signing
certificate... not only will you want to test your app on an actual
device sooner rather than later, but you will also get access to the
relevant dev forums and, more importantly, WWDC videos, if you didn't
otherwise have access to them.)
- --
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFOLblOaOlrz5+0JdURAl3AAJ96Z6crAbXABx4RkMeOLNpi0ywX3wCfRJ3U
GyQ3vN/DyGRUCgL74JulBQ4=
=BBiA
-----END PGP SIGNATURE-----
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden