Hi all, I am trying to use `cinterop` for some Obj...
# multiplatform
d
Hi all, I am trying to use
cinterop
for some Objective-C files (
.h
and
.m
) in the shared iOS Kotlin part. However, when I try to build the iOS app, I encounter thsee permission issues, as shown below:
Copy code
Exception in thread "main" java.lang.Error: shared/objectiveC/AudioBridge.h:11:9: fatal error: cannot open file '/shagaiOS/libs/SDL2/include/SDL.h': Operation not permitted
Copy code
> Task :shared:cinteropAudiobridgeIosArm64 FAILED
Exception in thread "main" java.io.FileNotFoundException: /shagaiOS/cinterop/audioBridge.def (Operation not permitted)
I am able to generate the
*.klibs
correctly after Gradle sync, and they are present in the build folder . It doesn't seem to be a file system issue, as the files have the correct read/write permissions. I'm unsure about the cause of this issue. Has anyone encountered this before or can offer a solution?
g
HI, use the below video simply you can able to integrate any ios framework in kmm

https://www.youtube.com/watch?v=yVOrbjrfC7M