ios - 框架未找到 EXLocation,生成存档时 OpenSSL react 原生 ios xcode

标签 ios react-native frameworks

我一直在尝试生成过去 2 天的存档。我已经创建了 React Native 项目。它在设备上成功运行。但是当我尝试生成要在试飞时上传的文件时。它给了我错误。
enter image description here
我的 RN 版本是 0.64,Xcode 12.5。
这是我的 pod 文件:

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'

platform :ios, '11.0'

target 'XXXX' do
   use_unimodules!
  config = use_native_modules!
  
  use_react_native!(
                    :path => config[:reactNativePath],
                    # to enable hermes on iOS, change `false` to `true` and then install pods
                    :hermes_enabled => false
                    )
                    


                    target 'XXXXXTests' do
                      inherit! :complete
                      # Pods for testing
                    end
                    
                    # Enables Flipper.
                    #
                    # Note that if you have use_frameworks! enabled, Flipper will not work and
                    # you should disable the next line.
                    use_flipper!({ 'Flipper-Folly' => '2.5.3', 'Flipper' => '0.87.0', 'Flipper-RSocket' => '1.3.1' })
                    
                    post_install do |installer|
                      react_native_post_install(installer)
                    end
end
我已经多次尝试 pod deintegrated 并再次安装 pod。但它不起作用

最佳答案

对我来说,它是 Podfile(platform:ios, '11.0') 和 Xcode 项目文件中的不同应用程序目标版本
enter image description here
它导致归档作业在 CI 管道中失败。
匹配两个值解决了一个问题!希望这可以帮助任何人。

关于ios - 框架未找到 EXLocation,生成存档时 OpenSSL react 原生 ios xcode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68001082/

相关文章:

iphone - 无法从 UIViewController 添加 UIView

ios - OneSignal 用户 ID 返回 Nil - swift

react-native - 将图像从 React Native 应用程序上传到 Google Cloud Storage

javascript - 如何使用 react js context api 正确存储和检索数据?我的代码没有按预期工作

php - CakePHP 找到 WHERE NOT EQUAL

python - 通过引用 python 函数传递机器人变量

ios - 用于坐标的 Obj-c 数组 - 最佳实践?

ios - View 在呈现后被 UITransitionView 阻塞

android - react native 链接火堆错误

php - 在深入研究框架(如 Zend、CakePHP)之前,您是否需要非常了解 PHP?