Marc Neureiter
07/10/2024, 12:38 PM./gradlew :shared:embedAndSignAppleFrameworkForXcode
it correctly compiles something into the build
directory, but unfortunately it's not automatically put into the xcode proect (as i supposed it should). when enabling a lower log level i get that info:
> Task :shared:assembleDebugAppleFrameworkForXcodeIosSimulatorArm64 UP-TO-DATE
^^^^^^^ so compilation worked, i'm even able to see the generated framework
> Task :shared:embedAndSignAppleFrameworkForXcode SKIPPED
Skipping task ':shared:embedAndSignAppleFrameworkForXcode' as task onlyIf 'Task is enabled' is false.
Could not execute [report metric STATISTICS_COLLECT_METRICS_OVERHEAD]
Could not execute [report metric STATISTICS_COLLECT_METRICS_OVERHEAD]
unfortunately there's no more info on it. the plugin correctly picks up the correct variante/target (IosSimulatorArm64
), and also the target is is configured in the shared module's gradle file:
val xcf = XCFramework()
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "shared"
isStatic = true
xcf.add(this)
}
}
so i have no idea why this gradle task is skipped. i already saw this post here but the resolution seems to have some other reason.
i'd be extremely grateful for any hints to solve this issue, thanks in advance 🙂Pablichjenkov
07/10/2024, 1:39 PMMarc Neureiter
07/11/2024, 11:55 AMPablichjenkov
07/11/2024, 1:28 PMMarc Neureiter
07/12/2024, 8:21 AMa-dd
07/12/2024, 8:37 AMMarc Neureiter
07/12/2024, 8:42 AMa-dd
07/12/2024, 8:43 AM