0

我正在使用版本 11.3 (11C29)。我在运行 carthage bootstrap 命令时遇到了这个问题。让我知道是否有其他人面临同样的问题。

购物车文件:github“SwiftKit/Cuckoo”

Cartfile.resolved github "SwiftKit/Cuckoo" "1.3.0"

** 构建成功 **

/usr/bin/xcrun xcodebuild -project /Users/*****/Documents/Workspace/******/Carthage/Checkouts/Cuckoo/Cuckoo.xcodeproj -scheme Cuckoo+OCMock-iOS -configuration Release -derivedDataPath /Users/*****/Library/Caches/org.carthage.CarthageKit/DerivedData/11.3_11C29/Cuckoo/1.3.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders /82/_m5xwhxx4795wyxlhtw40ch509_hqq/T/Cuckoo SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO(在 /Users/*****/Documents/Workspace/******/Carthage/Checkouts/Cuckoo 启动)用户命令行的默认值:IDEArchivePathOverride = /var/folders/82/_m5xwhxx4795wyxlhtw40ch509_hqq/T/Cuckoo IDEDerivedDataPathOverride = /Users/*****/Library/Caches/org.carthage。CarthageKit/DerivedData/11.3_11C29/Cuckoo/1.3.0

从命令行构建设置:CARTHAGE = YES CLANG_ENABLE_CODE_COVERAGE = NO CODE_SIGN_IDENTITY = CODE_SIGNING_REQUIRED = NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO ONLY_ACTIVE_ARCH = NO SDKROOT = iphoneos13.2 SKIP_INSTALL = YES STRIP_INSTALLED_PRODUCT = NO

注意:使用新的构建系统 注意:规划构建 注意:构建构建描述错误:/Users/*****/Documents/Workspace/******/Carthage/Checkouts/Cuckoo/Pods/Target Support Files/Pods -Cuckoo+OCMock-iOS/Pods-Cuckoo+OCMock-iOS.release.xcconfig:无法打开文件(在项目“Cuckoo”的目标“Cuckoo+OCMock-iOS”中)(在目标“Cuckoo+OCMock-iOS”中项目'Cuckoo')错误:/Users/*****/Documents/Workspace/******/Carthage/Checkouts/Cuckoo/Pods/Target Support Files/Pods-Cuckoo+OCMock-iOS/Pods-Cuckoo +OCMock-iOS.release.xcconfig:无法打开文件(在项目“Cuckoo”的目标“Cuckoo+OCMock-iOS”中)(在项目“Cuckoo”的目标“Cuckoo+OCMock-iOS”中)错误:/Users/*****/Documents/Workspace/******/Carthage/Checkouts/Cuckoo/Pods/Target 支持文件/Pods-Cuckoo+OCMock-iOS/Pods-Cuckoo+OCMock-iOS.release。 xcconfig:无法打开文件(在项目“Cuckoo”的目标“Cuckoo+OCMock-iOS”中)(在项目“Cuckoo”的目标“Cuckoo+OCMock-iOS”中)

** 存档失败 **

4

1 回答 1

0

我已经解决了这个问题:

carthage update --no-build && pushd Carthage/Checkouts/Cuckoo/Cuckoo.xcodeproj/xcshareddata/xcschemes && find . ! -name "Cuckoo-iOS.xcscheme" ! -name "Cuckoo-macOS.xcscheme" -delete && popd && carthage build

我们需要运行上面的命令。

于 2020-01-17T08:51:27.057 回答