Не могу найти BoringSSL-GRPC с помощью FirebaseIOS

Программируем под IOS
Anonymous
Не могу найти BoringSSL-GRPC с помощью Firebase

Сообщение Anonymous »


Я создаю приложение для iOS с помощью Firebase. После обновления до Mac M1 я всегда сталкивался с одной проблемой за другой с модулями Firebase.
Это мой подфайл:

Код: Выделить всё

platform :ios, '12.0'
use_frameworks! :linkage => :static
#pods
def podsToUse
pod 'GoogleMaps'
pod 'FirebaseMessaging'
pod 'FirebaseAnalytics'
pod 'FirebaseStorage'
pod 'FirebaseFirestore'
pod 'FirebaseAuth'
pod 'FirebaseCrashlytics'
end
target 'App' do
podsToUse
end

post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
I add the last bit at the end from a post I saw. This actually corrected many errors like not finding Firebase module, etc.
I updated my pods using

Код: Выделить всё

pod update
and now I get the error:

Library 'BoringSSL-GRPC' not found.

I tried various suggestions about setting 'build active architecture only' for Debug to YES. I have excluded the arm64 architecture for debug.
I have deleted the pod directories, derived data, etc. and ran

Код: Выделить всё

pod install
again. Tried cleaning my build, etc. I just can't find anything to get rid of this missing library.
Any ideas, cause I have run out.
One more thing - I can archive the load, but not run on Simulator. Not sure why.


Источник: https://stackoverflow.com/questions/781 ... g-firebase

Вернуться в «IOS»