今日博主使用了环信的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";
编译程序,成功解决警告:
如下: