-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking error on iOS #396
Comments
Your error doesn't really look like an error, do you have any more info? |
Give me a couple of minutes man, I'll show you the complete log |
Found Xcode project example.xcodeproj
=== BUILD TARGET RCTWebSocket OF PROJECT RCTWebSocket WITH CONFIGURATION Debug === Check dependencies === BUILD TARGET ReactNativeNavigation OF PROJECT ReactNativeNavigation WITH CONFIGURATION Debug === === BUILD TARGET RCTVibration OF PROJECT RCTVibration WITH CONFIGURATION Debug === Check dependencies === BUILD TARGET RNVectorIcons OF PROJECT RNVectorIcons WITH CONFIGURATION Debug === CompileC /myproject/ios/build/Build/Intermediates/RNVectorIcons.build/Debug-iphonesimulator/RNVectorIcons.build/Objects-normal/x86_64/RNVectorIconsManager.o RNVectorIconsManager/RNVectorIconsManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler In file included from /myproject/node_modules/react-native-vector-icons/RNVectorIconsManager/RNVectorIconsManager.m:9: === BUILD TARGET React OF PROJECT React WITH CONFIGURATION Debug === === BUILD TARGET RCTActionSheet OF PROJECT RCTActionSheet WITH CONFIGURATION Debug === Check dependencies === BUILD TARGET RCTLinking OF PROJECT RCTLinking WITH CONFIGURATION Debug === Check dependencies === BUILD TARGET RCTSettings OF PROJECT RCTSettings WITH CONFIGURATION Debug === Check dependencies === BUILD TARGET RCTGeolocation OF PROJECT RCTGeolocation WITH CONFIGURATION Debug === Check dependencies === BUILD TARGET RCTAnimation OF PROJECT RCTAnimation WITH CONFIGURATION Debug === Check dependencies === BUILD TARGET RCTNetwork OF PROJECT RCTNetwork WITH CONFIGURATION Debug === Check dependencies ** BUILD FAILED ** The following build commands failed: (1 failure) Installing build/Build/Products/Debug-iphonesimulator/example.app |
I've also tried with the podfile (clearly with the relative path, as you suggest in #394), however I ended up with errors anyway |
OK, you need to upgrade RN to 0.40 or downgrade RNVI to 3.0 |
Thanks you for your patience, I'm closing this one. I've also pulled a request where I added some related info to the README file. |
Env info:
Error
Description
I followed what your documentation says: at first I tried
react-native link
(which actually works well with Android), and discovered that the plist file and the font used by application section were alright. However, I had to manually add libRNVectorIcons.a to "Link Binary With Libraries". After all this steps, still no results at all. The same project can be built successfully on Android, an the iOS project did too until I added react-native-vector-icons. Please, I'm open to any suggestion. Also, thank you for your time spent developing this library.The text was updated successfully, but these errors were encountered: