小编Rea*_*der的帖子

安装react-native-firebase/app后,在react-native ios中构建将失败

react-native-firebase/app@15.3.0使用react-native-0.68.1using进行安装后,在项目的 podfile 中use_frameworks!删除,但当我运行时,构建失败flippernpx react-native run-ios

以下构建命令失败: Ld /Users/userName/Library/Developer/Xcode/DerivedData/-gvnovwrlbjvxedcquaumtvgvdgmn/Build/Products/Debug-iphonesimulator/react-native-razorpay/react_native_razorpay.framework/react_native_razorpay 正常(在目标“react-native”中) -razorpay'来自项目'Pods')(1次失败),该项目还包含react-native-razorpay之前添加的..现在如何删除错误并且构建将成功而不会发生任何崩溃,请帮助我是反应本机我的podfile的新手看起来像``#use_modular_headers!

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

平台:ios,“12.0”安装!'cocoapods', :确定性_uuids => false

目标“DussriShadi”做

使用框架!

配置= use_native_modules!

标志根据环境值而变化。

标志 = get_default_flags()

use_react_native!( :path => config[:reactNativePath], # 要在 iOS 上启用 Hermes,请更改false为true然后安装 pods :hermes_enabled => flags[:hermes_enabled], :fabric_enabled => flags[:fabric_enabled], # 绝对路径到您的应用程序根目录。:app_path => "#{Pod::Config.instance.installation_root}/.." )

目标“DussriShadiTests”继承!:complete # Pods 为

结尾

启用翻转器。

请注意,如果您有 use_frameworks!启用后,Flipper 将无法工作并且

你应该禁用下一行。

#use_flipper!()

post_install 执行|安装程序| react_native_post_install(安装程序) __apply_Xcode_12_5_M1_post_install_workaround(安装程序) end end

ios firebase react-native react-native-firebase

12
推荐指数
1
解决办法
7122
查看次数