Skip to main content
Inspiring
Jun 4, 2019 11:40 PM UTC
Question

GoogleMobileAds causes Undefined symbols error on iOS

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Participating Frequently
Jun 7, 2019 9:04 AM UTC

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. 

Translate
Legend
Jun 7, 2019 10:11 AM UTC

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

Translate