我在项目中使用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
根据输出判断依赖项中没有循环
如何解决这个问题?
答案 0 :(得分:5)
我终于通过简单地删除Carthage文件夹并再次运行carthage update
来重新构建