In our case we only had one of the issues mentioned in the original post:
Invalid Bundle. The bundle {MyAppName}.app/Frameworks/{FrameworkName}.framework does not support the minimum OS Version specified in the Info.plist..
The framework in question is an Kotlin Multiplatform library (which we fortunately have in our own hands).
The previous way to specify the minimum iOS/tvOS versions was like this:
targetPlatforms {
iOS { v("16") }
tvOS { v("16") }
}
That no longer seems to be sufficient. Now we had to add Kotlin Native Compiler arguments like this:
targets.withType<org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget> {
compilations["main"].compilerOptions.options.freeCompilerArgs.addAll(
"-Xsome",
"-Xother",
"-Xarguments",
"-Xoverride-konan-properties=osVersionMin.ios_arm64=16.0;osVersionMin.ios_simulator_arm64=16.0;osVersionMin.tvos_arm64=16.0;osVersionMin.tvos_simulator_arm64=16.0" // <-- Specify versions here
)
}
That fixed the Xcode Cloud build for us. (Funnily enough, this never was a problem with local Xcode 15.3 builds)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: