如何修复迦太基的依赖图包含一个循环?

How to fix Carthage the dependency graph contained a cycle?

我在项目中使用 Carthage

Cartfile 的内容:

#socket.io-client
github "socketio/socket.io-client-swift" ~> 13.1.0

Cartfile.resolved

的内容
github "daltoniam/Starscream" "3.0.5"
github "socketio/socket.io-client-swift" "v13.1.3"

当我运行carthage update --platform ios

I get the following output:
*** Fetching socket.io-client-swift
*** Fetching Starscream
*** Checking out socket.io-client-swift at "v13.1.3"
*** Checking out Starscream at "3.0.5"
*** xcodebuild output can be found in ...
The dependency graph contained a cycle:
socket.io-client-swift: Starscream
Starscream: zlib-spm, common-crypto-spm

我的迦太基版本是0.29.0

根据输出判断依赖项中没有循环

如何解决?

我终于通过删除 Carthage 文件夹并再次 运行 carthage update 再次构建它