Search code examples
iosswiftxcode10chilkatios12

Can't build a project with Chilkat library


Can't build a project with Chilkat library in Xcode10, compilation fails with error:

library not found for -lstdc++.6

Apple Forum shows:

libstdc++ was deprecated about 5 years ago (note that it hasn't been available in tvOS nor watchOS). Please switch to using libc++.

Any ideas on how to migrate the project to iOS12 and Xcode10?


Solution

  • Libstdc++ was deprecated, the support was removed from the iOS 12 simulator (not for device), now you must use libc++ instead.

    Your version of Chilkat library was built with libstdc++, here you can find an updated version built with libc++.

    Replace the library with the new one and rebuild.