在 xcode 15 上运行应用程序时出现错误 - 'ERR_OSSL_EVP_UNSUPPORTED'

问题描述 投票:0回答:1

我正在尝试在 xcode 15 上运行我的应用程序,但在地铁终点站出现以下错误 -

Failed to construct transformer:  Error: error:0308010C:digital envelope routines::unsupported
{
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

在 xcode 中也出现此错误 -

rsync: link_stat "/Users/____/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/App.framework" failed: No such file or directory (2)

我使用的是pod版本1.13.0,node版本16.20.0

node.js flutter xcode react-native cocoapods
1个回答
0
投票

我可以针对这个问题提出两种解决方案:

解决方案1:

使用最新版本的 Node.js,并使用带有安全修复程序的最新包。

对于很多人来说,以下命令可以解决问题:

npm audit fix --force

解决方案2:

在您的package.json中:更改此行

对于造成的混乱,我深表歉意。在 Stack Overflow 上,您可以使用三个反引号来创建具有语法突出显示的代码块。然而,JSON 通常不会突出显示。对于您的具体要求,您可以将其格式化如下:

"start": "react-scripts start"

"start": "react-scripts --openssl-legacy-provider start"
© www.soinside.com 2019 - 2024. All rights reserved.