Why cocoapods plugin adds `spec.libraries = "c++"`...
# kotlin-native
t
Why cocoapods plugin adds
spec.libraries = "c++"
to generated podspec? As far as I understand kotlin native does not generate c++ code or link with c++ libraries for ios targets.
i
The stadard C++ library is used by the Kotlin/Native runtime. The CocoaPods plugin generates a static framework thus a final app needs to link against C++ stdlib
t
Thank you for answer 👍