react-native-social-share icon indicating copy to clipboard operation
react-native-social-share copied to clipboard

ios build failed (Linker Command Fail)

Open nertilzhuri opened this issue 7 years ago • 5 comments

First of all thank you for this great library.

I am having a hard time configuring it due to build failures on iOS: I have done everything as readme suggests (react-native link, linking libraries in xcode...), and whenever I try to build (either xcode or terminal) I get the following error:

Apple Match-O Linker Error: Linker command failed with exit code 1 social-share-problem

I also want to mention that the files inside the Libraries folder are missing (even after reinstalling a couple of times) as you can see on the image below. This problem was mentioned also in issue #22 social-share-problem-2

I have tried the following:

  • Cleaning the project and rebuilding
  • Removing the files and re-linking
  • Reinstalling the library

System Information and Development Environment react: 16.0.0-alpha.12 react-native: 0.45.1 Simulator: iphone6

I am looking forward for any solution or any way I can be helpful. Thank you in advance.

nertilzhuri avatar Aug 08 '17 23:08 nertilzhuri

I faced same time. Removing lRCTWebSocketDebugger.a in TARGETS-> {YOUR PROJECT}->Build Phases->Link Binary With Libraries solved this issue. Hope this will help you!

shtsht avatar Sep 03 '17 07:09 shtsht

Thanks @shtsht , It also works for me.

LeoTianJob avatar Sep 21 '17 10:09 LeoTianJob

wow it works , But Why ?

imchathu87 avatar May 17 '18 19:05 imchathu87

Thank you, everyone, for helping out 😄 Is this an edge case or something that we should include into the README as a setup step?

doefler avatar May 17 '18 22:05 doefler

@doefler nop , I think its better you put a new release by fixing that :) , bcs its a issue

imchathu87 avatar May 18 '18 01:05 imchathu87