今天升级到xCode 4.3之后,由于以下构建错误,我无法构建或运行3.2.5项目中的一个:
/Users/glen/Library/Developer/Xcode/DerivedData/Project-bfsepykuktirdfeuvqhjyyiuhqii/Build/Products/Debug-iphonesimulator/Project.app/iTunesArtwork类/./iTunesArtwork "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin“cd /User/glen/Dev/ CpResource /主干setenv路径”/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin“内置复制-exclude。/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/glen/Dev/Project/trunk/Classes/../iTunesArtwork /Users/glen/Library/Developer/Xcode/DerivedData/Project-bfsepykuktirdfeuvqhjyyiuhqii/Build/Products/Debug-iphonesimulator/Project.app DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg解析-src-符号链接-条带工具 /Users/glen/Dev/Project/trunk/Classes/../iTunesArtwork:错误:没有这样的文件或目录
这个错误在互联网上有一个很少有人提到,大多数是指Ad构建和在构建后添加应用程序图标。
正如这里所建议的,我尝试将iTunesArtwork作为资源添加到项目的顶层,作为一个512x512png,这会给出一个构建警告,声明:
检查依赖项 警告:输出文件/Users/glen/Library/Developer/Xcode/DerivedData/Project-bfsepykuktirdfeuvqhjyyiuhqii/Build/Products/Debug-iphonesimulator/Project.app/iTunesArtwork的多个生成命令
其次是早期的故障错误。我知道我必须以某种方式消除对iTunesArtwork的引用,但我不知道从哪里开始查找,也不知道这个错误是从哪里产生的。
我正在使用一个本地svn存储库,我从其中导入了这个项目,我还没有在xCode 4中使用它,这可能是问题的一部分,但我不确定。
我第一次尝试使用iOS 5 SDK进行构建。
发布于 2012-02-24 23:27:14
解决了。
问题是有些文件,包括iTunesArtwork,没有正确地从存储库中找到。我找到了对这些文件的引用并删除了它们,并成功地构建了它们。
https://stackoverflow.com/questions/9428039
复制相似问题