为什么xcode会给我这些建筑警告和错误?

时间:2011-07-14 13:09:18

标签: xcode build warnings

我创建了一个按下按钮播放声音的应用程序,它最初工作正常。我不确定发生了什么,我删除了其中一个文件,现在xcode一直在给我一个警告,引用一个文件Not found。我删除并重新创建了该文件,使用该文件注释掉了代码,并清除但是构建但似乎没有任何工作。我是xcode和app开发的新手。这是我一直在犯的错误:

检查依赖关系

[WARN]Warning: Multiple build commands for output file /Users/adrienneiverson/Library/Developer/Xcode/DerivedData/SpeakUp1-aoakahingahxuwfhopwfckqlxewc/Build/Products/Debug-iphonesimulator/SpeakUp1.app/Bye.mp3

Warning: Multiple build commands for output file /Users/adrienneiverson/Library/Developer/Xcode/DerivedData/SpeakUp1-aoakahingahxuwfhopwfckqlxewc/Build/Products/Debug-iphonesimulator/SpeakUp1.app/Bye.mp3

CpResource ../../Sounds/Mp3/Bye.mp3 /Users/adrienneiverson/Library/Developer/Xcode/DerivedData/SpeakUp1-aoakahingahxuwfhopwfckqlxewc/Build/Products/Debug-iphonesimulator/SpeakUp1.app/Bye.mp3
    cd "/Users/adrienneiverson/Desktop/SURE PROGRAM 2011 - GA TECH/SpeakUp1"
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -resolve-src-symlinks "/Users/adrienneiverson/Desktop/SURE PROGRAM 2011 - GA TECH/SpeakUp1/../../Sounds/Mp3/Bye.mp3" /Users/adrienneiverson/Library/Developer/Xcode/DerivedData/SpeakUp1-aoakahingahxuwfhopwfckqlxewc/Build/Products/Debug-iphonesimulator/SpeakUp1.app

error: /Users/adrienneiverson/Desktop/SURE PROGRAM 2011 - GA TECH/SpeakUp1/../../Sounds/Mp3/Bye.mp3: No such file or directory

error: /Users/adrienneiverson/Desktop/SURE PROGRAM 2011 - GA TECH/SpeakUp1/../../Sounds/Mp3/Bye.mp3: No such file or directory

我不知道他们正在谈论的是多个构建命令,并且该文件位于他们所说的不在的目录中......我迷失了......

1 个答案:

答案 0 :(得分:0)

您是否清除了构建文件夹?

或者你的意思是I've deleted and recreated the file, commented out the code using the file, and cleared but build but nothing seems to be working.

Tjeu