存档或构建运行时出现Images.xcassets错误 [英] Images.xcassets bug upon Archive or Build for running

查看:382
本文介绍了存档或构建运行时出现Images.xcassets错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Archive或Build运行时突然遇到这两个资产编译器错误:

Suddenly faced this two asset compiler errors upon Archive or Build for running:

/Users/borislariushin/Documents/Pilgrimapp/ios/ios/Images.xcassets:失败将启动图像集的PNG数据从LaunchImage.launchimage / 1024_768-1.png写入/ Users / borislariushin / Library / Developer / Xcode / DerivedData / PilgrimApp-bfjwfpphvtnwqiaqkihxoimthbkp / Build / Products / Debug-iphoneos / PilgrimApp。 app / LaunchImage-Landscape~ipad.png。

/Users/borislariushin/Documents/Pilgrimapp/ios/ios/Images.xcassets: Failed to write PNG data for the launch image set from "LaunchImage.launchimage/1024_768-1.png" to "/Users/borislariushin/Library/Developer/Xcode/DerivedData/PilgrimApp-bfjwfpphvtnwqiaqkihxoimthbkp/Build/Products/Debug-iphoneos/PilgrimApp.app/LaunchImage-Landscape~ipad.png".

/Users/borislariushin/Documents/Pilgrimapp/ios/ios/Images.xcassets:无法为其写入PNG数据启动图像集从LaunchImage.launchimage / 2048_1536-1.png到/Users/borislariushin/Library/Developer/Xcode/DerivedData/PilgrimApp-bfjwfpphvtnwqiaqkihxoimthbkp/Build/Products/Debug-iphoneos/PilgrimApp.app/LaunchImage-Landscape@ 2x~ipad.png。

/Users/borislariushin/Documents/Pilgrimapp/ios/ios/Images.xcassets: Failed to write PNG data for the launch image set from "LaunchImage.launchimage/2048_1536-1.png" to "/Users/borislariushin/Library/Developer/Xcode/DerivedData/PilgrimApp-bfjwfpphvtnwqiaqkihxoimthbkp/Build/Products/Debug-iphoneos/PilgrimApp.app/LaunchImage-Landscape@2x~ipad.png".

任何想法如何摆脱它们并成功编译项目。

Any ideas how can I get rid of them and successfully compile project.

推荐答案

您可以删除该调试文件夹,然后删除它ixed。

you can just remove that debug folder, then it fixed.

rm -r /Users/borislariushin/Library/Developer/Xcode/DerivedData/PilgrimApp-bfjwfpphvtnwqiaqkihxoimthbkp

这篇关于存档或构建运行时出现Images.xcassets错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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