-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Description
| Previous ID | SR-591 |
| Radar | None |
| Original Reporter | @vedantk |
| Type | Bug |
| Status | Resolved |
| Resolution | Invalid |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Project Infrastructure |
| Labels | Bug |
| Assignee | None |
| Priority | Medium |
Watchers: @shahmishal
md5: f72ea8ba33214484ec20df40f9d33ba4
Issue Description:
swift/utils/build-script fails after compiling llvm if the appletvos SDK is missing. Since I did not pass --tvos to build-script, I expect to not need the TVOS SDK.
I'm using the standard directory layout (/swift, /clang, /llvm, and /cmark at the top-level). My build command is:
SWIFT_SOURCE_ROOT=/Users/vk/github-swift ./swift/utils/build-script -d --llvm-assertions --swift-assertions --build-subdir Debug+Asserts -j 6
The build fails with:
xcodebuild: error: SDK "appletvos" cannot be located.
xcodebuild: error: SDK "appletvos" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'appletvos'
CMake Error at cmake/modules/SwiftConfigureSDK.cmake:73 (message):
tvOS SDK not found at .
Call Stack (most recent call first):
CMakeLists.txt:493 (configure_sdk_darwin)
-
- Configuring incomplete, errors occurred!
See also "/Users/vk/github-swift/build/Debug+Asserts/swift-macosx-x86_64/CMakeFiles/CMakeOutput.log".
./swift/utils/build-script: command terminated with a non-zero exit status 1, aborting
- Configuring incomplete, errors occurred!