Building to iOS keeps failing with Firebase

Hi there.

I have tried debugging this my self for quite a while now, and I have even looked throught this community without any luck.

In my current project, I only have some packages from the asset store, my scene, and Firebase Core and Firebase Auth installed throught the package manager.
I’m working in Unity 2020.1.17f1 as that version has the new package manager.

Everything is running fine on my computer, but Unity Cloud Build keeps failing when anything from Firebase is installed.

The reason that my project does not have anything else, is because I’m trying to figure out why my projects won’t build anymore when firebase is installed in the project.

Here is my compact log from my most reason build:

1: Signing credentials: PokerApp (iPhone Developer: Nicklas Lydersen (LK3G7DDKCF))
2: [Unity] Initialize engine version: 2020.1.17f1 (9957aee8edc2)
3: [Unity] Finished exporting player successfully.
4:  + Building with Xcode 12.4
5: ▸ Compiling FBLPromiseError.m
6: ▸ Compiling FIRInstallationsHTTPError.m
7: ▸ Compiling FIRInstallationsErrorUtil.m
8: ▸ Compiling FIRAuthErrorUtils.m
9: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/UnityInterface.h:156:36: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
10: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/UnityInterface.h:156:36: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
11: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/iPhone_Sensors.mm:541:42: 'GCGamepad' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
12: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/iPhone_Sensors.mm:665:26: 'gamepad' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
13: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/iPhone_Sensors.mm:666:46: 'gamepad' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
14: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/UnityAppController.mm:224:78: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
15: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/UnityAppController.mm:224:1: implementing deprecated method [-Wdeprecated-implementations]
16: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/UnityAppController.mm:311:9: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
17: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/UnityAppController.mm:311:74: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations]
18: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Libraries/AlmostEngine/Dependencies/UnityNativeShare/Plugins/NativeShare/iOS/NativeShare.mm:1:18: extra tokens at end of #ifdef directive [-Wextra-tokens]
19: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Libraries/AlmostEngine/Dependencies/UnityNativeShare/Plugins/NativeShare/iOS/NativeShare.mm:73:3: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
20: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Libraries/AlmostEngine/Dependencies/UnityNativeShare/Plugins/NativeShare/iOS/NativeShare.mm:73:34: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
21: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/MetalHelper.mm:109:9: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in iOS 10.0 - Use std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
22: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/MetalHelper.mm:110:9: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in iOS 10.0 - Use std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
23: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/MetalHelper.mm:99:28: implicit conversion loses integer precision: 'MTLPixelFormat' to 'unsigned int' [-Wshorten-64-to-32]
24: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/DeviceSettings.mm:164:59: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32]
25: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/DeviceSettings.mm:343:9: unused variable 'device' [-Wunused-variable]
26: ▸ ⚠;️  ld: arm64 function not 4-byte aligned: _unwind_tester from /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
27: ▸ ❌;  ld: symbol(s) not found for architecture arm64
28: ▸ ❌;  clang: error: linker command failed with exit code 1 (use -v to see invocation)
29: ▸ Compiling FBLPromiseError.m
30: ▸ Compiling FIRInstallationsHTTPError.m
31: ▸ Compiling FIRInstallationsErrorUtil.m
32: ▸ Compiling FIRAuthErrorUtils.m
33: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/UnityInterface.h:156:36: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
34: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/UnityInterface.h:156:36: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
35: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/iPhone_Sensors.mm:541:42: 'GCGamepad' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
36: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/iPhone_Sensors.mm:665:26: 'gamepad' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
37: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/iPhone_Sensors.mm:666:46: 'gamepad' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
38: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/UnityAppController.mm:224:78: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
39: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/UnityAppController.mm:224:1: implementing deprecated method [-Wdeprecated-implementations]
40: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/UnityAppController.mm:311:9: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
41: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/UnityAppController.mm:311:74: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations]
42: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Libraries/AlmostEngine/Dependencies/UnityNativeShare/Plugins/NativeShare/iOS/NativeShare.mm:1:18: extra tokens at end of #ifdef directive [-Wextra-tokens]
43: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Libraries/AlmostEngine/Dependencies/UnityNativeShare/Plugins/NativeShare/iOS/NativeShare.mm:73:3: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
44: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Libraries/AlmostEngine/Dependencies/UnityNativeShare/Plugins/NativeShare/iOS/NativeShare.mm:73:34: 'UIPopoverController' is deprecated: first deprecated in iOS 9.0 - UIPopoverController is deprecated. Popovers are now implemented as UIViewController presentations. Use a modal presentation style of UIModalPresentationPopover and UIPopoverPresentationController. [-Wdeprecated-declarations]
45: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/MetalHelper.mm:109:9: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in iOS 10.0 - Use std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
46: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/MetalHelper.mm:110:9: 'OSAtomicCompareAndSwap32Barrier' is deprecated: first deprecated in iOS 10.0 - Use std::atomic_compare_exchange_strong() from <atomic> instead [-Wdeprecated-declarations]
47: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/MetalHelper.mm:99:28: implicit conversion loses integer precision: 'MTLPixelFormat' to 'unsigned int' [-Wshorten-64-to-32]
48: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/DeviceSettings.mm:164:59: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32]
49: ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/DeviceSettings.mm:343:9: unused variable 'device' [-Wunused-variable]
50: ⚠;️  ld: arm64 function not 4-byte aligned: _unwind_tester from /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
51: ❌;  ld: symbol(s) not found for architecture arm64
52: ❌;  clang: error: linker command failed with exit code 1 (use -v to see invocation)
53: ▸ clang: error: linker command failed with exit code 1 (use -v to see invocation)
54: ! build of 'default-ios' failed. ! xcode build failed.
55: publishing finished successfully.
56: Finished: FAILURE

Do you resolved this?

This is probably related to Unity Cloud Build still not supporting XCode 12.5