简体   繁体   English

Xcode 6.0.1卡住了编译资产

[英]Xcode 6.0.1 stuck compiling asset

I've been trying to compile an iOS 7 project with all the beta versions of Xcode 6 with no luck and I was hoping for the stable version to work but it doesn't. 我一直在尝试使用Xcode 6的所有beta版本编译一个iOS 7项目而没有运气,我希望稳定版本能够正常运行,但事实并非如此。 When I try to compile the app it always works fine until it starts compiling the asset catalog. 当我尝试编译应用程序时,它总是正常工作,直到它开始编译资产目录。 I tried to compile other projects with assets and work fine, and also works for new projects. 我尝试用资产编译其他项目并且工作正常,并且也适用于新项目。

Does anyone know what the problem can be? 有谁知道问题是什么? The last line in the build log corresponds to the file assetcatalog_generated_info.plist 构建日志中的最后一行对应于文件assetcatalog_generated_info.plist

Thanks! 谢谢!

我遇到了类似的问题,以下修复了...修改assetcatalog文件并清理(shift + cmd + alt + k)并构建。

I did above without success- I ended up just 1. rebooting my machine 2. Cleaning my build folder - (hold down Alt key and press Product-> Clean ) 我做了上面没有成功 - 我最终只是1.重新启动我的机器2.清理我的构建文件夹 - (按住Alt键并按产品 - >清洁)

which did the trick. 这诀窍。

Probably you have some image corrupted in your Images.xcassets. 可能你的Images.xcassets中有一些图像被破坏了。 I advise you to copy your Images.xcassets for another place, delete it from project, create a new one and go back each image (and compiling) for discovering which one is the problem. 我建议你将Images.xcassets复制到另一个地方,从项目中删除它,创建一个新的并返回每个图像(和编译)以发现哪个是问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM