美文网首页
pod Undefined symbols for archit

pod Undefined symbols for archit

作者: liyoro | 来源:发表于2016-06-23 15:45 被阅读553次

使用pod时,一直使用iphone5模拟器编译工程。偶然换成iphone5s、iphone6编译工程,会报pod Undefined symbols for architecture x86_64类似这样的错误,这是因为pod编译后的缓存没变更,无论怎么编辑ArchitecturesValid Architectures,都会编译失败。
解决方法如下:

显示:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false

去目录

/Users/liyoro/Library/Developer/Xcode/DerivedData

删除如你工程名字类似的文件夹,重新编译即可。

kpCLm.jpg

相关文章

网友评论

      本文标题:pod Undefined symbols for archit

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