Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 10: Where is the don't code sign option in Code Signing Identity

I'm building a Unity iOS app for a client in the form of an unsigned XCArchive as the client signs the XCArchive manually for security reasons.

I was following this guide beforehand: How to build and sign an iOS app on separate machines?

But I recently updated Xcode to 10.0, and now the option for don't code sign under Target->Build Settings->Code Signing Identity is missing, which is a bit of an issue when it comes to building the XCArchive.

How can I build an XCArchive without the don't code sign option?

like image 552
quaternion Avatar asked Oct 02 '18 04:10

quaternion


People also ask

How can I skip code signing for development builds in Xcode?

To turn the code signing off, go to your project and target "Build Settings", search for "Code Signing Identity" change its value to "Don't Code Sign" in both of them. To make this effective you need to change this value in the Project and all of the Targets separately.

How do I disable code signing during the build process OSX?

To disable Code Signing when building for macOS leave all the above vars unset except for CSC_IDENTITY_AUTO_DISCOVERY which needs to be set to false . This can be done by running export CSC_IDENTITY_AUTO_DISCOVERY=false .

How do you change code signing Identity in Xcode?

The automatic setting should automatically use the correct certificate to sign your app with based on the provisioning profile set in the bottom option in the Code Signing section. You can explicitly set both the Code Signing Identity as well as the Provisioning Profile, or set the Code Signing Identity to Automatic.

How do I enable signing in Xcode?

Open the project using Xcode. Select the root project directory, and go to the Signing and Capabilities tab. Here, you can either check Automatically manage signing or do the signing manually. If you check the Automatically manage signing checkbox, then you will just need to select the Team from the drop-down list.


Video Answer


1 Answers

  • Previous:updated Synny's answer.
  • Now: verified Code Signing Identity = empty != Don't Code Sign, and:

CODE_SIGNING_ALLOWED=NO == Don't Code Sign

PROJECT/TARGETS -> Build Settings -> click -> Add User-Defined Setting -> add new para:

  • CODE_SIGNING_ALLOWED=NO
    • enter image description here
like image 67
crifan Avatar answered Sep 19 '22 20:09

crifan