Skip to main content
Inspiring
June 4, 2019
Question

GoogleMobileAds causes Undefined symbols error on iOS

  • June 4, 2019
  • 1 reply
  • 591 views

Hello,

when I add the latest GoogleMobileAds v7.44.0 in platform.xml on iOS to create ANE

<packagedDependencies>

    <packagedDependency>GoogleMobileAds.framework</packagedDependency>

</packagedDependencies>

The ane is created correctly, but I have this message error when I compile the ipa

Undefined symbols for architecture arm64:

  "___isOSVersionAtLeast", referenced from:

      l035 in GoogleMobileAds(GADAugmentedRealitySignalSource.o)

ld: symbol(s) not found for architecture arm64

Undefined symbols for architecture armv7:

  "___isOSVersionAtLeast", referenced from:

      l002 in GoogleMobileAds(GADAugmentedRealitySignalSource.o)

ld: symbol(s) not found for architecture armv7

Compilation failed while executing : ld64

Thanks

This topic has been closed for replies.

1 reply

Participating Frequently
June 7, 2019

Check out this topic:

iOS Upload with Air 32.0.0.103 / iOS 12.1: Invalid Architecture

Basically you need to update all your ANEs to meet the new minimum iOS 9.0 requirement. This issue is so widespread I don't understand why the solution isn't posted on the front page of all the ANE author's websites. 

Legend
June 7, 2019

Well you're wrong. This has nothing to do with iOSVersion.

Already answered by the original poster here

https://forum.starling-framework.org/d/21746-googlemobileads-causes-undefined-symbols-error-on-ios/2

<packagedDependencies>

    <packagedDependency>libclang_rt.ios.a</packagedDependency>

    <packagedDependency>GoogleMobileAds.framework</packagedDependency> 

</packagedDependencies>

and the app compile correctly on Windows

Thanks