Xcode编译出错解决方案

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即可

Xcode编译出错解决方案_第1张图片
图片.png

你可能感兴趣的:(Xcode编译出错解决方案)