darolti dan
07/09/2025, 10:00 AMiosTarget.compilations.getByName("main") {
cinterops.creating {
definitionFile.set(project.file("src/nativeInterop/cinterop/appsflyer.def"))
compilerOpts(
"-framework",
"AppsFlyerLib",
"-F/src/nativeInterop/cinterop/AppsFlyerLib.framework/",
)
}
}
iosTarget.binaries.all {
linkerOpts(
"-framework",
"AppsFlyerLib",
"-F/src/nativeInterop/cinterop/AppsFlyerLib.framework/",
)
}
the appsflyer.def file contains:
language = Objective-C
modules = AppsFlyerLib
package = AppsFlyerLib
and inside the AppsFlyerLib.framework i have Headers, Modules, Versions and AppsFlyerLib
everything builds properly, even the ./gradlew :analytics:linkDebugFrameworkIosArm64
command has no issues, but i can't find the import anywhere in the iosMain
moduletapchicoma
07/09/2025, 11:09 AMdarolti dan
07/09/2025, 11:54 AMdarolti dan
07/09/2025, 11:54 AMframework module AppsFlyerLib {
umbrella header "AppsFlyerLib.h"
export *
module * { export * }
}
darolti dan
07/09/2025, 11:54 AM