1

我正在尝试运行以下命令

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:
4

1 回答 1

0

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

于 2019-07-31T17:07:17.713 回答