Lucky_girl
Lucky_girl

Reputation: 4883

Undefined symbols for architecture i386: "_OBJC_CLASS_$_RCTBundleURLProvider"

I'm getting this error, while building IOS project for react native:

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_RCTBundleURLProvider", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_RCTRootView", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

any ideas how to fix that?

Upvotes: 5

Views: 11987

Answers (1)

MoOx
MoOx

Reputation: 8991

You have to add all lib*.a from React in Link Binary With Libraries section.

See https://stackoverflow.com/a/6429568/988941 and https://stackoverflow.com/a/30133760/988941 for more details

Upvotes: 5

Related Questions