Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

GoogleMobileAds producing xCode errors

Discussion in 'iOS and tvOS' started by talrumers, Jan 23, 2016.

  1. talrumers

    talrumers

    Joined:
    Jul 17, 2015
    Posts:
    37
    Before We're starting, I just want to take this of my heart.. building Unity games to iOS is a S***ty procedure, and the xCode is a piece of S*** IDE, I hate it and it take X50 times the time to freaking build for iOS.. Apple seems to F*** up everything except the design of the iPhone, shame on them for being pricy noob A holes.. for Android it's just ctrl+B , BOOOM, it works..

    And now for my problem: I just added googleadsmobile plugin and built it for android and released it like a week ago (had no worries there cause it tends to f$&%ing workkkk!!).

    Now after preparing myself both physically and mentally, still scared i turned to my Macbook Pro to try and build the simple Update to iOS, BOOOM what a surprise.. Does not work..

    Tried to replace the @import X; to #import , no idea and no care why I did that (Google).. and tried to replace GAD with GADU in the 3rd error, and anything I tried just produced 20 more bugs. And I searched google for hours, and again, it's always the iOS building that is always f%$∈g takes me days to search and fix..It always needs fixing..

    And a lesson for myself.. never ask google about xCode errors cause there are tons of them, and nothing will answer just about my error..

    P.S: iPhone owners, F%^& your stupid brain for telling you to buy a product half the quality, and twice the price because it has nice metal finishing, You suck, and F%^& you even more because buying your stupid iPhone, funds Apple, a company that takes x4 the price for a year for Developer account, than Google takes for unlimited time, a company that craps all over you, and you all just go 2girls1cup on their crap.

    Thanks for everyone who can help, even if you own an iPhone ;)

    xCode v7.2
    Unity v5.1.4f1 personal
    Google Mobile Ads Unity Plugin v2.3.1
     
    dingaloo12 likes this.
  2. talrumers

    talrumers

    Joined:
    Jul 17, 2015
    Posts:
    37
  3. khoacng

    khoacng

    Joined:
    Jun 30, 2015
    Posts:
    7
    Are you already add Foundation and GoogleMobileAdsSDKiOS framework?
     
  4. talrumers

    talrumers

    Joined:
    Jul 17, 2015
    Posts:
    37
    When i check the link binary i saw I'm missing the GoogleMobileAds framework, which is weird, so i downloaded it and added it and still did not work..
     
  5. talrumers

    talrumers

    Joined:
    Jul 17, 2015
    Posts:
    37
  6. pahe

    pahe

    Joined:
    May 10, 2011
    Posts:
    541
    You're missing files in your xCode project. Hard to tell you what is missing though. The GADGender class could not be found so your best chance would be to find this class somewhere in your Unity project and make sure that it is included in your xCode project.
    In worst case: remove the plugin and reinstall it from the scratch.
     
  7. tonyuk123

    tonyuk123

    Joined:
    Apr 8, 2016
    Posts:
    1
    i am having the same/similar problem
    Problem is i am just trying to make the game for ios aswell as Android, android, easy, ios ......
    All the info says add the framework, i have no idea about apple mac stuff, and no intent to learn it fully
    just want to be able to publish an app !
    I have sort of added the googlemobileads framework of sorts, no idea if right place, done properly, as there seems to be no instruction for it really.
    All seems to think we know everything about xcode, apple mac or whatever
    Have spent 3 days getting all the certificates which are now happy, only to find the googlemobileads just will not work
    it's pretty ridiculous way to do things, but then when you are as big as apple, you don't give a sh1t
     
    dingaloo12 likes this.