Martin Rajniak
07/29/2022, 9:55 AMTask 'embedAndSignAppleFrameworkForXcode' not found in project ':ipInfo'.
Currently it works perfectly on local machines but fails on CI.
But I am experiencing this issue every now and then and would like to learn some tricks how to get to the bottom of the issue.
Any ideas?Rick Clephas
07/29/2022, 2:57 PMMartin Rajniak
07/29/2022, 3:22 PMbaseName
or target architecture
(iPhoneSimulator).
But I would still want to know where to find logs or what can I debug to see that it is indeed that - if you know what I mean 🙂Rick Clephas
07/29/2022, 3:35 PMMartin Rajniak
07/29/2022, 3:36 PMRick Clephas
07/29/2022, 3:40 PMMartin Rajniak
07/29/2022, 3:41 PMRick Clephas
07/29/2022, 3:45 PMbaseName
in your case.Martin Rajniak
07/29/2022, 3:50 PMtargets.withType(KotlinNativeTarget::class).getByName(
when {
System.getenv("SDK_NAME")?.startsWith("iphoneos") == true -> "iosArm64"
System.getenv("NATIVE_ARCH")?.startsWith("arm") == true -> "iosSimulatorArm64"
else -> "iosX64"
}
) {
binaries {
framework {
baseName = project.name
}
}
}
what helped for reference (the problem with CI was that I was not using it there 🤦)miqbaldc
08/27/2022, 2:25 AMKotlinNativeTarget with name 'iosX64' not found.
in my parts 😞Rick Clephas
08/27/2022, 9:05 AMkotlin {
iosX64()
}
miqbaldc
08/27/2022, 10:36 AM