• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Iker8av · May 29, 2020 at 02:50 AM · ioserror messagexcodeadmoberror-building-player

Unity Google AdMob Xcode: When I want to run my game on my iPhone with Xcode i have an error

 Undefined symbols for architecture arm64:
   "_OBJC_CLASS_$_GADRewardBasedVideoAd", referenced from:
       objc-class-ref in GADURewardBasedVideoAd.o
   "_OBJC_CLASS_$_GADBannerView", referenced from:
       objc-class-ref in GADUBanner.o
   "_OBJC_CLASS_$_GADExtras", referenced from:
       objc-class-ref in GADURequest.o
   "_OBJC_CLASS_$_GADRequest", referenced from:
       objc-class-ref in GADURequest.o
   "_OBJC_CLASS_$_GADRewardedAd", referenced from:
       objc-class-ref in GADURewardedAd.o
   "_kGADAdSizeSmartBannerPortrait", referenced from:
       -[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:adPosition:] in GADUBanner.o
       -[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:customAdPosition:] in GADUBanner.o
   "_kGADSimulatorID", referenced from:
       -[GADURequest addTestDevice:] in GADURequest.o
   "_OBJC_CLASS_$_GADInterstitial", referenced from:
       objc-class-ref in GADUInterstitial.o
   "_kGADAdLoaderAdTypeNativeCustomTemplate", referenced from:
       _GADUCreateAdLoader in GADUInterface.o
   "_GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth", referenced from:
       +[GADUPluginUtil adaptiveAdSizeForWidth:orientation:] in GADUPluginUtil.o
   "_CGSizeFromGADAdSize", referenced from:
       +[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o
   "_GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth", referenced from:
       +[GADUPluginUtil adaptiveAdSizeForWidth:orientation:] in GADUPluginUtil.o
   "_GADAdSizeFromCGSize", referenced from:
       +[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o
       +[GADUPluginUtil adSizeForWidth:height:] in GADUPluginUtil.o
   "_kGADAdSizeSmartBannerLandscape", referenced from:
       +[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o
       -[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:adPosition:] in GADUBanner.o
       -[GADUBanner initWithSmartBannerSizeAndBannerClientReference:adUnitID:customAdPosition:] in GADUBanner.o
   "_OBJC_CLASS_$_GADAdLoader", referenced from:
       objc-class-ref in GADUAdLoader.o
   "_GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth", referenced from:
       +[GADUPluginUtil adaptiveAdSizeForWidth:orientation:] in GADUPluginUtil.o
   "_GADAdSizeEqualToSize", referenced from:
       +[GADUPluginUtil safeAdSizeForAdSize:] in GADUPluginUtil.o
   "_OBJC_CLASS_$_GADMobileAds", referenced from:
       objc-class-ref in GADUInterface.o
   "_GADAdSizeFullWidthPortraitWithHeight", referenced from:
       +[GADUPluginUtil adSizeForWidth:height:] in GADUPluginUtil.o
   "_OBJC_CLASS_$_GADServerSideVerificationOptions", referenced from:
       objc-class-ref in GADUInterface.o
 ld: symbol(s) not found for architecture arm64
 clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ciac90 · Aug 13, 2020 at 02:09 PM 0
Share

did you find the solution? please help

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by dizzlebomb · Jul 03, 2020 at 05:48 AM

I have the same issue, following--

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ciac90 · Aug 13, 2020 at 02:10 PM 0
Share

did you find the solution? please help

avatar image ciac90 · Aug 14, 2020 at 10:31 AM 0
Share

did you find the solution? please help

avatar image
0

Answer by DISER1 · Sep 02, 2020 at 10:14 AM

alt text If you open Symlink Unity libraries, the problem will disappear.


ekran-resmi-2020-09-02-131138.png (157.8 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by polyphonic13 · Dec 29, 2020 at 09:13 PM

Did anyone ever solve this? @DISER1 checking "Symlink Unity Libraries" does not fix this for me. The XCode build still fails with the same errors @Iker8av reported, starting with:

 Undefined symbols for architecture arm64:
   "_GADUnifiedNativeHeadlineAsset", referenced from:
       -[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
   "_GADUnifiedNativeBodyAsset", referenced from:
       -[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
   "_GADUnifiedNativeIconAsset", referenced from:
       -[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
   "_GADUnifiedNativeStoreAsset", referenced from:
       -[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
   "_GADUnifiedNativePriceAsset", referenced from:
       -[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
   "_GADUnifiedNativeStarRatingAsset", referenced from:
       -[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
   "_GADUnifiedNativeAdChoicesViewAsset", referenced from:
       -[GADUUnifiedNativeAd initWithAd:] in unity-plugin-library.a(GADUUnifiedNativeAd_fe8578bae4763516575d618225e55fdd.o)
   "_OBJC_CLASS_$_GADRewardedInterstitialAd", referenced from:
       objc-class-ref in unity-plugin-library.a(GADURewardedInterstitialAd_39f9127d3797cb8cad4cb2a8f659505d.o)
   "_OBJC_CLASS_$_GADInterstitial", referenced from:
       objc-class-ref in unity-plugin-library.a(GADUInterstitial_086edb7499729734905adee6bc26babe.o)
   "_GADAdSizeFullWidthPortraitWithHeight", referenced from:
       +[GADUPluginUtil adSizeForWidth:height:] in unity-plugin-library.a(GADUPluginUtil_ac2548951bebf4de3ca97eec72a8dded.o)
   "_kGADAdSizeSmartBannerLandscape", referenced from:
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

170 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to integrate AdMob with iOS? 1 Answer

ios xcode 8 build error with google adbmob, GADMAdapterAdColony, ld: symbol(s) not found for architecture arm64 2 Answers

How to fix clang error: symbol(s) not found for architecture arm64 1 Answer

Xcode error when Archiving linker command failed with exit code 1 (use -v to see invocation) clang 1 Answer

Unity iOS AdMob Xcode Compile Error: Semantic Issue GADUObjectCache.m 2 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges