objective-c - iPhone构建编程

标签 objective-c ios xcode4.2

<分区>

Possible Duplicate:
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file

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

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'.

我不明白,为什么会显示此错误?

更新:我解决了错误。但是为什么会出现这个错误?

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

多谢指教

最佳答案

编译器警告(或错误)100% 准确。

The Copy Bundle Resources build phase contains this target's Info.plist file

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

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

关于objective-c - iPhone构建编程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8657269/

上一篇:iphone - NSMutableArray 和 removeobjectsatindex

下一篇:iphone - 一周后根据第一个字段中输入的日期自动显示第二个字段中的日期

相关文章:

ios - iOS Objective-C 中 Singleton 类和 AppDelegate 类的关系

objective-c - 无法将文件内容从 .plist 文件获取到数组中

ios - 尝试模拟 Ionic 制作的 iOS 应用程序时出现 ENOENT 错误

iphone - 检测错误和解决方案 - Xcode 4.2 - Instrument [内存泄漏]

iphone - 数据源方法在 iOS 4.3 中不调用,但在 iOS 5 及更高版本中工作

ios - UIScrollView "out of frame"触摸区域无响应

ios - 使用 NSMutableArray 将图像设置为多个 UIImageView

iphone - 登录到 facebook 错误

ios - 检测主线程何时被锁定/繁忙(IOS)

c++ - 如何删除 ld : duplicate symbol _ in xcode 4. 2(C++ 代码)