Thanks Conrad,

Anyway, I found the problem here, and here is the solution if anyone else
got in same situation:

1. Open Keychain
2. Go to Preferences
3. Go to tab Certificates
4. Set the first two select elements to "Off" (it was "Best Attempt" here)
5. Build the than thing :P

This iPhone app Im working for my company, so, they will buy a licence, I'm
waiting for them, later I will get one for me, just not now ;)
---
Wilker LĂșcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600



On Mon, Jul 25, 2011 at 3:43 PM, Conrad Shultz <
con...@synthetiqsolutions.com> wrote:

> -----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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to