我在安装Realm时遇到了一个奇怪的错误,我的Xcode版本是8,cocoa pods版本是cocoapods-1.2.0。
错误信息如下:
Installing Realm (2.4.3) [!] /bin/bash -c set -e sh build.sh cocoapods-setup ./scripts/swift-version.sh: line 59: [: =: unary operator expected No version of Xcode found that supports Swift 3.0.2
其他所有的pods都可以正常工作。
谢谢您的帮助。
错误信息如下:
Installing Realm (2.4.3) [!] /bin/bash -c set -e sh build.sh cocoapods-setup ./scripts/swift-version.sh: line 59: [: =: unary operator expected No version of Xcode found that supports Swift 3.0.2
其他所有的pods都可以正常工作。
谢谢您的帮助。