2012年8月17日

非Objc文件(c, c++)引起的NSObjCRuntime错误

摘要: 非Objc文件(c, c++)引起的NSObjCRuntime错误 今天在objc工程中,导入一些c、c++文件时,,编译引起了NSObjCRuntime错误,,,仔细检查发现,原来是在SK_Prefix.pch中,定义了View Code 1 #ifdef __OBJC__2 #import <Foundation/Foundation.h>3 #import <UIKit/UIKit.h>4 #endif5 6 #import "Utils.h"7 #import "Constants.h"8 #import "SK 阅读全文

posted @ 2012-08-17 16:33 east520 阅读(1783) 评论(0) 推荐(0)

导航