I have error when building for iOS with "Google MobileAds-native.unitypackage" and "FirebaseAnalytics.unitypackage".

526 views
Skip to first unread message

芦澤秀穂

unread,
Aug 8, 2019, 12:16:40 AM8/8/19
to Google Mobile Ads SDK Developers
Hi,

I have error when building for iOS with "Google MobileAds-native.unitypackage" and "FirebaseAnalytics.unitypackage" for Native Ads Advanced imported.

Unity: 2018.3.14f1
Xcode Version 10.2.1 (10E1001)
Firebase Unity SDK: 6.2.2
AdMob SDK: GoogleMobileAds-native

Error
----
Undefined symbol: _GADCurrentOrientationBannerAdSizeWithWidth
Undefined symbol: _GADLandscapeBannerAdSizeWithWidth
Undefined symbol: _GADPortraitBannerAdSizeWithWidth
----

The pod install log is
----
Analyzing dependencies
Downloading dependencies
Using Firebase (6.3.0)
Using FirebaseAnalytics (6.0.2)
Using FirebaseCore (6.0.3)
Using FirebaseInstanceID (4.2.3)
Using Google-Mobile-Ads-SDK (7.48.0)
Using GoogleAppMeasurement (6.0.2)
Using GoogleUtilities (6.2.4)
Using nanopb (0.3.901)
Generating Pods project
Integrating client project
Sending stats
----

I can build with "GoogleMobileAds-v3.18.2.unitypackage" and "FirebaseAnalytics.unitypackage".

Thanks a lot,
Tsuyoshi
FirebaseAdMob.jpg

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 8, 2019, 2:25:49 AM8/8/19
to byking.ap...@gmail.com, google-adm...@googlegroups.com
Hi Tsuyoshi,

Thank you for reaching out to us.

I was able to confirm and replicate the issue you've described on my own end. Thus, I will be forwarding your concern to the Engineering team, and I will get back to you for any updates on this.

Regards,
Ziv Yves Sanchez
Mobile Ads SDK Team

ref:_00D1U1174p._5001UEIKKs:ref

芦澤秀穂

unread,
Aug 8, 2019, 4:40:55 AM8/8/19
to Google Mobile Ads SDK Developers
Hi Ziv.

Thank you.

After that, I found that "GoogleMobileAds-native" alone would cause this problem.
I can check it in the latest version.
Older versions can be built successfully.


2019年8月8日木曜日 15時25分49秒 UTC+9 mobileadssdkforumadvisor:

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 8, 2019, 11:48:45 PM8/8/19
to byking.ap...@gmail.com, google-adm...@googlegroups.com
Hi Tsuyoshi,

Thank you for your patience on this matter.

The Engineering team just got back to me with an update on this. Could you re-downloading the updated GoogleMobileAds-native package and see if it will work for you?

芦澤秀穂

unread,
Aug 9, 2019, 1:45:10 AM8/9/19
to google-adm...@googlegroups.com
Hi Ziv.

Thank you for update.

I tried it.
I still have an error.

error: Build input file cannot be found: '/Users/apple_account/Documents/Densha/Build/iOS/Libraries/Plugins/iOS/UnifiedNativeAdView.xib'

I use GoogleMobileAdsTapjoyMediation-2.3.0.
I have error when open Unity-iPhone.xcworkspace with "Google MobileAds-native.unitypackage" and "GoogleMobileAdsTapjoyMediation-2.3.0" for Native Ads Advanced imported.

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 9, 2019, 4:13:51 AM8/9/19
to byking.ap...@gmail.com, google-adm...@googlegroups.com
Hi Tsuyoshi,

I was able to use the updated GoogleMobileAds-native package to successfully build a sample project on my end. I'm afraid that I do not have any insights to give with regards to this, as it seems that the missing file is not part of the package in question. Could you confirm if you can successfully build a new project using the updated GoogleMobileAds-native package?

芦澤秀穂

unread,
Aug 9, 2019, 4:43:35 AM8/9/19
to Google Mobile Ads SDK Developers
Hi Ziv,

I can successfully build a new project using updated GoogleMobileAds-nativ.
But I have error with GoogleMobileAdsTapjoyMediation.

2019年8月9日金曜日 17時13分51秒 UTC+9 mobileadssdkforumadvisor:

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 9, 2019, 5:18:25 AM8/9/19
to byking.ap...@gmail.com, google-adm...@googlegroups.com
Hi Tsuyoshi,

Thank you for providing additional context on your concern.

I was able to build a project using both the GoogleMobileAds-native and GoogleMobileAdsTapjoyMediation (specifically version 2.3.0) packages. Kindly confirm if you can build the same on a blank project, as there should not any be conflict (that would cause a build failure) between the packages involved.

芦澤秀穂

unread,
Aug 13, 2019, 2:07:30 AM8/13/19
to Google Mobile Ads SDK Developers
Hi Ziv,

I was able to build too.
Thank you for your support.


2019年8月9日金曜日 18時18分25秒 UTC+9 mobileadssdkforumadvisor:

Kuzey Burak Yalçın

unread,
Feb 23, 2020, 6:36:26 PM2/23/20
to google-adm...@googlegroups.com
Hey, I am getting error on xcode like an example, Linker error How can i fix this ?

Mobile Ads SDK Forum Advisor Prod

unread,
Feb 24, 2020, 12:33:03 AM2/24/20
to kuze...@gmail.com, google-adm...@googlegroups.com

Hi Kuzey,

 

Thank you for reaching out to us.

 

Could you kindly provide the details below (via Reply privately to author) so that I can investigate the issue?

  • Unity version
  • AdMob SDK plugin version
  • AdMob Mediation adapters and their versions (if any)
  • Copy of your Unity project folder (replicating the issue)
  • Steps to replicate the issue

 

You may zip the entire Unity project (excluding the Library and Temp folders) in order to reduce its size, then send it to me via a shareable link from your Google Drive (or on any other file-sharing site that you prefer). Don't forget to send the shareable link via Reply privately to author.

 

Regards,

Ziv Yves Sanchez

Mobile Ads SDK Team



ref:_00D1U1174p._5001UV1xsQ:ref

Kuzey Burak Yalçın

unread,
Feb 24, 2020, 6:17:59 AM2/24/20
to Google Mobile Ads SDK Developers
I replied.

Mobile Ads SDK Forum Advisor Prod

unread,
Feb 24, 2020, 3:30:26 PM2/24/20
to kuze...@gmail.com, google-adm...@googlegroups.com
Hello there,

Thanks for sharing the requested details. I was not able to run your project on our end. Can you please share the complete error logs for us to take a look? Meanwhile, I will try to run the project again on our end again and investigate further. Do we need to follow any steps to reproduce the errors? 

Regards,
Deepika Uragayala

Kuzey Burak Yalçın

unread,
Feb 25, 2020, 4:59:52 AM2/25/20
to Google Mobile Ads SDK Developers
I just import googlemobilenative ads package on unity after than I export ios file, I cant run on xcode i am getting linker error, unity-plugin-library.a problem that file, that file belongs googlemobilenative ads.

Mobile Ads SDK Forum Advisor Prod

unread,
Feb 25, 2020, 2:51:26 PM2/25/20
to kuze...@gmail.com, google-adm...@googlegroups.com
Hello there,

Can you build a fresh new blank project using our native ads build and make sure that you first remove all existing Google Mobile Ads files and try again?

Kuzey Burak Yalçın

unread,
Feb 25, 2020, 5:25:40 PM2/25/20
to Google Mobile Ads SDK Developers
Hey, I tried new project but now i add Googlemobileads.framework file on xcode, i can run, new problem is i am getting crash on device.

Mobile Ads SDK Forum Advisor Prod

unread,
Feb 25, 2020, 10:20:19 PM2/25/20
to kuze...@gmail.com, google-adm...@googlegroups.com

Hi Kuzey,

 

Going back to the sample project you provided a couple of emails ago: I was able to test and successfully build the provided project, with no changes required on my end. I will be attaching both the Unity project and the exported XCode project as proof on a separate private email (in order to protect sensitive data). Could you kindly test the projects that I will be sending, and confirm if those would work on your end?

 

Regards,

Ziv Yves Sanchez

Kuzey Burak Yalçın

unread,
Feb 26, 2020, 6:09:37 AM2/26/20
to Google Mobile Ads SDK Developers
I solved problems, We have to add Googlemobileads.framework, after than add code to info.plist   

<key>GADIsAdManagerApp</key>
    <true />

Add Build settings 
Other Linker Flags   -ObjC

Reply all
Reply to author
Forward
0 new messages