It is possible that this file (or here folder) has been put in a .gitignore
.
That is the case since issue 482.
See for example "What goes in SpriteBuilder .gitignore for a project?".
That folder is also ignored in this thread.
If you were to remove it from said .gitignore
, then you would be able to add it and commit it locally, which means the sync would work.
Or if you are interested in just one file within that folder, you could:
- keep
Published-iOS/
in the .gitignore
git add -f Published-iOS/aFile
(to force adding an ignored file to the index)
- commit and sync that file.
As LearnCocos2D commented, adding the full folder isn't a good idea/practice.
That is why I suggested to add only one file within that folder (if you absolutely need it), instead of the folder itself.
Yet, the OP ika-tarou confirmed:
There sure was "Source/Resources/Published-iOS
" written in .gitignore
!
After remove it and push again the receiver got a lot of errors when merged because of the missing files I sent before. So he removed those files and merged again. Then succeeded.