Git, tree conflict in Content.json file in Xcode 7 -


i have tree conflict in content.json files in image.xcassets while pulling code branch. have pretty tried find online nothing helped. apparently conflict in 3 files not sure ones of content.json files in project.

i have tried adding image.xcassets in gitignore file. still nothing helped.

i bit new source code versioning, please help.

a late answer, useful so...

i had same problem using xcode 7.2. me there 2 steps resolving issue:

  1. read xcode error message find out contents.json files affected -- @ least message should include names of images affected (at least did me), can browse assets.xcassets folder in finder , locate relevant image folders. each image folder contain corresponding contents.json file. remove conflict contents.json files described in 22076517.

after doing this, found although there no more tree conflicts, got warning single contents.json still being reported conflicted. so, on step number 2!

  1. remove offending image folder safe location (anything points image throw warning or error @ point, try not panic!), clean project (not sure if necessary, find doing regularly lowers chances of random, strange build errors), , put files , recommit them though added new files.

and resolved issue! luck.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -