美文网首页
undefined symbols for architectu

undefined symbols for architectu

作者: irelia_TT | 来源:发表于2018-08-21 10:30 被阅读20次

IOS  加入C文件报错:

在PCH文件中加入下列代码,把#import引入的文件都放到其中

#ifdef __OBJC__

#import "UIView+XMframe.h"

#import "UIColor+Hex.h"

#endif

undefined symbols for architecture arm64 错误,修改build settings->Enable Testability选项为NO,而在Xcode7中该值默认为NO,XCode8,9中该值默认为YES,所以导致了出错。

相关文章

网友评论

      本文标题:undefined symbols for architectu

      本文链接:https://www.haomeiwen.com/subject/dssdiftx.html