No commit activity in last 3 years
No release in over 3 years
Remove provision profile from your local machine
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.100.0
>= 0
>= 0
>= 0
 Project Readme

remove_provisioning_profile plugin

fastlane Plugin Badge Build Status codebeat badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-remove_provisioning_profile, add it to your project by running:

fastlane add_plugin remove_provisioning_profile

About remove_provisioning_profile

The initial use case for the plugin has been discussed in fastlane issue. When match or developer adds new provision profile Xcode still keeps the old one even if the developer doesn't need it anymore. In that case this plugin could help by removing these old or unused provisioning profiles.

Available options

  • :app_identifier - the app identifier
  • :type - provisioning profile type, supported values ["development", "adhoc", "appstore"]

Example

Example to run the action

remove_provisioning_profile(app_identifier: "com.antondomashnev.fastlane-plugin-remove-provisioning-profile", type: "development")

Example lane from our team's fastfile. The lane removes the old provisioning profiles of all types and then runs match to create and load new

desc "Recreate the provisioning profiles so you can deploy to your device, release on fabric and push to app store"
  lane :renew_certificates do
    types = ["development", "adhoc", "appstore"]
    app_identifier = "com.antondomashnev.fastlane-plugin-remove-provisioning-profile"
    types.each do |type|
      remove_provisioning_profile(app_identifier: app_identifier, type: type)
      match(app_identifier: app_identifier, type: type, force: true)      
    end
end

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.

About fastlane

fastlane is the easiest way to automate building and releasing your iOS and Android apps. To learn more, check out fastlane.tools.