Dhiraj Chauhan
12/26/2024, 2:23 PMcinterop
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:
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
> 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?