-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Description
Previous ID | SR-9972 |
Radar | rdar://problem/48044350 |
Original Reporter | @hartbit |
Type | Bug |
Status | Resolved |
Resolution | Done |
Additional Detail from JIRA
Votes | 0 |
Component/s | Project Infrastructure |
Labels | Bug |
Assignee | @hartbit |
Priority | Medium |
md5: 07ac891ad766d7dd268dcc9e0328f39e
Issue Description:
I haven't had to time to diagnose what could be causing this issue but those steps reproduce it:
-
Install Xcode 10.2 beta 3
-
Install the latest master toolchain
-
Clone the latest commit from SwiftSyntax
-
Execute:
$ export TOOLCHAINS=swift $ cd swift-syntax $ ./build-script.py --generate-xcodeproj ** Generating gyb Files ** Done Generating gyb Files ** Generate SwiftSyntax as an Xcode project ** generated: ./SwiftSyntax.xcodeproj
-
Launch Xcode 10.2 beta3 with the generated project
-
Build any of the schemes.
Xcode will fail building with the following linker error:
ld: file not found: /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2019-02-19-a.xctoolchain/usr/lib/arc/libarclite_macosx.a
On the other hand, building using either the build-script or SwiftPM directly works:
$ ./build-script.py
$ swift build
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.