Has anyone been able to get a j2objc library to wo...
# multiplatform
n
Has anyone been able to get a j2objc library to work on multiplatform? I’m importing the library using cocoapods.
xcodebuild
fails to build the Pods.xcodeproj with error 65.
Copy code
** BUILD FAILED **
The following build commands failed
CompileC [long dir]/AbstractQuoteEventSchema.o [long dir]/AbstractQuoteEventSchema.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC [long dir]/AccountBalanceMessageHandler.o [long dir/AccountBalanceMessageHandler.m  normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
k
I’ve done this, but not with cocoapods. It should work, in theory
n
I used the cocoa pods example project which worked fine until I added my library to it.
k
I’d have to assume some kind of library/header path or linking issue with j2objc
n
That’s what I’m thinking too
k
I haven’t looked at J2objc since 2018, though. Details are hazy
I mean, they can definitely talk to each other. I’ve done it. Just the cinterop setup is painful
n
thanks. While I still think it’s a header issue, this pod compiles fine with just normal xcode.