Created
March 26, 2021 20:02
-
-
Save douglasiacovelli/bfb98cca544babded2b518d9d00a57c1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
platform :ios do | |
desc "Get certificates" | |
lane :certificates do | |
sync_code_signing( | |
type: "development", | |
app_identifier: ['com.company.example', 'com.company.example.stg'], | |
force_for_new_devices: true, | |
readonly: true | |
) | |
# You can repeate the sync_code_signing with other types of certificates such as appstore and adhoc | |
sync_code_signing( | |
type: "appstore", | |
app_identifier: 'com.company.example', | |
readonly: true | |
) | |
end | |
desc "Generate new certificates" | |
lane :generate_new_certificates do | |
sync_code_signing( | |
type: "development", | |
app_identifier: ['com.company.example', 'com.company.example.stg'], | |
force_for_new_devices: true, | |
readonly: false | |
) | |
# You can repeate the sync_code_signing with other types of certificates such as appstore and adhoc | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment