Build failing with error: Swift does not support the SDK 'MacOSX10.12.sdk'

Hello,

I guess this has something to do with the recent updates to build
requirements.

I have downloaded Xcode 9 beta, and used xcode-select to use that version
from command line. What else do I need to do to make Swift build again on
Sierra with Xcode 9 beta?

Best regards
Pavol Vaskovic

Hi Pavol,

Make sure you are running Xcode 9 beta 1 on macOS 10.12.4+, also delete the build directory from previous Xcode before building with new Xcode.

Thanks,
Mishal Shah

···

On Jun 16, 2017, at 2:07 PM, Pavol Vaskovic via swift-dev <swift-dev@swift.org> wrote:

Hello,

I guess this has something to do with the recent updates to build requirements.

I have downloaded Xcode 9 beta, and used xcode-select to use that version from command line. What else do I need to do to make Swift build again on Sierra with Xcode 9 beta?

Best regards
Pavol Vaskovic
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Oh, maybe I should do a clean build… :-)

···

On Fri, Jun 16, 2017 at 11:07 PM, Pavol Vaskovic <pali@pali.sk> wrote:

Hello,

I guess this has something to do with the recent updates to build
requirements.

I have downloaded Xcode 9 beta, and used xcode-select to use that version
from command line. What else do I need to do to make Swift build again on
Sierra with Xcode 9 beta?

Best regards
Pavol Vaskovic