Appodeal Build Error

Replacing AdMob with Appodeal and getting this error during build:

ERROR: Builder failed: ld: warning: directory not found for option ‘-F/Users/MacBook/Documents/CoronaLabs Projects/SimonSays.app/Frameworks’

Jul 26 09:39:36.174 ld: in /Users/MacBook/Documents/CoronaLabs Projects/SimonSays.app/.build/plugin.appodeal/libAppodeal.a(hmac.o), could not parse object file /Users/MacBook/Documents/CoronaLabs Projects/SimonSays.app/.build/plugin.appodeal/libAppodeal.a(hmac.o): ‘Unknown attribute kind (45)Unknown attribute kind (45)Unknown attribute kind (45)’, using libLTO version ‘Apple LLVM 7.0.0 (clang-700.1.76)’ for architecture armv7

                    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.

Corona version: 2017.3068

MacOS: OS X Yosemite

Build iOS SDK: 10.9

Local iOS SDK: 9.1

Build is successful if Appodeal code is removed.

Build is successful if Appodeal code is replaced with AdMob code.

Build will crash when Appodeal is the ONLY plugin used. 

Why does Appodeal plugin hate me?  :frowning:

Thanks in advance!

Are you sure you are using Xcode 8?

Also keep in mind that Corona build 3068 is built for macOS 10.12 (Sierra) and may cause issues if you use it with an older version of macOS.

I’ll make the necessary upgrades and see if that resolves the issue. Perhaps the Appodeal plug-in requires newer versions of Xcode and macOS when all of the other plug-ins I’m using does not. 

Upgraded OS and Xcode and the problem is resolved. Thanks for the info ingemar!

Seeing similar error to above using Mac OS 10.12.5 and XCode 8.3.3 with Corona build 3068 and still seeing this issue when I try to use the Appodeal plug-in.

Is there a specific version of XCode and Mac OS that is required?

On Android, it builds and produces this runtime error on most devices (pre-launch report from Alpha):

java.lang.IllegalStateException: Flurry SDK must be initialized before ending a session

Could be some other combination in build settings as the console also shows the following type of build errors in the console:

plugin.appodeal/libAppodeal.a(PLCrashReportMachExceptionInfo.o)

                    ld: 95 duplicate symbols for architecture armv7

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

Duplicate symbol _MAX_EVENT_PARAMETERS in:

                        /Users/rogerkemper/Documents/Corona Projects/Test Build v1222.app/.build/CoronaProvider.analytics.flurry/libanalytics-flurry.a(libFlurry.a-armv7-master.o)

No problems when building with Vungle or AppNext.

@rogkem

There are a few plugins that cannot be used together with the Appodeal plugin as per the documentation here (see the “Important” box):

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

It looks like you are using the Flurry Analytics plugin, which is among those that are unsupported in combination with Appodeal.

Ok, thanks for the quick response. Too bad. Was hoping to try Appodeal but we really need Flurry at the moment.

Are you sure you are using Xcode 8?

Also keep in mind that Corona build 3068 is built for macOS 10.12 (Sierra) and may cause issues if you use it with an older version of macOS.

I’ll make the necessary upgrades and see if that resolves the issue. Perhaps the Appodeal plug-in requires newer versions of Xcode and macOS when all of the other plug-ins I’m using does not. 

Upgraded OS and Xcode and the problem is resolved. Thanks for the info ingemar!

Seeing similar error to above using Mac OS 10.12.5 and XCode 8.3.3 with Corona build 3068 and still seeing this issue when I try to use the Appodeal plug-in.

Is there a specific version of XCode and Mac OS that is required?

On Android, it builds and produces this runtime error on most devices (pre-launch report from Alpha):

java.lang.IllegalStateException: Flurry SDK must be initialized before ending a session

Could be some other combination in build settings as the console also shows the following type of build errors in the console:

plugin.appodeal/libAppodeal.a(PLCrashReportMachExceptionInfo.o)

                    ld: 95 duplicate symbols for architecture armv7

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

Duplicate symbol _MAX_EVENT_PARAMETERS in:

                        /Users/rogerkemper/Documents/Corona Projects/Test Build v1222.app/.build/CoronaProvider.analytics.flurry/libanalytics-flurry.a(libFlurry.a-armv7-master.o)

No problems when building with Vungle or AppNext.

@rogkem

There are a few plugins that cannot be used together with the Appodeal plugin as per the documentation here (see the “Important” box):

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

It looks like you are using the Flurry Analytics plugin, which is among those that are unsupported in combination with Appodeal.

Ok, thanks for the quick response. Too bad. Was hoping to try Appodeal but we really need Flurry at the moment.