Flurry Plugin Broken (in both Native and Normal)

Hi Rob,

Thanks to your help and excellent tutorial I have been rebuilding apps with Native (conversion from Enterprise) and all is generally well.  

There is an issue with Flurry Plugin.  

Using Corona-2017.3113

I can replicate the same error when Running on Xcode or CoronaSDK Simulator (Building for XCODE)

Adding these lines to build.settings causes the issue.

(I have left the appdeal example in there as it works fine from Native or Local and performs as expected.)

   plugins =    {         ["plugin.appodeal"] =         {             publisherId = "com.coronalabs"         },                  ["plugin.flurry.analytics"] =         {             publisherId = "com.coronalabs"         },              },

The error I receive in Xcode is

clang: error: linker command failed with exit code 1 (use -v to see invocation)

You can see this below - this is the log from CoronaSDK making a simulator build.

Jul 27 02:30:49.989 /Desktop/iosBuilds/May Day.app/.build/plugin.flurry.analytics/libFlurry\_7.5.2.a(PLCrashReporterConfig.o)                     duplicate symbol \_OBJC\_IVAR\_$\_FlurryPLCrashReporterConfig.\_signalHandlerType in:                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.appodeal/libAppodeal.a(PLCrashReporterConfig.o)                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.flurry.analytics/libFlurry\_7.5.2.a(PLCrashReporterConfig.o)                     duplicate symbol \_OBJC\_IVAR\_$\_FlurryPLCrashReporterConfig.\_symbolicationStrategy in:                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.appodeal/libAppodeal.a(PLCrashReporterConfig.o)                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.flurry.analytics/libFlurry\_7.5.2.a(PLCrashReporterConfig.o)                     duplicate symbol \_OBJC\_METACLASS\_$\_FlurryPLCrashReporterConfig in:                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.appodeal/libAppodeal.a(PLCrashReporterConfig.o)                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.flurry.analytics/libFlurry\_7.5.2.a(PLCrashReporterConfig.o)                     duplicate symbol \_OBJC\_CLASS\_$\_FlurryPLCrashUncaughtExceptionHandler in:                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.appodeal/libAppodeal.a(PLCrashUncaughtExceptionHandler.o)                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.flurry.analytics/libFlurry\_7.5.2.a(PLCrashUncaughtExceptionHandler.o)                     duplicate symbol \_OBJC\_METACLASS\_$\_FlurryPLCrashUncaughtExceptionHandler in:                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.appodeal/libAppodeal.a(PLCrashUncaughtExceptionHandler.o)                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.flurry.analytics/libFlurry\_7.5.2.a(PLCrashUncaughtExceptionHandler.o)                     duplicate symbol \_OBJC\_CLASS\_$\_FlurryPLCrashReportMachExceptionInfo in:                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.appodeal/libAppodeal.a(PLCrashReportMachExceptionInfo.o)                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.flurry.analytics/libFlurry\_7.5.2.a(PLCrashReportMachExceptionInfo.o)                     duplicate symbol \_OBJC\_IVAR\_$\_FlurryPLCrashReportMachExceptionInfo.\_codes in:                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.appodeal/libAppodeal.a(PLCrashReportMachExceptionInfo.o)                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.flurry.analytics/libFlurry\_7.5.2.a(PLCrashReportMachExceptionInfo.o)                     duplicate symbol \_OBJC\_IVAR\_$\_FlurryPLCrashReportMachExceptionInfo.\_type in:                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.appodeal/libAppodeal.a(PLCrashReportMachExceptionInfo.o)                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.flurry.analytics/libFlurry\_7.5.2.a(PLCrashReportMachExceptionInfo.o)                     duplicate symbol \_OBJC\_METACLASS\_$\_FlurryPLCrashReportMachExceptionInfo in:                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.appodeal/libAppodeal.a(PLCrashReportMachExceptionInfo.o)                         /Users/peterbishop/Desktop/iosBuilds/May Day.app/.build/plugin.flurry.analytics/libFlurry\_7.5.2.a(PLCrashReportMachExceptionInfo.o)                     ld: 814 duplicate symbols for architecture i386                     clang: error: linker command failed with exit code 1 (use -v to see invocation)                     BUILD ERROR: There was a problem linking the app.                                          Check the console for more information. Jul 27 02:30:49.990 iOS build failed (12) after 81 seconds Jul 27 02:30:50.129 ERROR: Build Failed: There was a problem linking the app.                                          Check the console for more information.

Any ideas?

—consider closed—

Just found this - the search wasn’t working earlier.

https://forums.coronalabs.com/topic/69585-appodeal-and-flurry-namespace-collision/?hl=flurry

@bluetardis

It’s also mentioned in the Apppdeal docs (in the ‘Important’ box):

https://docs.coronalabs.com/plugin/appodeal/

However, if you follow the instructions for creating and linking from the Appeal website… this doesn’t come up.

I didn’t go to check the Corona Website for usage as I already had reference to the AppoDeal Corona Usage… You guys might want to address that.

I wasn’t aware there was an external link. Can you post the link you are referring to?

The Corona plugin documentation link I posted above is the official plugin page.

Here you go.

https://www.appodeal.com/sdk/documentation?framework=36&full=1&platform=4

Thanks!

I’ll tell the Appodeal team to update the docs, or preferably link to the Corona docs instead as they are the official docs which are always kept up-to-date.

—consider closed—

Just found this - the search wasn’t working earlier.

https://forums.coronalabs.com/topic/69585-appodeal-and-flurry-namespace-collision/?hl=flurry

@bluetardis

It’s also mentioned in the Apppdeal docs (in the ‘Important’ box):

https://docs.coronalabs.com/plugin/appodeal/

However, if you follow the instructions for creating and linking from the Appeal website… this doesn’t come up.

I didn’t go to check the Corona Website for usage as I already had reference to the AppoDeal Corona Usage… You guys might want to address that.

I wasn’t aware there was an external link. Can you post the link you are referring to?

The Corona plugin documentation link I posted above is the official plugin page.

Here you go.

https://www.appodeal.com/sdk/documentation?framework=36&full=1&platform=4

Thanks!

I’ll tell the Appodeal team to update the docs, or preferably link to the Corona docs instead as they are the official docs which are always kept up-to-date.