xcode - carthage build failed for realm-cocoa - 任务失败,退出代码为 65:
问题描述
我知道以前有人问过这个问题,但是那里提供的解决方案都不适合我。
我已经克隆了 nextcloud-ios 应用程序,其中的依赖项由 carthage 管理。当我尝试构建领域可可依赖项时,carthage build realm-cocoa --platform ios --no-use-binaries --cache-builds
我收到构建失败消息:
*** No cache found for realm-cocoa, building with all downstream dependencies
*** xcodebuild output can be found in /var/folders/60/rmt9jlwd01l3h3srvjnx7r7w0000gn/T/carthage-xcodebuild.u6zLJP.log
*** Building scheme "Realm" in Realm.xcworkspace
*** Building scheme "RealmSwift" in Realm.xcworkspace
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Users/manishkungwani/repos/brilcloud-ios/Carthage/Checkouts/realm-cocoa/Carthage/Realm.xcworkspace -scheme RealmSwift -configuration Release -derivedDataPath /Users/manishkungwani/Library/Caches/org.carthage.CarthageKit/DerivedData/10.3_10G8/realm-cocoa/v3.13.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/60/rmt9jlwd01l3h3srvjnx7r7w0000gn/T/realm-cocoa SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/manishkungwani/repos/brilcloud-ios/Carthage/Checkouts/realm-cocoa)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/60/rmt9jlwd01l3h3srvjnx7r7w0000gn/T/carthage-xcodebuild.u6zLJP.log
我的系统上有两个版本的 xcode:11.4 和 10.3,并尝试了所有可能的解决方案,例如将命令行工具切换到 xcode 10.3,但没有运气。请帮忙。
解决方案
推荐阅读
- python - 在 Python 中逐行读取一个大文件,同时写入另一个大文件
- c++ - 找不到匹配的重载函数错误
- python - 没有完整 json 文件的 Google Cloud 服务帐户身份验证
- javascript - 使 div 中的图像占用始终相同的空间
- angular - 使用正则表达式过滤离子段
- random-forest - 关于运行其预先构建的随机森林算法的 Sagemaker 验证错误
- android - java.lang.ClassCastException: android.support.v7.widget.SearchView 不能转换为 android.view.MenuItem
- javascript - 如何将 RateYo 添加到 Django 项目
- actions-on-google - 在 Cloud Firestore 中读取字符串时不断出现“未定义”
- javascript - 为什么 Javascript 的 Splice 功能不起作用?