Search Unity

'GoogleMobileAds/GoogleMobileAds.h' file not found

Discussion in 'Unity Cloud Build' started by domdev, Oct 3, 2017.

  1. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    274
    got error in unity cloud build need help this was for ios

    ios dk version 7.24.1 and Google Mobile Ads Unity Plugin v3.7.1

    6587: [xcode] /BUILD_PATH/demo-test-organization.game-center-test.default-ios/temp.RqEbJ5/Libraries/Plugins/iOS/GADUNativeCustomTemplateAd.h:5:9: fatal error: 'GoogleMobileAds/GoogleMobileAds.h' file not found
    6588: [xcode] #import <GoogleMobileAds/GoogleMobileAds.h>
    6589: [xcode] 1 error generated.
    6590: [xcode] ** ARCHIVE FAILED **
     
  2. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    274
    using unity 5.6.2f1
     
  3. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    274
    any?
     
  4. IcyHammer

    IcyHammer

    Joined:
    Dec 2, 2013
    Posts:
    54
    I'm having same problem. I reimported all plugins and it still doesn't work.
     
  5. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    274
    any from unity?
     
  6. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    274
    Tiebo likes this.
  7. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    274
    any here?
     
  8. kingbaggot

    kingbaggot

    Joined:
    Jun 6, 2013
    Posts:
    26
    Still not working ! hair all pulled out !

    Why isn't there an official fix for this ?
     
  9. Tiebo

    Tiebo

    Joined:
    Apr 26, 2017
    Posts:
    10
  10. dreamhst7

    dreamhst7

    Joined:
    Mar 27, 2014
    Posts:
    5
    That is not work for me. Xcode want another library from cordova.


    That is correct answer. It is work:
    https://answers.unity.com/questions/1415266/googlemobileadsgooglemobileadsh-file-not-found.html

    1. https://developers.google.com/admob/ios/download (download this)

    2. go into xcode and then hierarchy->framework folder -> just copy only four file
      1. GoogleMobileAds.framework
      2. GoogleAppMeasurement.framework
      3. GoogleUtilities.framework
      4. nanopb.framework
    only four file copy in your framework folder in hierarchy and then clean project