corymsmith / react-native-icons

Quick and easy icons in React Native
MIT License
1.14k stars 141 forks source link

libReactNativeIcons.a causes project fail #70

Closed scottwall0 closed 9 years ago

scottwall0 commented 9 years ago

I may be totally doing this wrong, but adding libReactNativeIcons.a to my Link Binary with Libraries Build Phase causes the build to fail. I was wondering if you had any idea why that might be.

scottwall0 commented 9 years ago

Undefined symbols for architecture x86_64: "_RCTRegisterModule", referenced from: +[SMXTabBarItemManager load] in libReactNativeIcons.a(SMXTabBarItemManager.o) +[SMXTabBarManager load] in libReactNativeIcons.a(SMXTabBarManager.o) +[FAKIconImageManager load] in libReactNativeIcons.a(FAKIconImageManager.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

corymsmith commented 9 years ago

@scottwall0 I'm guessing this has something to do with how everything is being included. Make sure that you've confirmed all the setup steps and you're including React Native Icons in the right project / target.

corymsmith commented 9 years ago

Closing this for now as it appears it wasn't added to the project correctly