如何在源代码管理下获取Images.xcassets? [英] How do I get Images.xcassets under source control?

查看:48
本文介绍了如何在源代码管理下获取Images.xcassets?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我将AppIcons和LaunchImages迁移到了Images.xcassets,看起来工作正常.但是我对启动映像进行了一些修改,现在我去提交更改(我使用的是本地git仓库),并且似乎不允许将Images.xcassets提交到源代码管理中?右键单击它,所有源代码管理选项均显示为灰色.而且它不会显示在Xcode 5的新全局"提交对话框中.

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?

推荐答案

这很可能是Xcode中的错误.请向Apple提交错误报告: http://bugreport.apple.com

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.

这篇关于如何在源代码管理下获取Images.xcassets?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆