Unable to Build iOS w/Appodeal - BUILD ERROR: There was a problem linking the app.

So, I tried, and

    plugins =     {         ["plugin.notifications.v2"] =         {             publisherId = "com.coronalabs",             supportedPlatforms = { android=true },         },           ["plugin.notifications"] =         {             publisherId = "com.coronalabs",             supportedPlatforms = { iphone=true, ["iphone-sim"]=true },         },     },    

worked for me.

Also note that you would need to require ‘plugin.notifications’ in your main code.

This also didn’t work for me. This time I got the below error: 

 /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) duplicate symbol '\_nano\_encode\_repeated\_bytes' in: /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_9b74fb4ee71a984d5435e89f7dbe85e7.o) /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) duplicate symbol '\_nano\_encode\_string' in: /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_9b74fb4ee71a984d5435e89f7dbe85e7.o) /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) duplicate symbol '\_nano\_encode\_repeated\_string' in: /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_9b74fb4ee71a984d5435e89f7dbe85e7.o) /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) duplicate symbol '\_nano\_two\_pass\_encoding' in: /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_9b74fb4ee71a984d5435e89f7dbe85e7.o) /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) duplicate symbol '\_nano\_encode\_repeated\_uint64' in: /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_9b74fb4ee71a984d5435e89f7dbe85e7.o) /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) ld: 964 duplicate symbols for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have included the notification plugins and the firebaseAnalytics plugins like below: 

if system.getInfo( 'environment' ) ~= 'simulator' then timer.performWithDelay( 1000, function ( ) local notifications = nil local platform = system.getInfo("platform") if "android" == platform then notifications = require( "plugin.notifications.v2") notifications.registerForPushNotifications( { useFCM = true } ) elseif "ios" == platform then notifications = require( "plugin.notifications" ) end end ) firebaseAnalytics = require("plugin.firebaseAnalytics") timer.performWithDelay( 200, function ( ) firebaseAnalytics.init() end ) end

I also commented all the notification plugins, and tried building, it didn’t work. This time the conflict is between GoogleAdmob and firebaseAnalytics.

A few lines from the log:

 /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) duplicate symbol '\_nano\_two\_pass\_encoding' in: /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_9b74fb4ee71a984d5435e89f7dbe85e7.o) /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) duplicate symbol '\_nano\_encode\_repeated\_uint64' in: /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder\_common\_9b74fb4ee71a984d5435e89f7dbe85e7.o) /Users/ielmar/Desktop/BurclerCL.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder\_common\_101f61bd209c1aca3aef10f6a9a8beb0.o) ld: 964 duplicate symbols for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)