ios - Duplicate working copies in Xcode for submodules -


i have project submodules, when under working copies, see 1 of them duplicated.

this causes issues when cloning project, xcode tries download missing working copies , has error git tries download same 1 twice..this happening on multiple computers,so think it's issue project.

i've tried deleting xccheckout file no luck.

check in .gitmodules file in working directory. duplicated in there? if so, should remove relevant duplicate sections. i'd suggest removing submodule re-adding safe.

from working directory,

git submodule deinit submodulename     git rm submodulename git rm --cached submodulename 

then add submodule again.

edit - suggestion:

try deleting projectname.xcodeproj > project.xcworkspace > xcshareddata restarting xcode.