Estou tentando colocar o SDK do BlipChat no meu app. Funcionou para Android, mas para iOS está dando os seguintes erros:
Gostaria de uma ajuda porque já estou a um bom tempo tentando resolver esses problemas e não encontrei nenhuma referencia sobre isso.
Xcode versão 15.4
Versão mínima: 13.4
Meu Podfile:
# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ''-p',
'require.resolve(
"react-native/scripts/react_native_pods.rb",
{paths: {process.argve1]]},
)', __dir__]).strip
platform :ios, min_ios_version_supported
prepare_react_native_project!
linkage = ENVg'USE_FRAMEWORKS']
if linkage != nil
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
use_frameworks! :linkage => linkage.to_sym
end
target 'homebroker' do
pod 'BlipChat'
pod 'FirebaseCore', :modular_headers => true
pod 'FirebaseABTesting', :modular_headers => true
pod 'FirebaseRemoteConfig', :modular_headers => true
pod 'FirebaseCoreExtension', :modular_headers => true
pod 'FirebaseInstallations', :modular_headers => true
pod 'GoogleDataTransport', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
pod 'nanopb', :modular_headers => true
config = use_native_modules!
use_react_native!(
:path => config;:reactNativePath],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
target 'homebrokerTests' do
inherit! :complete
# Pods for testing
end
post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
config :reactNativePath],
:mac_catalyst_enabled => false,
# :ccache_enabled => true
)
# Obtém o Team ID do projeto principal
main_project = Xcodeproj::Project.open("homebroker.xcodeproj")
main_target = main_project.targets.first
team_id = main_target.build_configurations.first.build_settings_'DEVELOPMENT_TEAM']
# Aplica o mesmo Team ID aos alvos de Pods
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings_'DEVELOPMENT_TEAM'] = team_id
config.build_settings_'IPHONEOS_DEPLOYMENT_TARGET'] = '13.4'
end
end
end
end
Obrigado!