Я создаю приложение для 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 updated my pods using
Код: Выделить всё
pod updateLibrary '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 installAny 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
Мобильная версия