CodeSign error: code signing is required for the "Application" product type in the "iOS 6.0" SDK

I uploaded the name of the Plot_Gallery _ios project, which is mainly done for plotting. It was downloaded from core_plot, the main target project is Plot_Gallery_IOS, and it also has a CorePlot-CocoaTouch.xcodeProj subproject file containing the entire library of files that are mainly used to run this project.

The problem I am facing is when I try to download this application in my ipad after compilation, it gives one error i.e.

CodeSign error: for the product type "Application" a signature code in the SDK "iOS 6.0" is required

I am trying to fix this problem because of a long time, I can’t. I tried to create the settings and changed the code signing identifier to Dont code sign , and also choosing debug as the Ios SDK . I try to use all possible fixes, but I can not download this application on my ipad.

I also tried to select the Ios SDK as iphoneDeveloper , but I get linker errors , so the problem is that bcoz contains 2 target projects, where Plot_Gallery_IOS is the main project and the sub has CorePot_cocoatouch.xcodeProject and other files.

So can someone plz contact me how to solve this problem. I am stuck with this problem from a long time.

+7
source share
5 answers

Hi, I managed to fix this by changing the code values ​​in the build settings. I attach the image so you can see it:

Solution

I hope this helps! Let me know!

+27
source
  • Go to this folder: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk .
  • You need to copy this file: SDKSettings.plist and paste it on your desktop.
  • Open the file you just copied using Xcode. In DefaultProperties you will find the following line: CODE_SIGNING_REQUIRED .
  • You need to change the value from "YES" to "NO".
  • Save it, return it to the original folder (replace it with the original file), and there you go.
+13
source

For the Xcode5, Maybe Provisioning Profile section, you select the wrong "Any IOS SDK" item, just change it to your own profile, not your version.

+1
source

To solve this problem, you must register the code of the invalid code, compile your code and then put the appropriate profile.

See Assign profile profiles to create configurations on this page on the Apple Developer website:

https://developer.apple.com/legacy/library/technotes/tn2250/_index.html

0
source

To let go of the / adhoc application, the solution in my case was to set so as not to sign all the fields of the code identifier, and do the same for the preparation profiles.

After that, I installed Release-> Any iOS SDK in the correct provisioning profile, Xcode automatically set the code identifier identifier β†’ Any iOS SDK to the corresponding Identity and followed the usual Archive-> publish procedure.

0
source

All Articles