您的位置:首页 > 移动开发 > Objective-C

warning: Could not resolve external type c:objc(cs

2016-04-14 00:00 519 查看
摘要: 使用环信SDK,xcode出现了许多warning: Could not resolve external type c:objc(cs)NSObject警告,设置属性,快速消除警告.

今日博主使用了环信的SDK在xcode7.1上进行APP开发,但是在配置好SDK之后,出现了如下情况:

warning: Could not resolve external type c:objc(cs)NSString

warning: Could not resolve external type c:objc(cs)NSObject

warning: Could not resolve external type c:objc(cs)NSArray

warning: Could not resolve external type c:objc(cs)NSBundle



对于这个我问题我查阅了好多文章,终于找了解决方法.下面将解决方法告诉大家:

选中工程;

选中TARGETS的BuildSettings

在搜索框中输入:Debug Information Format

将Debug Information Format的选项由"DWARF with dSYM File"改为"DWARF";

编译程序,成功解决警告:

如下:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息