How do I get Images.xcassets under source control?

三世轮回 提交于 2019-12-03 11:14:56

This is most likely a bug in Xcode. Please file a bug report with Apple: http://bugreport.apple.com

As a workaround use the "global" commit dialog and select "File View" in the top of the side bar. The relevant files should then show up.

Almost 2 years later, the same functionality exists for Xcode 7.1. The workaround that Matthias offers still allows you to upload assets.xcassets.

Quitting the Xcode & reopening the project again worked!

An alternative could be to try something along the lines of:

cd /to/the/folder/

git ls-files --others --exclude-standard | grep .imageset | xargs git add

git commit...
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!