Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-2650] Can't build swiftpm with using Xcode that has a whitespace in its name #5216

Closed
swift-ci opened this issue Sep 15, 2016 · 3 comments
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-2650
Radar rdar://problem/28318153
Original Reporter kkoval (JIRA User)
Type Bug
Status Resolved
Resolution Done
Environment

Xcode 8

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug, StarterBug
Assignee None
Priority Medium

md5: 016f05a587c3e3875a91d1925fd8e81b

Issue Description:

run `Utilities/bootstrap`

Output:

      • bootstrap: note: building stage1: /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-09-14-a.xctoolchain/usr/bin/swift-build-tool -f /Users/kkoval/Work/apple/swiftpm/.build/.bootstrap/build.swift-build
        Compile Swift Module 'libc' (2 sources)
        Compile Swift Module 'PackageDescription' (6 sources)
        <unknown>:0: error: no such file or directory: 'main.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'
        <unknown>:0: error: no such file or directory: 'main.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk'
        <unknown>:0: error: build had 2 command failures

      • bootstrap: error: build failed with exit status 1

Info:
Xcode name - "Xcode main"

swift --version
Apple Swift version 3.0-dev (LLVM 66d392b616, Clang 466b4f2889, Swift 24e4456744)
Target: x86_64-apple-macosx10.9

xcrun --find swift
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-09-14-a.xctoolchain/usr/bin/swift

xcode-select -p
/Applications/Xcode main.app/Contents/Developer

@ddunbar
Copy link
Member

ddunbar commented Sep 15, 2016

Ugh... Maybe we aren't getting the SDK path properly?

@ankitspd
Copy link
Member

#669

@ankitspd
Copy link
Member

New fix: #700

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants