iOS build error with version 2019.3535 for MacOS Catalina

Hi, all!

I have updated to MacOS Catalina a few days ago and now I can not build for iOS. When upgraded to the version 2019.3538 I could not build for neither Android nor iOS. Then I deleted the version 2019.3538 and installed the version 2019.3535. This time I was able to build for Android but for iOS it does not work. I have tried to paste the log to pastebin and one other site but they kept telling me that the logs are too long, so I can not add a link to the logs. However, below are the latest lines of the log: 

 /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 

By the way, I have tried both with GADApplicationIdentifier added and without it. 

Can you share your build.settings?

Can you please try the latest daily build?

Rob

Rob, after reading your post about your successful build on MacOS Catalina, I installed 2019.3538 again and was able to build for Android but not for iOS. I have just installed the latest one and have tried to build for iOS but I got the same error. I also assume that Xcode 11.0 might be the reason. However I was not able to install Xcode 11.1 although I have tried to install 5-6 times today. Now it’s being downloaded again. If I can succeed to install it, I’ll try to build and inform you about the result. 

Below is my build.settings:

-- -- For more information on build.settings, see the Project Build Settings guide at: -- https://docs.coronalabs.com/guide/distribution/buildSettings -- settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, }, -- -- Android section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.GET\_ACCOUNTS", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.ACCESS\_FINE\_LOCATION", "android.permission.RECEIVE\_BOOT\_COMPLETED", "android.permission.VIBRATE", "android.permission.WRITE\_EXTERNAL\_STORAGE" }, applicationChildElements = { [[\<meta-data android:name="com.google.android.gms.ads.APPLICATION\_ID" android:value="ca-app-pub-4700703729931997~6335344891"/\>]], }, useGoogleServicesJson = true, }, -- -- iOS section -- iphone = { xcassets = "Images.xcassets", plist = { GADApplicationIdentifier = "ca-app-pub-4700703729931997~9691574843", UIStatusBarHidden = false, UILaunchStoryboardName = "LaunchScreen", NSAppTransportSecurity = { NSAllowsArbitraryLoads=true }, UIBackgroundModes = { "remote-notification" }, FirebaseAppDelegateProxyEnabled = false, CFBundleDisplayName = "Yol nişanları", CFBundleName = "com.elitsolutions.yolnisanlari", NSLocationAlwaysUsageDescription = "Ads code requires location data to show more related ad", NSBluetoothAlwaysUsageDescription = "This app would like to access bluetooth.", }, }, -- -- Plugins section -- plugins = { ["plugin.utf8"] = { publisherId = "com.coronalabs" }, ["plugin.firebaseAnalytics"] = { publisherId = "tech.scotth", }, ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true } }, ["plugin.nanosvg"] = { publisherId = "com.coronalabs" }, ['plugin.appodeal.base'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AdColony'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AmazonAds'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Appnext'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Chartboost'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Flurry'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.GoogleAdMob'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.InMobi'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.IronSource'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Mobvista'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.MyTarget'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Ogury'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.StartApp'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Tapjoy'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Unity'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Vungle'] = { publisherId = 'com.coronalabs' }, ['plugin.appodeal.Yandex'] = { publisherId = 'com.coronalabs' }, }, -- -- Project section -- excludeFiles = { -- Exclude unnecessary files for each platform all = { "Icon.png", "Icon-\*dpi.png", "Images.xcassets", }, android = { "LaunchScreen.storyboardc", }, }, }

By the way, thinking that the new GADApplicationIdentifier line for iOS might be the cause, I have also tried to build commenting the line out without any success. 

Rob, I have installed Xcode 11.1 but it still gives the same error.  :frowning:

It looks like a lot of the duplicate symbols are in the Firebase Analytics plugin. Can you try and comment that out and see if you still have the issue?

Rob

Rob, I tried what you said but it did not work. But this time I was able to upload the logs to pastebin.

https://pastebin.com/FRHMeuGN

Rob, commenting out GoogleAdMob from Appodeal inside build.settings worked and I was able to build. 

Hey. 

I don’t think it’s possible to use Firebase Analytics with the Appodeal AdMob. They both use same shared libraries of different versions

Vlads, I have been using Appodeal Admob with Firebase Analytics for some time. Maybe Appodeal changed it on the latest SDK. So it means I have to choose either Firebase Analytics or Appodeal Admob?

It seems like this is the case currently, unfortunately. Sorry