Search Unity

Undefined symbols for architecture armv7 - Firebase_Auth_Future_User_result

Discussion in 'Unity Build Automation' started by ash4096, Dec 17, 2019.

  1. ash4096

    ash4096

    Joined:
    Mar 29, 2017
    Posts:
    24
    Description of issue:
    16076: ❌; Undefined symbols for architecture armv7
    16077: > Symbol: _Firebase_Auth_Future_User_result
    16078: > Referenced from: _AuthUtilPINVOKE_Firebase_Auth_Future_User_result_m70BB9B236844F9C99E00A8A94C26C36AEB3418F3 in Firebase.Auth.o
    16079: ❌; ld: symbol(s) not found for architecture armv7
    16080: ❌; clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Unity version: Latest 2019.2

    XCode version: 11.2.1

    Source control: Github.com

    Local build platform: Macbook pro with Mojave 10.14.6

    Build target: iOS

    Relevant plugins being used (i.e. Google Play Game Services, other plugins that may perform automatic post-build behaviors) Firebase, Google SignIn

    Project name: Math Pop Fiesta

    Build log (relevant chunk): See above

    Does it build locally from a fresh checkout? YES

    Thanks,
    Ash
     
  2. lloydv

    lloydv

    Joined:
    Sep 15, 2015
    Posts:
    55
    I recently had very similar problems with Firebase on iOS as well, it's not a Unity Cloud Build issue (at least not in my case). It seems the Firebase plugins no longer support armv7. Unity is also deprecating support for it starting in 2020.1 I think, so the easiest solution is to just change your ios project settings to build for arm64 only.
     
  3. kwikdev

    kwikdev

    Joined:
    Jun 13, 2013
    Posts:
    31
    You might
    If you assume changing to arm64 will work, it does not. Expect the same error above with arm64 instead:

    16079: ❌; ld: symbol(s) not found for architecture armv64

    Right now it's March 2021, we are using Unity 2019.4.f1 and XCode 12.2

    My team has been using Unity for 15+ years and came away from this issue baffled why XCode flat out fails with Firebase either on Unity Cloud build or when built locally.

    We gave up on Firebase, I would say that Firebase in Unity for iOS is not a supported platform. Google is unable to provide a solution, either on forums and from our direct support requests.

    I think this thread which was shut down without a solution is telling:

    https://github.com/firebase/quickstart-unity/issues/725

    If anyone has had success with Firebase in iOS, please share. This is a costly road to go down as a developer, it's definitely not plug-and-play like most solutions from small dev teams.