thevinchi / firebase-titanium

Titanium Native iOS Module for Firebase
MIT License
22 stars 11 forks source link

Error on app build #4

Open boardmain opened 9 years ago

boardmain commented 9 years ago

Hi when i try to build one app with this module i have this error

Undefined symbols for architecture x86_64:
  "_filterDataInRange", referenced from:
      +[ApplicationRouting resolveAppAsset:] in ApplicationRouting.o
      -[ComLeftlanelabFirebaseModuleAssets moduleAsset] in libcom.leftlanelab.firebase.a(ComLeftlanelabFirebaseModuleAssets.o)
      -[ComLeftlanelabFirebaseModuleAssets resolveModuleAsset:] in libcom.leftlanelab.firebase.a(ComLeftlanelabFirebaseModuleAssets.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
boardmain commented 9 years ago

anyone is following this repo?

gimdongwoo commented 9 years ago

Hi, @boardmain If you install module to inside project folder, open 'module.xconfig' and delete this 2 lines.

FRAMEWORK_SEARCH_PATHS=$(FRAMEWORK_SEARCH_PATHS) "/Library/Application Support/Titanium/modules/iphone/com.leftlanelab.firebase/1.1/platform" FRAMEWORK_SEARCH_PATHS=$(FRAMEWORK_SEARCH_PATHS) "~/Library/Application Support/Titanium/modules/iphone/com.leftlanelab.firebase/1.1/platform"

left only this 2 lines

FRAMEWORK_SEARCH_PATHS=$(SRCROOT)/../../modules/iphone/com.leftlanelab.firebase/1.1/platform OTHER_LDFLAGS=$(inherited) -dynamic -licucore -lc++ -framework CFNetwork -framework Security -framework SystemConfiguration -framework Firebase