[BUG]: Compile failed: "MACOS_DEPLOYMENT_TARGET Error
What were you trying to do?
On macOS 27 Beta 4 (Xcode version 27.0 Beta 4) - in attempting to build the latest release, I'm getting 35 total fatal errors. I'll list each one in the error log section. They're all basically the same, but for different dependencies.
What was the problem?
Build fails with 35 errors all related to macOS target versions. I believe these are all due to version settings for external dependencies, maybe?
Error logs
Defaults
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/Defaults/Defaults.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 27.0.x.
Defaults_Defaults
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/Defaults/Defaults.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 27.0.x.
DefaultsMacros
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/Defaults/Defaults.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 27.0.x.
DefaultsMacrosDeclarations
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/Defaults/Defaults.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 27.0.x.
FactoryKit
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/Factory/Factory.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
Factory_FactoryKit
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/Factory/Factory.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
CasePaths
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-case-paths/swift-case-paths.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
CasePathsCore
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-case-paths/swift-case-paths.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
CasePathsMacros
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-case-paths/swift-case-paths.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
InternalCollectionsUtilities
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-collections/swift-collections.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.13, but the range of supported deployment target versions is 12.0 to 27.0.x.
OrderedCollections
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-collections/swift-collections.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.13, but the range of supported deployment target versions is 12.0 to 27.0.x.
ConcurrencyExtras
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-concurrency-extras/swift-concurrency-extras.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
CustomDump
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-custom-dump/swift-custom-dump.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftNavigation
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-navigation/swift-navigation.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
Perception
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-perception/swift-perception.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
PerceptionCore
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-perception/swift-perception.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
PerceptionMacros
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-perception/swift-perception.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
_SwiftSyntaxCShims
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftBasicFormat
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftCompilerPlugin
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftCompilerPluginMessageHandling
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftDiagnostics
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftOperators
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftParser
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftParserDiagnostics
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftSyntax
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftSyntaxBuilder
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftSyntaxMacroExpansion
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftSyntaxMacros
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftSyntax509
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftSyntax510
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
SwiftSyntax600
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/swift-syntax/swift-syntax.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
IssueReporting
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/xctest-dynamic-overlay/xctest-dynamic-overlay.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
IssueReportingPackageSupport
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/xctest-dynamic-overlay/xctest-dynamic-overlay.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
XCTestDynamicOverlay
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/xctest-dynamic-overlay/xctest-dynamic-overlay.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.
App Version
V2.0.0-PUB-BETA-4
App Acquisition
Self-Compiled
Final checklist
- [ ] This report is about the interface, and I included screenshots of the problem
I unfortunately have only one machine, which is also my main computer, so I can't install beta macOS.
Looking at the errors, my first instinct is that the authors of those libraries haven't marked them as available for macOS 27 yet. Cork itself does have 27 set as a compatible Xcode version: https://github.com/buresdv/Cork/blob/6f7c9d68c57ca755983a2d04682222110c70ba1c/Tuist.swift#L8
I got my hands on a 27 machine for a short time, so I'll see if I can at least reproduce the issue
I got my hands on a 27 machine for a short time, so I'll see if I can at least reproduce the issue
Looking forward to your investigation!
@modeezie works for me on branch main.golden-gate. If you get a compile error, have a look here: #678
@buresdv Got it. I'm not seeing a "main.golden-gate" branch in the repo. Let me know if I need to look somewhere specific. Might be an education issue on my part! Thank you!
@modeezie my bad, I forgot to actually push the branch on the remote (it was on my computer, but not on GitHub). Now, that branch is merged into main, so you can just use main :)
No problem. Still having some issues. When running the tuist commands, I got a weird warning:
! Warning
The following items may need attention:
▸ No files found at: /Users/station/GitHub/Cork/Modules/TerminalSupport/**/*.xcstrings
✔ Success
Project generated.
In Xcode when it opens, I change my target to CorkTerminalFunctions (in the same drop down I would select Self-Compiled, and when I attempt to build I get exactly 4 errors that are all basically
/Users/station/GitHub/Cork/Tuist/.build/tuist-derived/Defaults/Defaults.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 27.0.x.
I get these errors for: Defaults, Defaults_Defaults, FactoryKit, Factory_FactoryKit. I can change each of these to Recommended in the build settings, then when I build again, I get the error:
/Users/station/GitHub/Cork/Modules/Shared/Logic/Is Actual Package Folder.swift:9:8 Unable to resolve module dependency: 'DavidFoundation'
I think this is preventing me from moving on and building the main app.
Thoughts?
It's weird, I can't debug it right now, so I have an idea:
Send me an email to [email protected]. I'll then send you a pre-compiled binary that you'd get if you compiled it yourself so that you can actually use the app until this gets fixed.
What do you think?
Edit: I also posted about this on Mastodon to try to get some help.
That sounds amazing. Will do. THANK YOU! ᐧ
On Mon, Sep 14, 2026 at 2:46 PM David Bureš @.***> wrote:
buresdv left a comment (buresdv/Cork#653) https://github.com/buresdv/Cork/issues/653#issuecomment-5669818900
It's weird, I can't debug it right now, so I have an idea:
Send me an email to @.*** I'll then send you a pre-compiled binary that you'd get if you compiled it yourself so that you can actually use the app until this gets fixed.
What do you think?
— Reply to this email directly, view it on GitHub https://github.com/buresdv/Cork/issues/653?email_source=notifications&email_token=ATNMWQWXFAMIRZYSGNOOTN35PBDHXA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNRWHE4DCOBZGAYKM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5669818900, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATNMWQSOALGHGLEGBWLSALL5PBDHXAVCNFSNUABFKJSXA33TNF2G64TZHM2TCMBQGY3TONRUHNEXG43VMU5TKMBUG4YDAOBUG42KC5QC . You are receiving this because you were mentioned.Message ID: <buresdv/Cork/issues/653/5669818900 @.***>
I've got good news and bad news for you:
- Good news: I managed to reproduce this problem
- Bad news: I can't build the app anymore, either 😅
I think it's fixed now, try the latest state of main.
You should completely delete the folder Cork used to be in, and then go through the tutorial again. I had to bump the version of Tuist to fix this.
My friend, great success. It is fixed. I'll open a PR for your review on some changes/cleanup to the readme resulting from this.