可能的重复项:
警告:复制捆绑资源构建阶段包含此目标的 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'.
我不明白,为什么会出现此错误?
更新:I解决了错误,但为什么显示呢?
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1
感谢建议
编译器警告(或错误(是 100% 准确的。
复制捆绑资源构建阶段包含此目标的 Info.plist 文件
您不小心将项目 Info.plist 文件添加到项目目标。
在左侧边栏中选择您的信息列表文件。打开右侧边栏中的文件检查器,然后删除"目标成员资格"部分中的复选标记。