在我的Xamarin Forms项目(适用于Mac的Visual Studio)中,当我切换到Release-Build时,出现以下错误:
错误:System.IO.FileNotFoundException:/Users/mklieber/Projekte/bosig-acoustic-app/App/App.iOS/obj/iPhone/Release/actool/bundle/AppIcon20x20@3x.png不存在>
输出:
new_f = f[keep_col].replace('\\n',' ')
这是AppIcon:
该图标存在(自上而下),将被复制到调试版本中:
在发行版中,该图标丢失:
这是我已经尝试过的:
关于这个问题有什么想法吗?
答案 0 :(得分:1)
我通过重新创建所有具有适当大小且非常重要的dpi为96的应用程序图标来解决了该问题。发生错误的原因似乎与图像的dpi一致,我的某些应用程序图标具有一个dpi为300。