Hive Hive
Sign in

Xcode 27 beta doesnt compile project

GitHub issue · Closed

Metadata
Source
tuist/tuist #11163
Updated
Jun 24, 2026
Domains
Cache Generated projects
Details

What happened?

After upgrading to Xcode 27 beta, the project no longer builds. Xcode 27 raised the minimum supported iOS deployment target to 15.0 (for both device and Simulator), but external SPM packages still declare older values (e.g. 13.0 for SwiftUI-Introspect). When tuist cache warms those dependencies, xcodebuild rejects the build because the package targets fall outside the supported range (15.027.0).

How do we reproduce it?

Use this sample: Repro_project.zip

mise install -y
tuist install
tuist cache --cache-profile only-external

Error log

note: Target dependency graph (1 target)
❌ /Users/.../tuist-spm-deployment-target-repro/Tuist/.build/tuist-derived/Projects/swiftui-introspect/swiftui-introspect.xcodeproj: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 13.0, but the range of supported deployment target versions is 15.0 to 27.0.x. (in target 'SwiftUIIntrospect' from project 'swiftui-introspect')

macOS version

27.0

Tuist version

4.195.17

Xcode version

27.0 beta

Comments
N
ntnmrndn Jun 9, 2026

Same here, I’m trying to override the setting. I don’t think this is on Tuist tho

IG
ivan-gaydamakin Jun 9, 2026

tuist setup this version I guess. I patched manually every dependency and after that it works good

A
A00336373 Jun 9, 2026

Yep, also broken for me. Not sure I’m a fan of manually patching the version

P
pepicrft Jun 9, 2026

This one has been fixed here and it’ll be released in the next version.

IG
ivan-gaydamakin Jun 9, 2026

@pepicrft tried with same sample and used tuist version 4.197.1

But got error on tuist cache --cache-profile only-external:

[2026-06-09T14:55:55Z] [info] [TuistAutomation] [SwiftUIIntrospect] Touching SwiftUIIntrospect.framework
[2026-06-09T14:55:55Z] [info] [TuistAutomation] Build Succeeded
[2026-06-09T14:55:55Z] [info] [TuistKit] Creating XCFrameworks ["is": section]
[2026-06-09T14:55:55Z] [info] [TuistKit] Creating XCFramework for SwiftUIIntrospect ["is": section]
[2026-06-09T14:55:55Z] [debug] [TuistAutomation] Running xcodebuild command: /usr/bin/xcrun xcodebuild -create-xcframework -framework /private/var/folders/p3/5bv6y62d0dn7n16q8dph98940000gn/T/CacheWarm-598E7D27-FA31-4AF9-8AED-40AB24B41D05/artifacts/iOS/simulator/SwiftUIIntrospect.framework -framework /private/var/folders/p3/5bv6y62d0dn7n16q8dph98940000gn/T/CacheWarm-598E7D27-FA31-4AF9-8AED-40AB24B41D05/artifacts/iOS/device/SwiftUIIntrospect.framework -allow-internal-distribution -output /private/var/folders/p3/5bv6y62d0dn7n16q8dph98940000gn/T/CacheWarm-598E7D27-FA31-4AF9-8AED-40AB24B41D05/xcframeworks/SwiftUIIntrospect.xcframework -allow-internal-distribution
[2026-06-09T14:55:56Z] [info] [TuistKit] Storing binaries to speed up workflows ["is": section]
[2026-06-09T14:55:57Z] [debug] [Noora] Error alert: ✖ Error
- Message: Failed to parse the activity log at /private/var/folders/p3/5bv6y62d0dn7n16q8dph98940000gn/T/CacheWarm-598E7D27-FA31-4AF9-8AED-40AB24B41D05/activity-logs/BD9B955E-881A-49CA-B2C3-2293F3FF160B.xcactivitylog: Error parsing the log: Unexpected token parsing String: [type: int, value: 0]
IG
ivan-gaydamakin Jun 9, 2026

@ntnmrndn @A00336373 Seems fixed on 4.198.0 please check it too

J
justinseanmartin Jun 16, 2026

Thank you @pepicrft! Confirmed bumping to latest Tuist (4.200.5) fixed the issue for me, without needing to bump my SPM dependencies.