MonoGame的iOS项目模板报 obj/iPhone/Debug/optimized/Default.png does not exist File name错误解决办法
MonoGame的iOS项目模板新建以后无法直接编译运行,会报错误。
Error 34 System.IO.FileNotFoundException: /Users/chengcong/Library/Caches/Xamarin/mtbs/builds/projectname/147c284f10746cbcef712c16a08b916b/obj/iPhone/Debug/optimized/Default.png does not exist File name: '/Users/user1/Library/Caches/Xamarin/mtbs/builds/projectname/147c284f10746cbcef712c16a08b916b/obj/iPhone/Debug/optimized/Default.png' at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, Boolean overwrite) <0x19ff750 + 0x00333> in <filename unknown>:0 at Xamarin.MacDev.Tasks.SmartCopyTaskBase.CopyFile (System.String source, System.String target, System.String targetItemSpec) <0x423e950 + 0x000c7> in <filename unknown>:0 at Xamarin.MacDev.Tasks.SmartCopyTaskBase.Execute () <0x423d910 + 0x00227> in <filename unknown>:0 projectname
解决办法很简单删除Default.png和GameThumbnail.png两个文件即可