Updates the Xcode 8 Automatic Codesigning Flag
fastlane add_plugin update_project_codesigning
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"
)
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting doc in the main fastlane
repo.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.