iOS:Cocoapods报错问题集锦
2017-03-13 10:09
330 查看
NO.1
项目中有多个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了。
NO.2
[!] Unable to accept duplicate entry for: XXXXX (0.0.1)
意思是:不能接受同一版本重复提交。
NO.3
The validator for Swift projects uses Swift 3.0 by default, if you are using a different version of swift you can use a `.swift-version` file to set the version for your Pod. For example to use Swift 2.3, run: `echo "2.3" > .swift-version`.
swift版本不对,终端执行以下即可:
echo "3.0" > .swift-version
待续!!!
相关文章推荐
- 【IOS学习】之二、虚拟机MAC Lion 10.7 下问题集锦和xcode的安装
- iOS调试问题集锦
- iOS 开发之使用CocoaPods更新第三方出现“HEADER_SEARCH_PATHS `OTHER_LDFLAGS`……”问题解决方案
- IOS 问题集锦
- IOS开发中遇到的各种问题以及解决方案集锦
- iOS开发的一个问题集锦
- iOS开发之使用CocoaPods更新第三方出现“target overrides the `OTHER_LDFLAGS`……”问题解决方案
- iOS:项目中疑难Crash问题集锦
- IOS开发学习笔记之问题集锦解决方案
- iOS问题集锦
- iOS开发中常见问题集锦
- iOS 开发问题集锦(三)
- iOS 开发问题集锦(二)
- iOS开发之使用CocoaPods更新第三方出现“target overrides the `OTHER_LDFLAGS`……”问题解决方案
- ios不会的几个问题集锦
- IOS基础问题集锦
- iOS 开发问题集锦(一)
- ios 开发问题集锦 三
- [操作系统]iOS开发之使用CocoaPods更新第三方出现“target overrides the `OTHER_LDFLAGS`……”问题解决方案
- IOS--错误集锦--切换wifi后模拟器不能联网的问题