Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Building to iOS keeps failing with Firebase

Discussion in 'Unity Build Automation' started by NickyBoyDK, Apr 11, 2021.

  1. NickyBoyDK

    NickyBoyDK

    Joined:
    May 26, 2019
    Posts:
    2
    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:
    Code (csharp):
    1. 1: Signing credentials: PokerApp (iPhone Developer: Nicklas Lydersen (LK3G7DDKCF))
    2. 2: [Unity] Initialize engine version: 2020.1.17f1 (9957aee8edc2)
    3. 3: [Unity] Finished exporting player successfully.
    4. 4:  + Building with Xcode 12.4
    5. 5: ▸ Compiling FBLPromiseError.m
    6. 6: ▸ Compiling FIRInstallationsHTTPError.m
    7. 7: ▸ Compiling FIRInstallationsErrorUtil.m
    8. 8: ▸ Compiling FIRAuthErrorUtils.m
    9. 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. 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. 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. 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. 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. 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. 15: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/UnityAppController.mm:224:1: implementing deprecated method [-Wdeprecated-implementations]
    16. 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. 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. 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. 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. 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. 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. 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. 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. 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. 25: ▸ ⚠;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/DeviceSettings.mm:343:9: unused variable 'device' [-Wunused-variable]
    26. 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. 27: ▸ ❌;  ld: symbol(s) not found for architecture arm64
    28. 28: ▸ ❌;  clang: error: linker command failed with exit code 1 (use -v to see invocation)
    29. 29: ▸ Compiling FBLPromiseError.m
    30. 30: ▸ Compiling FIRInstallationsHTTPError.m
    31. 31: ▸ Compiling FIRInstallationsErrorUtil.m
    32. 32: ▸ Compiling FIRAuthErrorUtils.m
    33. 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. 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. 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. 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. 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. 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. 39:;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/UnityAppController.mm:224:1: implementing deprecated method [-Wdeprecated-implementations]
    40. 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. 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. 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. 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. 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. 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. 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. 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. 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. 49:;️  /BUILD_PATH/nickyboydk.pokernight1.default-ios/temp20210410-7779-uifz6h/Classes/Unity/DeviceSettings.mm:343:9: unused variable 'device' [-Wunused-variable]
    50. 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. 51:;  ld: symbol(s) not found for architecture arm64
    52. 52:;  clang: error: linker command failed with exit code 1 (use -v to see invocation)
    53. 53: ▸ clang: error: linker command failed with exit code 1 (use -v to see invocation)
    54. 54: ! build of 'default-ios' failed. ! xcode build failed.
    55. 55: publishing finished successfully.
    56. 56: Finished: FAILURE
     
    Last edited: Apr 12, 2021
  2. pidrosoft

    pidrosoft

    Joined:
    Feb 22, 2021
    Posts:
    2
    Do you resolved this?
     
  3. mvaz_p

    mvaz_p

    Joined:
    Aug 22, 2018
    Posts:
    80