安装后react-native-firebase/[email protected]
with react-native-0.68.1
using use_frameworks!
并删除flipper
在项目的podfile中,但是当我运行时npx 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”的目标中)豆荚')
(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()
使用_react_native!(
:路径=>配置[:reactNativePath],
# 要在 iOS 上启用 Hermes,请更改false
to true
然后安装 Pod
:hermes_enabled => 标志[:hermes_enabled],
:fabric_enabled => 标志[:fabric_enabled],
# 应用程序根目录的绝对路径。
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
目标“DussriShadiTests”执行
继承! :完全的
# Pod 用于
end
启用翻转器。
请注意,如果您有 use_frameworks!启用后,Flipper 将无法工作并且
你应该禁用下一行。
#use_flipper!()
post_install 执行|安装程序|
React_native_post_install(安装程序)
__apply_Xcode_12_5_M1_post_install_workaround(安装程序)
结尾
结尾