Ios 在Xcode 11和Swift 5中更新迦太基时出错

Ios 在Xcode 11和Swift 5中更新迦太基时出错,ios,xcode11,swift5,carthage,contentful,Ios,Xcode11,Swift5,Carthage,Contentful,我正在尝试将我的项目从Xcode 10.2(Swift 4.2)升级到Xcode 11(Swift 5)。但我在迦太基升级时遇到如下错误:(它专门针对contentful.swiftframework) 错误: *** Fetching contentful.swift A shell task (/usr/bin/env git fetch --prune --quiet https://github.com/contentful/contentful.swift.git refs/tags/

我正在尝试将我的项目从Xcode 10.2(Swift 4.2)升级到Xcode 11(Swift 5)。但我在迦太基升级时遇到如下错误:(它专门针对
contentful.swift
framework)

错误:

*** Fetching contentful.swift
A shell task (/usr/bin/env git fetch --prune --quiet https://github.com/contentful/contentful.swift.git refs/tags/*:refs/tags/* +refs/heads/*:refs/heads/* (launched in /Users/My_Name/Library/Caches/org.carthage.CarthageKit/dependencies/contentful.swift)) failed with exit code 1
有人能帮我找出我做错的地方吗

我甚至还尝试导入
contentful.swift
的构建框架,但仍然在Xcode中遇到了不同的错误


我无法在Xcode 11中运行我的项目。它正在Xcode 10.2中成功构建。

您可能需要清理您的迦太基缓存,它位于
~/Library/Caches/org.carthage.CarthageKit
中。删除该文件夹,然后再次尝试运行carthage。您可能需要清除您的carthage缓存,它位于
~/Library/Caches/org.carthage.CarthageKit
中。删除该文件夹,然后再次尝试运行carthage。
*** Fetching contentful.swift
A shell task (/usr/bin/env git fetch --prune --quiet https://github.com/contentful/contentful.swift.git refs/tags/*:refs/tags/* +refs/heads/*:refs/heads/* (launched in /Users/My_Name/Library/Caches/org.carthage.CarthageKit/dependencies/contentful.swift)) failed with exit code 1