update_project_codesigning plugin

fastlane Plugin Badge

About

Updates the Xcode 8 Automatic Codesigning Flag

Add Plugin

fastlane add_plugin update_project_codesigning

Example

Set Codesigning to manual on all targets

  update_project_codesigning(
    path: "demo-project/demo/demo.xcodeproj",
    use_automatic_signing: false
  )

Set Codesinging to automatic

  update_project_codesigning(
    path: "demo-project/demo/demo.xcodeproj",
    use_automatic_signing: true
  )

Only for specific targets

  update_project_codesigning(
    path: "demo-project/demo/demo.xcodeproj",
    use_automatic_signing: false,
    targets: ["demo"]
  )

Also set team-id

  update_project_codesigning(
    path: "demo-project/demo/demo.xcodeproj",
    use_automatic_signing: true,
    team_id: "XXXXX"
  )

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting doc in the main fastlane repo.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.