Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get Images.xcassets under source control?

So I migrated my AppIcons and LaunchImages to Images.xcassets, which is working fine it seems. But I made some modifications to the launch images, and now I went to commit the changes (I'm using a local-only git repo), and it seems Images.xcassets is not allowed to be committed to source control? Right-clicking on it, all the source control options are greyed out. And it doesn't show up in Xcode 5's new "global" commit dialog.

Seems ridiculous not to allow the assets file to be committed, am I missing something?

like image 384
S'pht'Kr Avatar asked Dec 13 '13 12:12

S'pht'Kr


2 Answers

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.

enter image description here

like image 176
Matthias Bauch Avatar answered Sep 21 '22 13:09

Matthias Bauch


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

like image 45
AFK Avatar answered Sep 17 '22 13:09

AFK