美文网首页
Xcode编译出错解决方案

Xcode编译出错解决方案

作者: alige | 来源:发表于2017-02-14 15:09 被阅读45次

1.LaunchServicesError error 0.

原因:一直好好的运行,突然就出现这个错误,说明在最近的步骤中设置了什么东西,原因比较复杂,这篇讲得比较好:http://stackoverflow.com/questions/25632886/an-error-was-encountered-while-running-domain-launchserviceserror-code-0
解决方法:cmd+shift+Alt+K 清理下缓存就可以了

2,target overrides the OTHER_SWIFT_FLAGS build setting defined in `Pods/Target Support Files/Pods-Weibo/Pods-Weibo.debug.xcconfig'. This can lead to problems with the CocoaPods installation

解决方法:build settings->other swift flags->将原先的删掉,加上$(inherited),然后pod install即可

图片.png

相关文章

网友评论

      本文标题:Xcode编译出错解决方案

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