Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Commit fb4aa13

Browse files
committed
Add instructions for running tests from Xcode
1 parent f65b12a commit fb4aa13

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,16 @@ _does_ offer this functionality.
327327

328328
## Known Issues
329329

330-
- Xcode 11 cannot run unit tests (<kbd>⌘</kbd><kbd>U</kbd>)
330+
- Xcode cannot run unit tests (<kbd>⌘</kbd><kbd>U</kbd>)
331331
when opening the SwiftSemantics package directly,
332332
as opposed first to generating an Xcode project file with
333333
`swift package generate-xcodeproj`.
334334
(The reported error is:
335335
`Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib`).
336336
As a workaround,
337+
you can [install the latest toolchain](https://swift.org/download/)
338+
and enable it in "Xcode > Preferences > Components > Toolchains".
339+
Alternatively,
337340
you can run unit tests from the command line
338341
with `swift test`.
339342

0 commit comments

Comments
 (0)