我试图为一个新的 iOS 项目设置我的依赖项。我想为此使用迦太基。
我在项目的根目录中设置了一个 Cartfile
github "Alamofire/Alamofire" >= 1.2
github "SwiftyJSON/SwiftyJSON" >= 2.2
然后运行 carthage update,得到这个错误:
dyld: Symbol not found: __TMdVSs9Character
Referenced from: /usr/local/Cellar/carthage/0.7.3/bin/../Frameworks/CarthageKit.framework/Versions/Current/Frameworks//PrettyColors.framework/PrettyColors
Expected in: /Library/Frameworks/CarthageKit.framework/Versions/Current/Frameworks/libswiftCore.dylib
in /usr/local/Cellar/carthage/0.7.3/bin/../Frameworks/CarthageKit.framework/Versions/Current/Frameworks//PrettyColors.framework/PrettyColors
Trace/BPT trap: 5
我试着环顾四周,但我找不到任何看起来像这个错误的东西。
我尝试卸载并重新安装 carthage(使用自制软件),但没有任何改变。