我试图添加反应谷歌登录到我的iOS应用程序,但它不会建立,因为许多错误,我正在得到。除了当前的示例应用程序之外,我还跟踪了各种示例应用程序的文档,并继续得到各种错误。我从研究中尝试过的所有建议似乎都行不通。下面是一个示例文件:
PodfileImage

platform :ios, '12.4'
install! 'cocoapods', :deterministic_uuids => false
production = ENV["PRODUCTION"] == "1"
target 'ExampleApp' do
config = use_native_modules!
use_modular_headers!
pod 'GoogleSignIn', '~> 6.2.2'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec', :modular_headers => false
# Flags change depending on the env values.
flags = get_default_flags()
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:production => production,
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
:flipper_configuration => FlipperConfiguration.enabled,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
target 'BarberAppTests' do
inherit! :complete
# Pods for testing
end
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end内置错误屏幕

发布于 2022-08-22 18:28:19
问题是,在创建新项目时,我没有添加firebase控制台中提供的firebase包。我使用了一两年前发布的YouTube视频,但是已经对firebase应用程序进行了更改。
https://stackoverflow.com/questions/73435762
复制相似问题