问题
I thought I'd figured out how to store XCode projects in source control - I only version the .pbxproject file and this seems to work great.
But then I noticed the provisioning profile is also kept there. This doesn't seem very good, I'm working remotely with another developer and we both have individual provisioning profiles. We keep committing new versions of the .pbxproject file with our own profile every time we change anything which is annoying, and I wonder if sharing such information is a security risk?
Is there a way around this? Are we 'supposed' to be using the same team profile or something like that, perhaps?
回答1:
Set the profile selector to "Automatic" in the Build Settings and this problem will stop.
来源:https://stackoverflow.com/questions/19186679/provisioning-profile-stored-in-xcode-project-file-for-ios-apps