Skip to content
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

Linker Issue #716

Closed
Florent75 opened this issue Apr 14, 2020 · 4 comments
Closed

Linker Issue #716

Florent75 opened this issue Apr 14, 2020 · 4 comments

Comments

@Florent75
Copy link

Hi,

I am finalizing the portage of react native from React Native 0.59.10 -> 0.62.2.

I have never installed CocoaAsynSocket before and It seems not tot be mandatory in 0.59.10 React native.

Now that I am in 0.62.2,
Even though I have never installed CocoaAsyncSocket, It seems that Xcode need it as I do have a linker error specifying that CocoaAsynSocket library has not been found.

What I have tried :

  • Install CocoaAsyncSocket by following the installation section (pod ...)
  • Do a full reinstallation of Pod :
    -> Pod deintegrate
    -> rm Pods directory
    -> Pod install

But It still do have the issue.

Any idea why it seems mandatory in 0.62.2 and how to solve this issue ?

@github-actions
Copy link

This issue has been marked as stale, it will be closed automatically if there is no further activity.

@zyestin
Copy link

zyestin commented Jul 30, 2020

This problem happen on my react-native proj, too

Xcode error log as below

ld: warning: directory not found for option '-L-L/Users/dl/Library/Developer/Xcode/DerivedData/AwesomeProject2-giwtpfenakfobuhgidjxpzvogfnc/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket'
ld: library not found for -lCocoaAsyncSocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)

my proj version info as below

react-native: 0.63.2
Xcode: 11.3.1
CocoaAsyncSocket: 7.6.0

@zyestin
Copy link

zyestin commented Jul 30, 2020

Hi,

I am finalizing the portage of react native from React Native 0.59.10 -> 0.62.2.

I have never installed CocoaAsynSocket before and It seems not tot be mandatory in 0.59.10 React native.

Now that I am in 0.62.2,
Even though I have never installed CocoaAsyncSocket, It seems that Xcode need it as I do have a linker error specifying that CocoaAsynSocket library has not been found.

What I have tried :

* Install CocoaAsyncSocket by following the installation section (pod ...)

* Do a full reinstallation of Pod :
  -> Pod deintegrate
  -> rm Pods directory
  -> Pod install

But It still do have the issue.

Any idea why it seems mandatory in 0.62.2 and how to solve this issue ?

Have you fixed this issue? This problem stuck me. Please help me~ 3q

@zyestin
Copy link

zyestin commented Jul 30, 2020

This problem happen on my react-native proj, too

Xcode error log as below

ld: warning: directory not found for option '-L-L/Users/dl/Library/Developer/Xcode/DerivedData/AwesomeProject2-giwtpfenakfobuhgidjxpzvogfnc/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket'
ld: library not found for -lCocoaAsyncSocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)

my proj version info as below

react-native: 0.63.2
Xcode: 11.3.1
CocoaAsyncSocket: 7.6.0

Finally, I found the solution
facebook/react-native#28483 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants