Update projects code signing settings from your provisioning profile

You should check out the code signing guide before using this action: https://docs.fastlane.tools/codesigning/getting-started/ This action retrieves a provisioning profile UUID from a provisioning profile (.mobileprovision) to set up the xcode projects' code signing settings in .xcodeproj/project.pbxproj The target_filter value can be used to only update code signing for specified targets The build_configuration value can be used to only update code signing for specified build configurations of the targets passing through the target_filter Example Usage is the WatchKit Extension or WatchKit App, where you need separate provisioning profiles Example: `update_project_provisioning(xcodeproj: "..", target_filter: ".WatchKit App.*")

Supported platforms ios, mac
Author @tobiasstrebitzer, @czechboy0

1 Example

  xcodeproj: "Project.xcodeproj",
  profile: "./watch_app_store.mobileprovision", # optional if you use sigh
  target_filter: ".*WatchKit Extension.*", # matches name or type of a target
  build_configuration: "Release"


Key Description Default
xcodeproj Path to your Xcode project
profile Path to provisioning profile (.mobileprovision) *
target_filter A filter for the target name. Use a standard regex
build_configuration_filter Legacy option, use 'target_filter' instead
build_configuration A filter for the build configuration name. Use a standard regex. Applied to all configurations if not specified
certificate Path to apple root certificate /tmp/AppleIncRootCertificate.cer

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

To show the documentation in your terminal, run

fastlane action update_project_provisioning

View source code

Back to actions