swiftlang / swift-sdk-generator

Generate Swift SDKs for cross-compilation
Apache License 2.0
182 stars 15 forks source link

`missing required module '_FoundationCShims'` error when building with Swift 6.0 SDKs #152

Open euanh opened 6 days ago

euanh commented 6 days ago

Originally discovered while investigating issue #138. Swift 6.0 SDKs include shim headers in new locations which are not copied by the current SDK generator logic.

Pull request #139 fixed this problem but introduce other failures and was reverted in #142. Creating this issue to track the problem specifically.