Hi, I'm trying to add Swift-only pod to K/N by add...
# kotlin-native
j
Hi, I'm trying to add Swift-only pod to K/N by adding a Swift wrapper with @objc on top. I created a separate project, created a pod out of it, but the build fails with ambiguous message
xcodebuild failed with error 65
. If I try to add the @objc wrapper directly to the pod in question, the build fails with
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$__TtC11CryptoSwift9CryptoAES", referenced from:
objc-class-ref in result.o
Which references exactly the wrapper that I created. What am I missing?
a
Hey, got same issue. Thats how it was solved: https://kotlinlang.slack.com/archives/C3SGXARS6/p1600332571219100
j
I don't have a problem with pods in general, AFNetworking from samples is working fine. But this specific usecase is failing for some reason