【发布时间】:2012-02-24 09:05:11
【问题描述】:
今天升级到 xCode 4.3 后,由于以下构建错误,我无法构建或运行我的 3.2.5 项目之一:
CpResource Classes/../iTunesArtwork /Users/glen/Library/Developer/Xcode/DerivedData/Project-bfsepykuktirdfeuvqhjyyiuhqii/Build/Products/Debug-iphonesimulator/Project.app/iTunesArtwork cd /Users/glen/Dev/Project/trunk setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/ usr/sbin:/sbin" builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /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
错误:/Users/glen/Dev/Project/trunk/Classes/../iTunesArtwork:没有这样的文件或目录
互联网上有一个few mentions 表示此错误,其中大多数是指 Ad Hoc 构建并在构建后添加应用程序图标。
As suggested here,我尝试将 iTunesArtwork 作为资源添加到项目的顶层,为 512x512png,它会给出构建警告说明:
检查依赖关系
警告:输出文件 /Users/glen/Library/Developer/Xcode/DerivedData/Project-bfsepykuktirdfeuvqhjyyiuhqii/Build/Products/Debug-iphonesimulator/Project.app/iTunesArtwork 的多个构建命令
随后是早期失败错误。 我知道我必须以某种方式摆脱对 iTunesArtwork 的引用,但我不确定从哪里开始寻找或这个错误来自哪里。
我正在使用一个本地 svn 存储库,我从中导入了项目,我没有在 xCode 4 中使用它,这可能是问题的一部分,但我不确定。
我第一次尝试使用 iOS 5 SDK 进行构建。
【问题讨论】:
标签: ios cocoa-touch xcode4 itunesartwork