ios - Carthage 更新失败,“Alamofire.framework”无法打开,因为没有这样的文件 Xcode12GM
问题描述
我尝试使用 Xcode 12 12A7209 构建运行 carthage update Carthage,但出现以下错误。(也尝试了https://github.com/Carthage/Carthage/issues/3019#issuecomment-665136323)。有谁知道如何解决它?我已将构建系统设置为旧版构建。
无法写入 /Users/userName/projectName/Carthage/Build/iOS/Alamofire.framework:错误域 = NSCocoaErrorDomain 代码 = 260 “无法打开文件“Alamofire.framework”,因为没有这样的文件。” UserInfo={NSURL=file:///Users/userName/projectName/Carthage/Checkouts/Alamofire/build/ArchiveIntermediates/Alamofire%20iOS/BuildProductsPath/Release-iphoneos/Alamofire.framework, NSFilePath=/Users/userName/projectName/Carthage /Checkouts/Alamofire/build/ArchiveIntermediates/Alamofire iOS/BuildProductsPath/Release-iphoneos/Alamofire.framework,NSUnderlyingError=0x7fc056c8d290 {Error Domain=NSPOSIXErrorDomain Code=2“没有这样的文件或目录”}}
顺便说一句,没有这样的路径“.../ArchiveIntermediates/Alamofire%20iOS/BuildProductsPath/Release-iphoneos/..”,我该如何更正这条路径?非常感谢。
解决方案
Carthage 的 Xcode 12 存在众所周知的问题。您应该继续使用 Xcode 11.7,直到他们发布修复程序或切换到不同的依赖项管理器。
推荐阅读
- r - 将 dplyr summarise_if() 与谓词一起使用
- xamarin - 如何在 MvvmCross for iOS 中结合多个可见性属性绑定(流利)?
- java - 使用 PKCS12 证书的 REST 调用 - 无法找到请求目标的有效证书路径
- wireshark - 为远程捕获打开的端口
- selenium - C# Selenium WebDriver 挂在同一页面上
- c# - IBM Watson Unity 3D 文本到语音无法正常工作
- javascript - HTML5的加密模块到RSA公共加密
- php - php,在请求中将字符串日期转换为日期时间
- vue.js - 在Vue JS中获取孩子在其父母中的位置
- python - 无法在 pycharm 中安装 fbprophet