iPhone构建编程

Adn*_*nan 0 objective-c ios xcode4.2

可能重复:
警告:复制包资源构建阶段包含此目标的Info.plist文件

程序中没有构建问题.但是,当我尝试在模拟器上运行时,它显示两个错误.

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'CalCulator/CalCulator-Info.plist'.
Run Code Online (Sandbox Code Playgroud)

我不明白,为什么会出现这种错误?

更新:我解决了错误.但为什么会显示?

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1
Run Code Online (Sandbox Code Playgroud)

谢谢你的建议

Mat*_*uch 5

编译器警告(或错误)是100%准确的.

Copy Bundle Resources构建阶段包含此目标的Info.plist文件

您不小心将项目Info.plist文件添加到项目目标中.

在左侧边栏中选择您的Info.plist文件.打开右侧边栏中的文件检查器,然后删除"目标成员资格"部分中的复选标记.