library not found for -lstdc++.6 in Xcode 10
Asked Answered
R

1

2

I am not able to build Cordova based iOS app in Xcode Beta and GM version Because In this project used -lstdc++.6. Why because Apple has deprecated -lstdc++.6 this library in the newer Xcode version.

<code>enter image description here</code>

So I have removed this library from the Link Binary With Libraries and also I have added libc++ this library.

After That I am facing this issue linker command failed with exit code 1 (use -v to see invocation).

enter image description here

Could you any one help me how to solve this library issue.

Thanks in Advance.

Rampageous answered 17/9, 2018 at 15:33 Comment(6)
Try this stackoverflow.com/questions/50694822/…Rhyton
@DannyLau I have tried your ways still i am facing the issue. After removed -libstdc++ library and added -libc++ now i am getting symbol not found for architecture x86_64 issue. see my second attached screenshot.Rampageous
Copying and pasting text instead of a screenshot makes that information more accessible to the people from whom you are asking help. (It's probably easier for you as well since you don't have to worry about cropping an image well.)Tap
Probably a duplicate of libstdc++ is deprecated; move to libc++ BUT Changing produces compile error, but it looks like dupes cannot be flagged when there is an open bounty? I re-posted a summary of the dupe's answer here to make it more readily accessible.Tap
Please show the code and/or state the errors. The text on the picture is too small for some people to read. In addition, the text on the image cannot be indexed by search engines for future visitors.Thomson
Possible duplicate of libstdc++ is deprecated; move to libc++ [-Wdeprecated] BUT Changing produces compile errorTap
T
2

Rebuild libMAFLogger with the new library dependency.

Tap answered 10/11, 2018 at 1:59 Comment(2)
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From ReviewMuckraker
@VineethSai Pardon me, but you are wrong. This is not a critique of the question nor a request for clarification. The question is "how to solve this library issue". The issue can be solved by rebuilding the library. Hence my answer.Tap

© 2022 - 2024 — McMap. All rights reserved.