0

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?

Kerberos
  • 4,036
  • 3
  • 36
  • 55
Dmitry Klimkin
  • 445
  • 3
  • 15

1 Answers1

1

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.

Kerberos
  • 4,036
  • 3
  • 36
  • 55