Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

IOS There was a problem linking the app. when Firebase analytics
Started by anna.krepchenko Jan 18 2020 09:41 AM

10 replies to this topic
firebase analytics ios build
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

anna.krepchenko

[GLOBAL: userInfoPane.html]
anna.krepchenko
  • Observer

  • 9 posts
  • Corona SDK

I've daily corona builds 2020.3567 and 2020.3561 
Firebase analytics is connected

Today both of them failed to build ios with error:  There was a problem linking the app. 
https://pastebin.com/BJswwZ6B

W
hen disable  firebase analytics - everything is OK
Android is OK too



[TOPIC: post.html]
#2

ddubya82

[GLOBAL: userInfoPane.html]
ddubya82
  • Enthusiast

  • 51 posts
  • Corona SDK

Confirming same behaviour.  Receiving "problem linking the app" whenever building iOS w/Firebase plugin. Everything was fine a few weeks ago.  Building w/ 2020.3565.



[TOPIC: post.html]
#3

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,842 posts
  • Enterprise

This has been patched, was just updating Firebase Verisons
  • anna.krepchenko likes this

[TOPIC: post.html]
#4

rich.stupek

[GLOBAL: userInfoPane.html]
rich.stupek
  • Enthusiast

  • 73 posts
  • Corona SDK

scott how do we get the latest version of the plugin?



[TOPIC: post.html]
#5

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,842 posts
  • Enterprise

scott how do we get the latest version of the plugin?


Make sure you build with 2019.3497 version of corona or higher. I should automatically be using it when you build.

[TOPIC: post.html]
#6

rich.stupek

[GLOBAL: userInfoPane.html]
rich.stupek
  • Enthusiast

  • 73 posts
  • Corona SDK

I tried the latest daily build and I'm getting a linking error if I include firebase analytics



[TOPIC: post.html]
#7

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,842 posts
  • Enterprise

Can you screenshot the error and tell me which plugins you are using?

[TOPIC: post.html]
#8

rich.stupek

[GLOBAL: userInfoPane.html]
rich.stupek
  • Enthusiast

  • 73 posts
  • Corona SDK

exact same errors as the initial report above (linking an object file  built for free standing) and these are the plugins... several of yours
 
        ["plugin.reviewPopUp"] =
        {
        publisherId = "tech.scotth",
        supportedPlatforms = { iphone=true, appletvos=true }
        },
        ["plugin.keyboardEvents"] =
        {
            publisherId = "net.shakebrowser",
            supportedPlatforms = { android=false,iphone=true }
        },
        ["plugin.apple.iap"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { iphone=true }
        },
        ["CoronaProvider.native.popup.activity"] =
        {
        publisherId = "com.coronalabs",
        supportedPlatforms = { iphone=true, ["iphone-sim"]=true },
        },
 
        ["CoronaProvider.native.popup.social"] =
        {
        publisherId = "com.coronalabs",
        supportedPlatforms = { iphone=true, ["iphone-sim"]=true },
        },
        ["plugin.iCloud"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { iphone=true, appletvos=true, osx=true }
        },
 
 
 
 
 
        ["plugin.notifications.v2"] =
        {
            publisherId = "com.coronalabs",
        },
        
        ["plugin.admob"] =
        {
        publisherId = "com.coronalabs",
        supportedPlatforms = { iphone=true, android=true,simulator=false }
        },
        
        ["plugin.unityads"] =
        {
        publisherId = "com.coronalabs",
        supportedPlatforms = { iphone=true, android=true,simulator=false,["android-kindle"]=false }
        },
 
        ["shared.android.support.v4"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { android=true }
        },
        ["plugin.animation"] =
        {
            publisherId = "com.coronalabs"
        },
 
        ["plugin.google.iap.v3"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { android=true }
        },
["plugin.firebaseAnalytics"] = {
publisherId = "tech.scotth",
},
        ["plugin.universalLinks"] =
        {
            publisherId = "tech.scotth"
        },


[TOPIC: post.html]
#9

bamazy

[GLOBAL: userInfoPane.html]
bamazy
  • Contributor

  • 146 posts
  • Corona SDK

Scott, I also still have this linking problem on iOS. Firebase conflicts with AppodealAdMob. 

 

Here is the last few lines from the logs. 

duplicate symbol '_nano_encode_repeated_bytes' in:
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder_common_9b74fb4ee71a984d5435e89f7dbe85e7.o)
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder_common_4d497ecae390ce202564f0aacda54d48.o)
                    duplicate symbol '_nano_encode_string' in:
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder_common_9b74fb4ee71a984d5435e89f7dbe85e7.o)
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder_common_4d497ecae390ce202564f0aacda54d48.o)
                    duplicate symbol '_nano_encode_repeated_string' in:
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder_common_9b74fb4ee71a984d5435e89f7dbe85e7.o)
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder_common_4d497ecae390ce202564f0aacda54d48.o)
                    duplicate symbol '_nano_two_pass_encoding' in:
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder_common_9b74fb4ee71a984d5435e89f7dbe85e7.o)
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder_common_4d497ecae390ce202564f0aacda54d48.o)
                    duplicate symbol '_nano_encode_repeated_uint64' in:
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder_common_9b74fb4ee71a984d5435e89f7dbe85e7.o)
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.firebaseAnalytics/libGoogleAppMeasurement.a(encoder_common_4d497ecae390ce202564f0aacda54d48.o)
                    ld: 833 duplicate symbols for architecture armv7
                    clang: error: linker command failed with exit code 1 (use -v to see invocation)
Jan 26 11:38:48.132 BUILD ERROR: There was a problem linking the app.
                    
                    Check the console for more information.


[TOPIC: post.html]
#10

bamazy

[GLOBAL: userInfoPane.html]
bamazy
  • Contributor

  • 146 posts
  • Corona SDK

When I commented out firebaseAnalytics plugin, I got the same error. However, this time Notifications plugin causes the linking problem. 

 

The last few lines from the log:

duplicate symbol '_nano_encode_repeated_bytes' in:
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder_common_9b74fb4ee71a984d5435e89f7dbe85e7.o)
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.notifications.v2/libFirebaseCore.a(encoder_common_34de39bc9fe23439c6f2f03a5d58ea6f.o)
                    duplicate symbol '_nano_encode_string' in:
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder_common_9b74fb4ee71a984d5435e89f7dbe85e7.o)
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.notifications.v2/libFirebaseCore.a(encoder_common_34de39bc9fe23439c6f2f03a5d58ea6f.o)
                    duplicate symbol '_nano_encode_repeated_string' in:
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder_common_9b74fb4ee71a984d5435e89f7dbe85e7.o)
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.notifications.v2/libFirebaseCore.a(encoder_common_34de39bc9fe23439c6f2f03a5d58ea6f.o)
                    duplicate symbol '_nano_two_pass_encoding' in:
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder_common_9b74fb4ee71a984d5435e89f7dbe85e7.o)
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.notifications.v2/libFirebaseCore.a(encoder_common_34de39bc9fe23439c6f2f03a5d58ea6f.o)
                    duplicate symbol '_nano_encode_repeated_uint64' in:
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.appodeal.GoogleAdMob/GoogleAppMeasurement.framework/GoogleAppMeasurement(encoder_common_9b74fb4ee71a984d5435e89f7dbe85e7.o)
                        /Users/ielmar/Desktop/Capitals Game.app/.build/plugin.notifications.v2/libFirebaseCore.a(encoder_common_34de39bc9fe23439c6f2f03a5d58ea6f.o)
                    ld: 69 duplicate symbols for architecture armv7
                    clang: error: linker command failed with exit code 1 (use -v to see invocation)
Jan 26 11:48:30.354 BUILD ERROR: There was a problem linking the app.
                    
                    Check the console for more information.


[TOPIC: post.html]
#11

bamazy

[GLOBAL: userInfoPane.html]
bamazy
  • Contributor

  • 146 posts
  • Corona SDK

Commenting the NotificationV2 plugin and keeping the firebaseAnalytics plugin also gave the same error. 




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: firebase analytics, ios, build