Build failed for Swift 5.3 using Xcode 12.4, have no idea why #1781
-
My package fails to build on the Swift 5.3 test and I'm looking for help. The report is here: I even downloaded Xcode 12.4 to see for myself but when I try it seems to build fine. I get this generic error: About this line of code:
Any Swift experts that can tell me why this would fail on Swift 5.3? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Sorry to hear you're having trouble with the build system! I'm a bit confused - you say it seems to build fine but you're getting a generic error? Does the actual build command:
work for you? Unfortunately, I can't easily test builds with 12.4 on my machine but we'll try and reproduce it ourselves as well. |
Beta Was this translation helpful? Give feedback.
-
After updating to Sonoma I am unable to run Xcode 12.4's CLI anymore, is this a known problem? It's unable to find CoreChart or something.
Is it Sonoma or me? |
Beta Was this translation helpful? Give feedback.
Sonoma doesn't support Xcode versions earlier than 15. You can get Xcode 14 to work with a little trick but it's not officially supported, not sure about versions even earlier than that. The only reliable way I know to run Xcode < 15 on Sonoma is to virtualise an older macOS version.