Any clue on what this might mean: ```/Users/teamci...
# kotlin-native
t
Any clue on what this might mean:
Copy code
/Users/teamcity3/buildAgent/work/4d622a065c544371/runtime/src/main/cpp/ObjCExport.mm:345: runtime assert: Unable to add 'toKotlin:' method to NSBlock class
I get this when accessing Kotlin/Native code from Objective-C and having a Swift Framework wrapper also present. Calling from Swift there is no issue.
s
You probably have the same framework loaded twice. Is your Kotlin framework static? This usually happens when including Kotlin framework to Xcode project using cocoapods plugin.
t
That is likely the case, since I had an Xcode framework project project pointing to my Kotlin based framework (via cocoapods plugin, which defaults to statis as I understand it). And the app pulling in the wrapper framework may have still had a reference to the Kotlin framework too. I had to put this on the back burner for now - too frustrating and had to get back to other things. I hope to get back to it this month. Thank you.
👍 1