Should certificates and fastlane files be committed to git in an XCode project?

I have created a provisioning profile to deploy an iOS app to the test flight using fastlane.

Following is the list of files that I have added to .gitignore

  • fastlane/report.xml
  • fastlane/Preview.html
  • fastlane/screenshots
  • fastlane/test_output
  • fastlane/README.md

Should I also be adding the following files to .gitignore?

  • Files in the folder /certificates
  • fastlane/Appfile
  • fastlane/Fastfile

1 Answer

I don't use the testflight action, but I do use fastlane, so I know that you absolutely do want to add:

  • fastlane/Fastfile
  • fastlane/Appfile

The Fastfile contains the logic for your lane itself.

I also imagine that you'll want to add your certificates to your repo if you want to run your fastlane from other machines.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like