1

I get this error when I try to test with my device.

CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 6.1'

XCode ver 4.6.2

Thanks for your help.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
JohnC
  • 209
  • 4
  • 16

2 Answers2

2

Right now in Build Settings, it probably looks like this enter image description here

You have to code sign an app to test it, so change it so it looks like this enter image description here

Note that to be able to test on a device, you must be a registered Apple Developer (Payed the $99), and have your device set up for development with your provisioning profile installed.

EDIT

Make sure in Organizer->Devices, your phone is set up for development and has your iOS team provisioning profile installed. Also, make sure that your device is set up to be used with your provisioning profile in the provisioning portal. If nothing else works, look at this answer.

Community
  • 1
  • 1
Chris Loonam
  • 5,735
  • 6
  • 41
  • 63
0

Select your project>Project Name>Build Settings>Code Signing>"Code Signing Identity" now fill the fields with your code signing profiles.

Isaiah Turner
  • 2,574
  • 1
  • 22
  • 35