简体   繁体   中英

Work with another developer on same xcode project, provisioning profile issue

I'm working with another developer on an iOS app. We're using Mercurial as source control. It's my first time with this setup so I'm probably doing something wrong here.

We both have separate provisioning profiles. No teams profile. Xcode 5.0.1.

Every time I commit the file project.pbxproj looks like I'm changing the provisioning profile info also on his machine.

Is there a way to avoid this kind of situation?

Looks like this is a common question, and I've browsed lot of similar issues here on SO. My situation looks like the one depicted in this question , but the solution of setting everything to "Automatic" doesn't solve the problem (by the way, I don't have any automatic option in the Provisioning profile field....)

I finally solved the issue by following this thread .

It lists a very short files to be ignored or included in the project folder to avoid conflicts on certificates and provisioning profiles.

Ignore these files when commiting the xproj file:

# Xcode
.DS_Store
*/build/*
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
profile
*.moved-aside
DerivedData
.idea/
*.hmap
*.xccheckout

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM