简体   繁体   English

资产目录编译错误

[英]Asset Catalog Compile Error

I think ive done a bad manipulation and my project dont run since, ive tried every solutions on stackoverflow without any good result. 我认为ive进行了错误的处理,并且我的项目没有运行,因为ive尝试了所有关于stackoverflow的解决方案,但均未获得良好结果。

so im desesperate and i prefer to ask. 我非常绝望,我更愿意问。

heres my error message : /Users/dev/Documents/Work/TheSecondLast/TheSecondLast/Assets.xcassets: None of the input catalogs contained a matching launch image set named "LaunchImage". 这是我的错误消息:/Users/dev/Documents/Work/TheSecondLast/TheSecondLast/Assets.xcassets:没有任何输入目录包含匹配的启动映像集“ LaunchImage”。

[Here is my screenshot]--> 1 [这是我的屏幕截图]-> 1

I Really hope someone will have the time to help me and i thank you all even if you dont. 我真的希望有人能有时间帮助我,即使您没有,我也要谢谢你们。

Edit the target, switch to the General pane, and fix these setting to look this: 编辑目标,切换到“常规”窗格,然后修复以下设置以使其看起来像这样:

在此处输入图片说明

The problem is that you pressed the Use Asset Catalog button, which means your asset catalog contains a launch image — but it doesn't. 问题是您按下了“使用资产目录”按钮,这意味着您的资产目录包含一个启动映像,但没有。 If you configure as shown below, you'll go back to using the LaunchScreen storyboard as your launch image. 如果按如下所示进行配置,则将返回使用LaunchScreen故事板作为启动图像。

Met same issue, solved it by removing build settings' ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME value "LaunchImage": 遇到了同样的问题,通过删除构建设置的ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME值“ LaunchImage”来解决:

在此处输入图片说明

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

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