Build Error iOS GameAnalytics

Hello
I have a problem with building for iOS with plugin GameAnalytics
(2020.3600, Catalina)
https://gameanalytics.com/docs/item/corona-sdk

/Users/alexey/Documents/Build Corona Apps/Fitness-Up.app/.build/plugin.gameanalytics_v2/libGameAnalytics.a(GAValidator.o)
                ld: 143 duplicate symbols for architecture armv7
                clang: error: linker command failed with exit code 1 (use -v to see invocation)

Jun 18 13:12:30.918 BUILD ERROR: There was a problem linking the app.

                Check the console for more information.

Jun 18 13:12:30.918
Jun 18 13:12:30.937 iOS build failed (2) after 10 seconds
Jun 18 13:12:31.249 ERROR: Build Failed: There was a problem linking the app.

                Check the console for more information.

Is anybody has the same problem?
Any cases of fix? Or maybe I can’t use this plugin now with Solar2D

Not sure if it’s the exact same problem, but see this: gameAnalytics plugin duplicate symbol problems

I too can’t get the official GA plugin to work, but using @agramonte’s plugin has worked fine.

1 Like

Thank you
Do you use version of plugin [“plugin.gameanalytics”] in build settings?
Here https://gameanalytics.com/docs/item/corona-sdk I see [“plugin.gameanalytics_v2”]
Do you use the same documentation?

I’m not sure why they’re different. I’m using plugin.gameanalytics_v2 and it works for me. I think I tried without _v2 and that worked too but not sure… Maybe @agramonte can explain better how it works?

This is from my build.settings:

        ["plugin.gameanalytics_v2"] = {
            publisherId = "com.cabagomez",
            supportedPlatforms = {
                iphone = { url="https://cabagomez.com/plugins/0620str3w2mp232ssf/ios/beta/gameanalytics.tgz" },
                android = false,
                macos = false,
                win32 = false
            },
        },
1 Like

Actually it doesn’t matter what you put there. You can name the plugin “plugin.yournameilikefastcars” and it should work as long as you follow this documentation:

https://gameanalytics.com/docs/item/corona-sdk

1 Like