REACT NATIVE (VERSION-0.62) IOS build error( library not found for -lCocoaAsyncSocket and linker command failed )

joKeRCodinG
2 min readMay 17, 2020

--

Hello guys here is the solution for ios build failed problem for React Native (0.62).

Above shown is the problem.

Solution is simple.

  1. . Just click the show project navigator.

2).Then click on the Project name.

3).Now click on Project name under target as shown below.

4).Now click on All and search for Library Search Path.Click on Library search Path and if there present ${inherited},place at top.If nothing is present under Library search path like mine .Add ${inherited} by clicking add button on bottom shown below and also remove quotes from other paths if present.

6).If problem not solved go to point 3 agin and click project name under Project above targets follow same procedure upto 5th point.

7). Now go for building the app and you will see problem solved.

If above given solution do not just try to switch the build system from legacy system to new build system.

Go to Files — ->Workspace Setting — ->Build system.

If you find this helpful please share and Enjoy react native 0.62 version

Thank you guys .

Happy Coding :-).

--

--

joKeRCodinG

Enthusiastic Programmer. Love coding and finding problem's solution. Curious to explore new things.