automatic_code_signing

Configures Xcode's Codesigning options

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

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

8 Examples

# enable automatic code signing
enable_automatic_code_signing
enable_automatic_code_signing(
  path: "demo-project/demo/demo.xcodeproj"
)
# disable automatic code signing
disable_automatic_code_signing
disable_automatic_code_signing(
  path: "demo-project/demo/demo.xcodeproj"
)
# also set team id
disable_automatic_code_signing(
  path: "demo-project/demo/demo.xcodeproj",
  team_id: "XXXX"
)
# Only specific targets
disable_automatic_code_signing(
  path: "demo-project/demo/demo.xcodeproj",
  use_automatic_signing: false,
  targets: ["demo"]
)

 # via generic action
automatic_code_signing(
  path: "demo-project/demo/demo.xcodeproj",
  use_automatic_signing: false
)
automatic_code_signing(
  path: "demo-project/demo/demo.xcodeproj",
  use_automatic_signing: true
)

Parameters

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)
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 automatic_code_signing

View source code


Back to actions