简体   繁体   English

.PNG未复制到设备捆绑包

[英].PNG not copying to device bundle

I've been stuck with a huge problem for a few days now and it is very frustrating. 几天来,我一直遇到一个巨大的问题,这非常令人沮丧。 Everything was working perfectly until I messed around with target settings/provisioning a few days ago. 一切工作都很好,直到几天前我搞砸了目标设置/设置。 Essentially no images are being copied from the project to be included in the app bundle. 基本上,没有从项目复制任何图像以包含在应用程序捆绑包中。 I have: 我有:

  1. Double checked their case consistency 仔细检查它们的大小写一致性
  2. Made sure they are all included in copy resource bundle section of build phases 确保它们全部都包含在构建阶段的复制资源束部分中
  3. Performed multiple cleans and manual clean outs of the derived data folder 对派生数据文件夹执行多次清理和手动清理

And the images appear fine in the simulator. 并且图像在模拟器中看起来很好。

I really don't know where else to turn or what else to try. 我真的不知道该去哪里或尝试什么。 Any help in solving this would be HUGELY appreciate as I am trying to release an update for an app but am unable to do so before getting this fixed. 在解决此问题方面的任何帮助将不胜感激,因为我正在尝试发布应用程序的更新,但在修复此问题之前无法这样做。 ALso it is worth mentioning ever since this problem started occuring it happens in all of my xcode projects. 同样,值得一提的是,自从这个问题开始出现以来,它就发生在我所有的xcode项目中。

Check the build log. 检查构建日志。 It's in the "Log Navigator" tab (press command-7). 在“日志浏览器”选项卡中(按Command-7)。 The build log graphically shows the results of the build steps. 构建日志以图形方式显示了构建步骤的结果。

Check the path of the individual "CopyPNGFile" steps. 检查各个“ CopyPNGFile”步骤的路径。 You can also open the textual log by clicking the far right button in each build step. 您还可以通过在每个构建步骤中单击最右侧的按钮来打开文本日志。

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

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