Should .gitignore file contain anything about provisioning profile ?

Hi !


I plan to push my work on public repository and wonder where data such as provisionning profile are stored and whether or not I should customize my .gitignore file.


What do you usually write in your .gitignore files ?

Mine actually looks like this

##################################################

# Git ignore file for IOS projects

##################################################

##################################################

# XCODE generated files

##################################################

build

xcuserdata

xcshareddata

##################################################

# OS generated files

##################################################

.DS_Store

Thumbs.db







Thanks in advance for your help.

Answered by donarb in 43235022

The provisioning profile is located in your keychain so is not part of the project.


As for gitignore, I use the Objective C template located on github at github.com/github/gitignore.

Accepted Answer

The provisioning profile is located in your keychain so is not part of the project.


As for gitignore, I use the Objective C template located on github at github.com/github/gitignore.

Thanks donarb !


I have added your github link to my favorites !!

Should .gitignore file contain anything about provisioning profile ?
 
 
Q