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.

iSara
  • 919
  • 3
  • 10
  • 24
  • Try this https://stackoverflow.com/questions/50694822/xcode-10-ios-12-does-not-contain-libstdc6-0-9 – Danny Lau Sep 17 '18 at 15:45
  • @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. – iSara Sep 19 '18 at 05:06
  • 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.) – JaMiT Nov 10 '18 at 02:00
  • 2
    Probably a duplicate of [libstdc++ is deprecated; move to libc++ BUT Changing produces compile error](https://stackoverflow.com/questions/46927007/libstdc-is-deprecated-move-to-libc-wdeprecated-but-changing-produces-com), 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. – JaMiT Nov 10 '18 at 02:03
  • 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. – jww Nov 10 '18 at 02:51
  • Possible duplicate of [libstdc++ is deprecated; move to libc++ \[-Wdeprecated\] BUT Changing produces compile error](https://stackoverflow.com/questions/46927007/libstdc-is-deprecated-move-to-libc-wdeprecated-but-changing-produces-com) – JaMiT Nov 19 '18 at 03:15

1 Answers1

2

Rebuild libMAFLogger with the new library dependency.

JaMiT
  • 14,422
  • 4
  • 15
  • 31
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - [From Review](/review/low-quality-posts/21379414) – Vineeth Sai Nov 11 '18 at 07:31
  • @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. – JaMiT Nov 11 '18 at 11:38