Skip to content

Instantly share code, notes, and snippets.

@douglasiacovelli
Created March 26, 2021 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save douglasiacovelli/bfb98cca544babded2b518d9d00a57c1 to your computer and use it in GitHub Desktop.
Save douglasiacovelli/bfb98cca544babded2b518d9d00a57c1 to your computer and use it in GitHub Desktop.
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