我尝试为一个新的iOS项目设置依赖项。我想用迦太基来解决这个问题。
我在项目的根目录下设置了一个Cartfile
github "Alamofire/Alamofire" >= 1.2
github "SwiftyJSON/SwiftyJSON" >= 2.2然后运行carthage更新,得到这个错误:
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我试着环顾四周,但我找不到任何类似于此错误的东西。
我尝试卸载并重新安装迦太基(使用自制软件),但没有任何变化。
发布于 2015-05-14 03:56:28
我在这里找到了解决方案:
https://github.com/Carthage/Carthage/issues/330
步骤:
sudo rm -rf /Library/Frameworks/CarthageKit.framework
rm -f /usr/local/bin/carthage
brew uninstall carthage
brew install carthagehttps://stackoverflow.com/questions/30223981
复制相似问题