https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

Ameen Azeez

12/13/2023, 4:58 AM
Hey! I was trying to import an iOS Cocoapod to be used iOSMain
Copy code
cocoapods {
    version = "1.13.1"
    ios.deploymentTarget = "14.1"

    pod("MLPNeuralNet") {
        headers = "MLPNeuralNet.h"
        version = "1.0.10"
    }
}
It is an objc library, But I'm getting an error when I try use the the constructor,
Copy code
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_MLPNeuralNet", referenced from:
      objc-class-ref in shared(shared.framework.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Do we need to do any additional steps first to support objc?
2 Views