Search Unity

Firebase message build fails in Xcode

Discussion in 'iOS and tvOS' started by FatIgor, Feb 17, 2017.

  1. FatIgor

    FatIgor

    Joined:
    Sep 13, 2015
    Posts:
    29
    I downloaded and setup the sample project as per the instructions from google, using their package.

    Set up my certificate etc, got my plist downloaded from firebase console.

    Built the app in unity, no problems.

    In Xcode, added the notifications framework as instructed.
    Turned on push notifications capability.

    On compiling it complains about missing file
    "google/protobuf/Any.pbobjc.h"

    If anyone has got this working I would be most grateful if they could tell me how they did it. I'm thinking it is something to do with the way the CocoaPod stuff has set up the paths, but CocoaPods is entirely new to me today, so I'm not sure what it is doing yet.
     
  2. FatIgor

    FatIgor

    Joined:
    Sep 13, 2015
    Posts:
    29
    I find that I can actually get the thing to compile by going through all the errors manually and editing them. Every time....

    Bit tedious but at least I should be able to get it done.
     
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    did u find a solution for this issue ?
     
  4. FatIgor

    FatIgor

    Joined:
    Sep 13, 2015
    Posts:
    29
    Sorry, missed your question til now.
    Google have updated the package, which you probably noticed, and it compile fine now.