[Gradle] Support configuration cache in Xcode/CocoaPods tasks with Gradle 8.1
This commit moves invocation of `xcodebuild` from configuration to execution time. This also fixes the problem with Xcode version being cached inside the daemon. ^KT-59252 Verification Pending
This commit is contained in:
committed by
Space Team
parent
78f4d399d4
commit
b6847d0835
@@ -80,7 +80,7 @@ object PlatformInfo {
|
||||
&& properties.checkXcodeVersion
|
||||
&& requiredMajorVersion != null
|
||||
) {
|
||||
val currentXcodeVersion = Xcode.findCurrent().version
|
||||
val currentXcodeVersion = Xcode.findCurrent().version.toString()
|
||||
val currentMajorVersion = currentXcodeVersion.splitToSequence('.').first()
|
||||
if (currentMajorVersion != requiredMajorVersion) {
|
||||
throw IllegalStateException(
|
||||
|
||||
Reference in New Issue
Block a user