Last active
March 26, 2020 04:10
-
-
Save alldne/9f2f683b3d9733ef9234abd7a2abca61 to your computer and use it in GitHub Desktop.
[Fastlane] match and disable automatic code signing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private_lane :match_and_disable_automatic_code_signing do |options| | |
# https://github.com/fastlane/fastlane/issues/1187#issuecomment-174074360 | |
bundle_identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier) | |
match(options) | |
provisioning_map = lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING] | |
automatic_code_signing( | |
use_automatic_signing: false, | |
profile_name: provisioning_map[bundle_identifier], | |
targets: ["Your target"], | |
code_sign_identity: "iPhone Distribution" | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment