SDKBOX Firebase "framework not found FirebaseAnalytics" (default install)

SDKBOX Firebase "framework not found FirebaseAnalytics" (default install)
0.0 0

#1

I have spent three hours trying to no success to get the latest SDKBOX Firebase plugin integrated into any 2.x or 3.x project, including newly created sample projects.

Running “sdkbox import firebase” installs successfully from the project folder. But on compile I receive the error:

ld: framework not found FirebaseAnalytics
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have tried Cocos2dx v2.2.6 and v3.13.1 with both exhibiting the same problem. The PluginFirebase.framework and related appear correctly under Frameworks and also in Link Binary with Libraries.

Additionally if I remove the #ifdef SDKBOX_ENABLED clauses then it throws another error: “‘PluginFirebase/PluginFirebase.h’ file not found”

I’ve not had such issues with the other SDKBOX plugins. Any assistance would be appreciated. Also can Firebase be used to track IAP revenue with SDKBOX?


#2

very sorry for this issue.

you can fix it by bellow steps:

thanks,

and you need to upgrade your sdkbox command tool to latest version

$ sdkbox import firebase
  _______ ______  _     _ ______   _____  _     _
  |______ |     \ |____/  |_____] |     |  \___/
  ______| |_____/ |    \_ |_____] |_____| _/   \_
 Copyright (c) 2016-2017 SDKBOX Inc. v1.0.1.23

it should work.