Moussa
02/15/2023, 2:37 PMlinkPodDebugFrameworkIosFat
gives me
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /Users/moussa/Desktop/MoussaWork/Companies/IOHK/atala-prism-apollo/base-asymmetric-encryption/build/bin/iosArm64/podDebugFramework/ApolloBaseAsymmetricEncryption.framework/ApolloBaseAsymmetricEncryption and /Users/moussa/Desktop/MoussaWork/Companies/IOHK/atala-prism-apollo/base-asymmetric-encryption/build/bin/iosX64/podDebugFramework/ApolloBaseAsymmetricEncryption.framework/ApolloBaseAsymmetricEncryption have the same architectures (arm64) and can't be in the same fat output file
Error simplified, iosArm64
& iosX64
have the same architectures (arm64) and can’t be in the same fat output file. How do I investigate this error or at least try to figure out the root cause of that issue?
Notes:
• Using the iOS new hierarchy only ios()
Daniel Seither
02/15/2023, 3:06 PMiosArm64
and iosX64
though, because the latter shouldn’t have the arm64
architecture. Have you maybe mixed up iosX64
(which is the simulator build for Intel Macs) and iosSimulatorArm64
somewhere?Moussa
02/15/2023, 3:32 PMDaniel Seither
02/15/2023, 4:02 PMMoussa
02/20/2023, 12:54 PMiosSimulatorArm64
tasks.matching {
fun String.isOneOf(values: List<String>): Boolean {
for (value in values) {
if (this == value) {
return true
}
}
return false
}
it.name.isOneOf(
listOf(
"linkPodReleaseFrameworkIosFat",
":linkPodReleaseFrameworkIosFat", "linkPodDebugFrameworkIosFat",
":linkPodDebugFrameworkIosFat"
)
)
}.all {
this.enabled = false
}