Search Unity

Unity 2017.3.1p1 + IOS + XCODE 9.2 + FireBase error on build

Discussion in 'iOS and tvOS' started by dmlightup, Mar 8, 2018.

  1. dmlightup

    dmlightup

    Joined:
    Jun 7, 2017
    Posts:
    15
    Hello, I've been trying to integrate FireBase Messaging into our Unity IOS app and the error below cropped up when building my branch to device.


    Undefined symbols for architecture arm64:
    "_endSettingsDialog", referenced from:
    -[DismissDialogViewController viewDidAppear:] in libvrunity.a(unity.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)


    From looking at other "linker command failed with exit code 1 (use -v to see invocation)" posts, I gathered there's a class or method named "DismissDialogViewController" that I should comment out for IOS build. However, the libvrunity.a IOS plugin is designed for IOS....

    I've tried to build as described here.

    I don't get how this vr library conflicts with Firebase so any leads would be fantastic. Thanks in advance!
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  3. dmlightup

    dmlightup

    Joined:
    Jun 7, 2017
    Posts:
    15
    Thanks for the response! I cleaned up our resolvers and removed libvrunity (Cardboard SDK files as it turns out, which we don't need) and was able to build.

    PS our project is not yet .NET 4.x enabled.