yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
7.08k stars 821 forks source link

Use `FOUNDATION_FRAMEWORK` on linux #1514

Closed marcosgriselli closed 1 month ago

marcosgriselli commented 1 month ago

The linux job started failing after ubuntu-latest was updated from: https://github.com/actions/runner-images/blob/ubuntu22/20240908.1/images/ubuntu/Ubuntu2204-Readme.md to: https://github.com/actions/runner-images/blob/ubuntu22/20241006.1/images/ubuntu/Ubuntu2204-Readme.md

https://github.com/swiftlang/swift-foundation/blob/main/Sources/FoundationEssentials/PropertyList/PlistDecoder.swift#L173

"The openStep format is unsupported on this platform"

yonaskolb commented 1 month ago

Ah, I was wondering about this. Did this not work, hence the close?

marcosgriselli commented 1 month ago

@yonaskolb yea took a bit of a blind guess there before actually trying to build on linux. My assumption at the moment is that with the ubuntu-latest runner update from Swift 5.10.1 to Swift 6.0.1 we got the new swift foundation framework by default and it's likely failing to validate the plist xml files correctly here and marking them as openStep which doesn't seem to be supported in Linux.