在 iOS React Native 上将 OpenSSL-Universal 1.1.1100 升级到 1.1.2300

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

我需要在 iOS React Native 上将 OpenSSL-Universal 1.1.1100 升级到 1.1.2300。

这是我的 pod 安装日志

Installing BEMCheckBox (1.4.1)
Installing BVLinearGradient (2.8.2)
Installing CocoaAsyncSocket (7.6.5)
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.72.7)
Installing FBReactNativeSpec (0.72.7)
Installing Firebase (10.27.0)
Installing FirebaseCore (10.27.0)
Installing FirebaseCoreInternal (10.28.0)
Installing FirebaseDynamicLinks (10.27.0)
Installing Flipper (0.182.0)
Installing Flipper-Boost-iOSX (1.76.0.1.11)
Installing Flipper-DoubleConversion (3.2.0.1)
Installing Flipper-Fmt (7.1.7)
Installing Flipper-Folly (2.6.10)
Installing Flipper-Glog (0.5.0.5)
Installing Flipper-PeerTalk (0.0.4)
Installing FlipperKit (0.182.0)
Installing GoogleUtilities (7.13.3)
Installing OpenSSL-Universal (1.1.1100)
Installing PromisesObjC (2.4.0)
Installing RCT-Folly (2021.07.22.00)
Installing RCTRequired (0.72.7)
Installing RCTTypeSafety (0.72.7)
Installing RNCAsyncStorage (1.19.2)
Installing RNCCheckbox (0.5.16)
Installing RNCClipboard (1.11.2)
Installing RNDeviceInfo (10.13.2)
Installing RNFBApp (20.1.0)
Installing RNFBDynamicLinks (20.1.0)
Installing RNGestureHandler (2.13.4)
Installing RNKeychain (8.1.2)
Installing RNLocalize (2.2.6)
Installing RNNotifee (7.8.2)
Installing RNPermissions (4.1.5)
Installing RNSVG (13.11.0)
Installing RNScreens (3.24.0)
Installing RNScreenshotPrevent (1.1.7)
Installing RNSentry (5.22.2)
Installing React (0.72.7)
Installing React-Codegen (0.72.7)
Installing React-Core (0.72.7)
Installing React-CoreModules (0.72.7)
Installing React-NativeModulesApple (0.72.7)
Installing React-RCTActionSheet (0.72.7)
Installing React-RCTAnimation (0.72.7)
Installing React-RCTAppDelegate (0.72.7)
Installing React-RCTBlob (0.72.7)
Installing React-RCTImage (0.72.7)
Installing React-RCTLinking (0.72.7)
Installing React-RCTNetwork (0.72.7)
Installing React-RCTSettings (0.72.7)
Installing React-RCTText (0.72.7)
Installing React-RCTVibration (0.72.7)
Installing React-callinvoker (0.72.7)
Installing React-cxxreact (0.72.7)
Installing React-debug (0.72.7)
Installing React-hermes (0.72.7)
Installing React-jsi (0.72.7)
Installing React-jsiexecutor (0.72.7)
Installing React-jsinspector (0.72.7)
Installing React-logger (0.72.7)
Installing React-perflogger (0.72.7)
Installing React-rncore (0.72.7)
Installing React-runtimeexecutor (0.72.7)
Installing React-runtimescheduler (0.72.7)
Installing React-utils (0.72.7)
Installing ReactCommon (0.72.7)
Installing Sentry (8.25.0)
Installing SocketRocket (0.6.1)
Installing TouchID (4.4.1)
Installing VisionCamera (3.8.2)
Installing Yoga (1.14.0)
Installing YogaKit (1.18.1)
Installing boost (1.76.0)
Installing fmt (6.2.1)
Installing glog (0.3.5)
Installing hermes-engine (0.72.7)
Installing libevent (2.1.12)
Installing react-native-biometrics (3.0.1)
Installing react-native-blur (4.3.2)
Installing react-native-get-random-values (1.9.0)
Installing react-native-quick-crypto (0.7.0-rc.10)
Installing react-native-render-html (6.3.4)
Installing react-native-restart (0.0.27)
Installing react-native-safe-area-context (4.7.1)
Installing react-native-splash-screen (3.3.0)
Installing react-native-webview (11.26.1)

无论我做什么,它似乎总是安装 1.1.1100。

有什么想法吗?

ios react-native openssl
1个回答
0
投票

所以,在敲了几个小时的头之后,我终于解决了这个问题。 故事是这样的,现在有必要这些 SDK 列表 应该有一个隐私清单,是的!它应该包含在 SDK 本身中,您不能将其添加到您的应用程序级别。

由于许多 React Native 应用程序都使用 Flipper,因此 Flipper 使用没有此隐私清单的 OpenSSL-Universal 1.1.1100。 OpenSSL-Universal 的创建者几天前发布了 1.1.2300,它包含清单,问题是你不能只更新它(嗯,我不能)。唯一对我有用的就是从应用程序中完全删除 Flipper(从 Podfile 和 AppDelegate 中删除)并运行

pod install

现在删除

podfile.lock
manifest.lock
(在 Pods 文件夹中,如果有)。

之后添加

pod 'OpenSSL-Universal', :git => 'https://github.com/krzyzanowskim/OpenSSL.git', :tag => '1.1.2300'

到 podfile(在最外层)并再次执行

pod install
,它将安装 1.1.2300,你就可以开始了!

© www.soinside.com 2019 - 2024. All rights reserved.