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?
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.
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 .
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.
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.
Synny
's answer.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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With