存档或构建运行时出现Images.xcassets错误 [英] Images.xcassets bug upon Archive or Build for running
问题描述
在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屋!