carthage bootstrap给出解析错误

时间:2016-07-06 20:17:20

标签: carthage

我试图运行以下命令

carthage bootstrap --platform iOS --no-use-binaries

但是这个过程总是失败,解析错误并没有给我很多信息。我不确定从哪里开始,因为错误并没有提供太多信息。以下是完整输出。

*** Checking out Agrume at "78c2876f6d76cf706f55e42a1ca23154c67d174b"
*** Checking out Alamofire at "3.4.1"
*** Checking out Async at "1.7.2"
*** Checking out aws-sdk-ios at "2.4.5"
*** Checking out BRYXBanner at "0.6.0"
*** Checking out CHTCollectionViewWaterfallLayout at "fcea9e89faa984e1eb59c9f691c258f6f8004290"
*** Checking out CryptoSwift at "0.5.1"
*** Checking out css-layout at "dd8e5cd65d13a7da52502549cd8e514a345c5d23"
*** Checking out Decodable at "v0.4.3"
*** Checking out FormatterKit at "2ea246ae4573538886ffb946d70d141583443734"
*** Checking out Gifu at "v1.2.1"
*** Checking out HanekeSwift at "v0.10.1"
*** Checking out Infinity at "1.0.5"
*** Checking out JLRoutes at "1.6"
*** Checking out KMNavigationBarTransition at "065d635991674a3c1a03de3ccb9d0ee05b7aff65"
*** Checking out Locksmith at "2.0.8"
*** Checking out MTBBarcodeScanner at "2.0.2"
*** Checking out Permission at "v1.5"
*** Checking out PocketSVG at "0.7"
*** Checking out Result at "2.1.2"
*** Checking out ReactiveCocoa at "v4.2.1"
*** Checking out RxSwift at "2.6.0"
*** Checking out Moya at "6.5.0"
*** Checking out SwiftSVG at "v1.1.5"
*** Checking out SwiftyUserDefaults at "2.2.0"
*** Checking out Tactile at "v1.2.2"
Parse error: expected submodule commit SHA in output of task (ls-tree -z v1.2.1 Carthage/Checkouts/Runes) but encountered:

1 个答案:

答案 0 :(得分:0)

我在项目中遇到了同样的问题。对我来说,当我从.gitmodules文件中删除与错误库关联的行时,它起作用了。