Sonny
08/05/2025, 2:27 AMExecution failed for task ':shared:linkPodDebugFrameworkIosSimulatorArm64'.
I changed to run it on physical device then get another error:
Execution failed for task ':sdk:linkPodDebugFrameworkIosArm64'.
Can anyone explain why and how to fix it?
Below is my cocoapods setup in build.gradle:
cocoapods {
version = "1.16.2"
ios.deploymentTarget = "16.0"
homepage = "<http://fake-home-page.com>"
summary = "My library summery"
license = "SonHoang"
pod("mParticle-Apple-SDK") {
version = "~> 8.35.0"
extraOpts += listOf("-compiler-option", "-fmodules")
}
pod("Singular-SDK") {
moduleName = "Singular"
version = "12.8.1"
}
pod("BrazeKit") {
version = "12.1.0"
extraOpts += listOf("-compiler-option", "-fmodules")
}
framework {
isStatic = false
linkerOpts(
"-framework", "CoreGraphics",
"-framework", "StoreKit",
"-framework", "SystemConfiguration",
"-framework", "UserNotifications",
"-lsqlite3",
"-lswiftCompatibilityConcurrency",
"-lswift_Concurrency",
"-lswiftCore",
"-lswiftFoundation",
"-lswiftObjectiveC",
"-lswiftDarwin",
"-lswiftDispatch"
)
}
podfile = project.file("../iosApp/Podfile")
}