iOS device reporting works fine with Corona Daily.Build 2018.3287 - however, it no longer functions in the last build we used 2018.3334.
We have a theory that it became broken with the upgrade to XCode 9.4 - just a theory at this point, since that is one big difference between these builds, as 3287 is pre-XCode 9.4
@Scott, yes iOS is now working as is Android versions <8. Can you please solve Android versions >=8.0 ? We can confirm with certainty it is not working.
Is it correct that there are -lplugin_firebaseAnalytics as well as -lFirebaseAnalytics (I would say yes, first one is the actual Corona plugin, second the “real” Firebase SDK).
I had my build from ~week ago, apple complained about yandex API (comes with appodeal plugin), so I edited build file to disable yandex, trying to build new version - the same problem as bjoern…
Aug 28 01:24:50.034 \<result\>ld: library not found for -lFirebaseAnalytics clang: error: linker command failed with exit code 1 (use -v to see invocation)\</result\> Aug 28 01:24:50.034 ERROR: Builder failed: ld: library not found for -lFirebaseAnalytics Aug 28 01:24:50.035 clang: error: linker command failed with exit code 1 (use -v to see invocation) Aug 28 01:24:50.035 BUILD ERROR: There was a problem linking the app.
With the latest Public Release and also with the latest Daily Build the error changed to:
\<result\>Undefined symbols for architecture armv7: "\_OBJC\_CLASS\_$\_FIRAnalytics", referenced from: objc-class-ref in libplugin\_firebaseAnalytics.a(firebaseAnalytics.o) "\_OBJC\_CLASS\_$\_FIRApp", referenced from: objc-class-ref in libplugin\_firebaseAnalytics.a(firebaseAnalytics.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)\</result\>
@Scott, we’ve never seen an error message. We simply see that it doesn’t report/populate Firebase appropriately on Android 8.
We are calling firebase.init(). It should show a device entry in the Firebase Analytics dashboard, but it’s not showing there for Android 8 devices, but it does show there for all Android <8 devices.
With latest corona daily build (3361) I have this error:
Examining plugin: plugin.firebaseAnalytics Examining plugin: shared.firebase.core Done. Compiling Slices... Compiling architecture: armv7 Aug 31 01:47:37.286 \<execute\>cd "/var/folders/dd/2h35m15d5t59ng57qf8\_\_gq00000gn/T/CLtmprFj4nX/armv7";unset LIBRARY\_PATH; export IPHONEOS\_DEPLOYMENT\_TARGET=8; export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:/(..... HERE A LOT OF PATHS.... ) \<result\>Undefined symbols for architecture armv7: "\_OBJC\_CLASS\_$\_FIRAnalytics", referenced from: objc-class-ref in libplugin\_firebaseAnalytics.a(firebaseAnalytics.o) "\_OBJC\_CLASS\_$\_FIRApp", referenced from: objc-class-ref in libplugin\_firebaseAnalytics.a(firebaseAnalytics.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)\</result\> Aug 31 01:47:37.287 ERROR: Builder failed: Undefined symbols for architecture armv7: Aug 31 01:47:37.287 "\_OBJC\_CLASS\_$\_FIRAnalytics", referenced from: objc-class-ref in libplugin\_firebaseAnalytics.a(firebaseAnalytics.o) "\_OBJC\_CLASS\_$\_FIRApp", referenced from: objc-class-ref in libplugin\_firebaseAnalytics.a(firebaseAnalytics.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) Aug 31 01:47:37.302 BUILD ERROR: There was a problem linking the app. Check the console for more information. Aug 31 01:47:37.302 Aug 31 01:47:37.348 iOS build failed (12) after 179 seconds
I can confirm that building for iOS is now working again, but I can also confirm that Firebase Analytics is not working on Android 8 (no output in console, no entries in Firebase dashboard).