项目中有多个target,运行pod install,出现以下问题:
[!] The `xxx [Release]` target overrides the `GCC_PREPROCESSOR_DEFINITIONS` build setting defined in `Pods/Target Support Files/Pods-xxx/Pods-xxx.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target.解决方法:Targets–>Build Settings–>Preprocessor Macros,加上$(inherited),然后重新pod install就OK了。
意思是:不能接受同一版本重复提交。
swift版本不对,终端执行以下即可:
echo "3.0" > .swift-version待续!!!