- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在尝试为 Firebase Auth 运行基本的 Flutter 演示时,遇到了这个错误输出:
error: use of undeclared identifier
'SSL_get_secure_renegotiation_support'; did you mean 'GRPC_SHADOW_SSL_get_secure_renegotiation_support'?
!(SSL_get_secure_renegotiation_support(ssl) &&
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GRPC_SHADOW_SSL_get_secure_renegotiation_support
我采取的步骤,但仍然是同样的错误:
flutter clean
flutter build ios
pod update
步骤进行操作:https://stackoverflow.com/a/59073131/2162226 完整的错误输出:
Running pod install... 20.8s
Running Xcode build...
(This is taking an unexpectedly lon
Xcode build done. 346.8s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/gene/git/flutter_wifi/ios/Pods/BoringSSL-GRPC/src/ssl/t1_lib.cc:3319:9: error: use of undeclared identifier
'SSL_get_secure_renegotiation_support'; did you mean 'GRPC_SHADOW_SSL_get_secure_renegotiation_support'?
!(SSL_get_secure_renegotiation_support(ssl) &&
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GRPC_SHADOW_SSL_get_secure_renegotiation_support
In file included from /Users/gene/git/flutter_wifi/ios/Pods/BoringSSL-GRPC/src/ssl/t1_lib.cc:109:
/Users/gene/git/flutter_wifi/ios/Pods/BoringSSL-GRPC/src/include/openssl/ssl.h:4662:5: note: expanded from macro
'SSL_get_secure_renegotiation_support'
SSL_get_secure_renegotiation_support
^
/Users/gene/git/flutter_wifi/ios/Pods/BoringSSL-GRPC/src/include/openssl/ssl.h:1590:20: note:
'GRPC_SHADOW_SSL_get_secure_renegotiation_support' declared here
OPENSSL_EXPORT int SSL_get_secure_renegotiation_support(const SSL *ssl);
^
In file included from <built-in>:1:
/Users/gene/git/flutter_wifi/ios/Pods/Target Support Files/BoringSSL-GRPC/BoringSSL-GRPC-prefix.pch:2489:46: note:
expanded from macro 'SSL_get_secure_renegotiation_support'
#define SSL_get_secure_renegotiation_support GRPC_SHADOW_SSL_get_secure_renegotiation_support
最佳答案
运行这组命令,其中 pod
命令从 <flutterProject>\ios
运行:
rm -rf ~/Library/Developer/Xcode/DerivedData/
rm -rf ~/Library/Caches/CocoaPods/
pod deintegrate
pod update
感谢帖子:https://stackoverflow.com/a/63997424/2162226
执行此操作后,然后运行 flutter build ios
, OP 中描述的错误不会发生。
另一个增量 - 虽然不确定是否相关,但这些更改正在应用于 SSD 驱动器,自 OP 以来从标准硬盘驱动器升级。
请注意屏幕截图中的 pod 更新包括此行 Installing BoringSSL-GRPC (0.0.7)
,我想知道这是否实际上解决了问题。
关于ios - Flutter 构建 iOS - BoringSSL-GRPC/,未声明 'SSL_get_secure_renegotiation_support'; 'GRPC_SHADOW_SSL_get_secure_renegotiation_support' ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64055145/
在安装 pod“Firebase/Firestore”后构建应用时出现错误。 我使用的是 Xcode 11.2.1、cocoapods 版本 1.8.4 和 macOS 10.15.1 这是Podfi
在尝试为 Firebase Auth 运行基本的 Flutter 演示时,遇到了这个错误输出: error: use of undeclared identifier 'SSL_get_secure_
我是一名优秀的程序员,十分优秀!