如何使用最新的Xcode测试版与Carthage编译库?

Khe*_*dar 11 xcode carthage

我正在使用Xcode 8 Beta(8S128d)测试Swift 3,这导致我的Carthage构建的库与源代码库不兼容.

Module file was created by an older version of the compiler; rebuild 'SwiftValidator' and try again.

如何配置Carthage以便carthage update使用Beta编译器,而不是标准编译器?

Khe*_*dar 17

我将Beta移到了/ Applications中.

sudo xcode-select -s /Applications/Xcode-beta.app/ 设置用于测试的Xcode.

carthage update --platform iOS --no-use-binaries 为iOS构建库并阻止Carthage下载现有(但不兼容)的预编译二进制文件.