ios - ignore project.pbxproj changes related to developer certificates -
i have team of developers, each 1 own developer account
.
the problem comes development certificates. due each 1 having own certificate generated, project.pbxproj
file changing every time developer merge changes main branch (i.e, master & working branches).
attending this documentation, every developer has own certificate , it's logical project.pbxproj
changes. there possibility ignore these changes?
i think xcconfig file usage omit constant conflicts in git. idea put build settings project.pbxproj xcconfig file. suspect in case variable build setting development_team. add xcconfig file project go xcode -> file -> new... -> file:
let's assume i've named config.xcconfig. next step use file in project settings. go configurations section of project:
after you'll have add new key config.xcconfig
. example: development_team = #your_development_team#
, development_team value can retrieved project.pbxproj file:
after moving development_team key project.pbxproj
config.xcconfig
can removed project settings. config.xcconfig
should added git it's value should modified locally engineer team.
in same manner keys provisioning_profile_specifier
, code_sign_identity
can moved.
more information on build settings , xcconfig files can found here , here.
Comments
Post a Comment