ちょっと前からWarning 出ていたんだけど、AppCodeをバージョンアップしたら、
Error:(10, 8) module compiled with Swift 4.0.3 cannot be imported in Swift 4.1: /$HOME/”pathToproject”/Carthage/Build/Mac/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule
なるエラーでビルドエラーに。
まずは、Carthageそのものをアップグレード
% brew upgrade Carthage
そして、使っているライブラリをアップグレード
% carthage update –no-use-binaries
まだ、Swift4.1対応のバイナリは置いていないと思うので、ビルドが掛かる。(ので、少し待つ必要あり)
“–no-use-binaries”をつけないとエラーは解消されませんでした。(当たり前・・・)