Configures Xcode's Codesigning options

Configures Xcode's Codesigning options of all targets in the project

Supported platforms ios, mac
Author @mathiasAichinger, @hjanuschka, @p4checo, @portellaa, @aeons, @att55
Returns The current status (boolean) of codesigning after modification

2 Examples

 # manual code signing
  use_automatic_signing: false,
  path: "demo-project/demo/demo.xcodeproj"
 # automatic code signing
  use_automatic_signing: true,
  path: "demo-project/demo/demo.xcodeproj"


Key Description Default
path Path to your Xcode project *
use_automatic_signing Defines if project should use automatic signing false
team_id Team ID, is used when upgrading project
targets Specify targets you want to toggle the signing mech. (default to all targets)
build_configurations Specify build_configurations you want to toggle the signing mech. (default to all configurations)
code_sign_identity Code signing identity type (iPhone Developer, iPhone Distribution)
profile_name Provisioning profile name to use for code signing
profile_uuid Provisioning profile UUID to use for code signing
bundle_identifier Application Product Bundle Identifier

* = default value is dependent on the user's system


To show the documentation in your terminal, run

fastlane action update_code_signing_settings


It is recommended to add the above action into your Fastfile, however sometimes you might want to run one-offs. To do so, you can run the following command from your terminal

fastlane run update_code_signing_settings

To pass parameters, make use of the : symbol, for example

fastlane run update_code_signing_settings parameter1:"value1" parameter2:"value2"

It's important to note that the CLI supports primitive types like integers, floats, booleans, and strings. Arrays can be passed as a comma delimited string (e.g. param:"1,2,3"). Hashes are not currently supported.

It is recommended to add all fastlane actions you use to your Fastfile.

Source code

This action, just like the rest of fastlane, is fully open source, view the source code on GitHub

Back to actions