The plugin firebaseAnalytics does not work with Appodeal AdMob on iOS

Hi all, 

Appodeal iOS version 2.5.11 conflicts with firebaseAnalytics when AdMob is activated. I wonder if Scott is aware of the problem? And I would like to know when could we expect to get it fixed? I have to either disable firebaseAnalytics or AdMob when building for iOS.

I will see what I can do, don’t have access admob plugin, what error code are seeing a screen shot or text from logs would be helpful

Hello, Scott. Thanks for replying. 

This log is a few days back but yesterday I got the same errors. 

 /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(decoder\_common\_7bb8121abaf02375f0da94d655962213.o) duplicate symbol '\_nano\_encode\_bytes' in: /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_encode\_repeated\_bytes' in: /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_encode\_string' in: /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_encode\_repeated\_string' in: /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_two\_pass\_encoding' in: /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_encode\_repeated\_uint64' in: /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/YolNisanlariCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) ld: 909 duplicate symbols for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) Oct 11 03:19:01.020 BUILD ERROR: There was a problem linking the app. Check the console for more information. Oct 11 03:19:01.020 iOS build failed (12) after 544 seconds Oct 11 03:19:01.182 ERROR: Build Failed: There was a problem linking the app. Check the console for more information. Oct 11 03:19:01.182 

Vlads said Appodeal AdMob and FirebaseAnalytics doesn’t work together on this link: https://forums.coronalabs.com/topic/76398-ios-build-error-with-version-20193535-for-macos-catalina/

Scott, did you have the time and possibility to check the error?

I am looking into this, it is just related to the version of Firebase Analytics but I need to do some testing.

Scott, any progress? I have just tried to build again but it gives the same error  :frowning:

Try now, I pushed out a fix for this

Scott, thank you very much for checking it out. However, I have just checked, it gives the same error. 

Below is a part from the logs as it’s too big to paste to the pastebin.com:

 /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(common\_991d718e6da1d61b467a2542206af9ab.o) duplicate symbol '\_nano\_set\_uint64' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(common\_aec90d102b477a2c1a614020a4db3708.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(common\_991d718e6da1d61b467a2542206af9ab.o) duplicate symbol '\_nano\_set\_uint32' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(common\_aec90d102b477a2c1a614020a4db3708.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(common\_991d718e6da1d61b467a2542206af9ab.o) duplicate symbol '\_nano\_decode\_bytes' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(decoder\_common\_615b73c317e83240703794c1ae3893ee.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(decoder\_common\_7bb8121abaf02375f0da94d655962213.o) duplicate symbol '\_nano\_decode\_repeated\_bytes' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(decoder\_common\_615b73c317e83240703794c1ae3893ee.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(decoder\_common\_7bb8121abaf02375f0da94d655962213.o) duplicate symbol '\_nano\_decode\_string' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(decoder\_common\_615b73c317e83240703794c1ae3893ee.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(decoder\_common\_7bb8121abaf02375f0da94d655962213.o) duplicate symbol '\_nano\_decode\_repeated\_string' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(decoder\_common\_615b73c317e83240703794c1ae3893ee.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(decoder\_common\_7bb8121abaf02375f0da94d655962213.o) duplicate symbol '\_nano\_decode\_repeated\_uint64' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(decoder\_common\_615b73c317e83240703794c1ae3893ee.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(decoder\_common\_7bb8121abaf02375f0da94d655962213.o) duplicate symbol '\_nano\_encode\_bytes' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_encode\_repeated\_bytes' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_encode\_string' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_encode\_repeated\_string' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_two\_pass\_encoding' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_encode\_repeated\_uint64' in: /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/Atasozleri oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) ld: 909 duplicate symbols for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) Nov 06 02:21:02.497 BUILD ERROR: There was a problem linking the app. Check the console for more information. Nov 06 02:21:02.498 Nov 06 02:21:02.547 iOS build failed (12) after 1514 seconds Nov 06 02:21:02.794 ERROR: Build Failed: There was a problem linking the app. Check the console for more information. Nov 06 02:21:02.795

Try building now, I don’t have access to admob plugin so I have to fix it based the logs.

Unfortunately, it’s still the same :( 

 /Users/ielmar/Desktop/Atasözleri Oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_two\_pass\_encoding' in: /Users/ielmar/Desktop/Atasözleri Oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/Atasözleri Oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) duplicate symbol '\_nano\_encode\_repeated\_uint64' in: /Users/ielmar/Desktop/Atasözleri Oyunu.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) /Users/ielmar/Desktop/Atasözleri Oyunu.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_dd9a395457c1f1eaff51b2fdc2c4e3a2.o) ld: 909 duplicate symbols for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) Nov 07 11:29:10.311 BUILD ERROR: There was a problem linking the app. Check the console for more information. Nov 07 11:29:10.311 Nov 07 11:29:10.315 iOS build failed (12) after 166 seconds Nov 07 11:29:10.546 ERROR: Build Failed: There was a problem linking the app. Check the console for more information. Nov 07 11:29:10.546

I emailed the corona staff member vlad about this. It sounds like an issue on there end. I waiting to hear back. Do you have problems building with notification v2 at all?

Notification v2 is working normally. I don’t have any error on build but I haven’t checked sending notifications. 

Watching this thread very closely.  For what it’s worth, the Appodeal beta plugin still works with Firebase.

At this point I need corona to fix there plugin to work with my plugin or I need access to plugin files for ios. Because I would have to guess which version they are using of the google tools which would take to long to test and find

FYI, I’ve removed Firebase from my build, but still getting the duplicate symbol error w/Appodeal:

https://forums.coronalabs.com/topic/76601-unable-to-build-ios-wappodeal-build-error-there-was-a-problem-linking-the-app/

vlads and scott, were you able to check this problem? I have just downloaded the latest version of Corona and tried to build with the AdMob and Firebase but got the same error. 

The same error. Any solutions?

Yesterday I built again for iOS and noticed that this error still exists  :frowning:

Will try to make the firebase analytics plugin move to frameworks which should fix this issue. I have to migrate all firebase plugins to frameworks to avoid build errors. 

Scott, any idea when would it finish? I tried to build for iOS again and still had the same error.