You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
The build fails when I try to pass any flag to the Swift compiler using Nuclides build configuration pane.
I set the Swift compile flags to "-D" -Xswiftc "DEBUG", and then just press the build button. If I remove the flags, everything works fine.
The command shown in the console (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift build --chdir /Users/USER/Public/Test --configuration debug -Xswiftc "-D" -Xswiftc "DEBUG") works as intended when I copy & paste it in the Terminal.
Expected Behavior
A successful compilation process.
Actual Behavior
The build process fails with the message: <unknown>:0: error: no such file or directory: '"-D" -Xswiftc "DEBUG"'.
The full output:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift build --chdir /Users/USER/Public/Test --configuration debug -Xswiftc "-D" -Xswiftc "DEBUG"
(2) <unknown>:0: error: no such file or directory: '"-D" -Xswiftc "DEBUG"'
warning: '--chdir/-C' option is deprecated; use '--package-path' instead
error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/USER/Public/Test/.build/debug.yaml main output:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift failed with exit code 1
Build succeeded.
Issue and Steps to Reproduce
The build fails when I try to pass any flag to the Swift compiler using Nuclides build configuration pane.
I set the Swift compile flags to
"-D" -Xswiftc "DEBUG"
, and then just press the build button. If I remove the flags, everything works fine.The command shown in the console (
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift build --chdir /Users/USER/Public/Test --configuration debug -Xswiftc "-D" -Xswiftc "DEBUG"
) works as intended when I copy & paste it in the Terminal.Expected Behavior
A successful compilation process.
Actual Behavior
The build process fails with the message:
<unknown>:0: error: no such file or directory: '"-D" -Xswiftc "DEBUG"'
.The full output:
Versions
Additional Details
apm ls --installed
):├── advanced-open-file@0.16.8
├── atom-ide-ui@0.12.0 (disabled)
├── atom-material-syntax@1.0.8
├── atom-material-ui@2.1.3
├── atomic-emacs@0.12.1
├── autocomplete-python@1.10.5 (disabled)
├── build@0.70.0 (disabled)
├── build-make@0.13.0 (disabled)
├── busy-signal@1.4.3
├── dash@1.7.1
├── deep-space-syntax@1.1.0
├── doc-green-syntax@1.1.0
├── doc-green-ui@1.1.0
├── docblockr@0.13.7
├── docs-snippets@0.8.0 (disabled)
├── editorconfig@2.2.2
├── file-icons@2.1.21
├── git-time-machine@2.1.0 (disabled)
├── ide-java@0.8.3 (disabled)
├── ide-php@0.7.14 (disabled)
├── intentions@1.1.5 (disabled)
├── language-apache@1.8.0 (disabled)
├── language-applescript@0.3.0 (disabled)
├── language-haskell@1.17.7 (disabled)
├── language-htaccess@0.2.0 (disabled)
├── language-latex@1.1.1 (disabled)
├── language-mips@0.3.0 (disabled)
├── language-restructuredtext@1.1.2 (disabled)
├── language-rust@0.4.12 (disabled)
├── language-swift@0.5.0
├── language-vue@0.23.1 (disabled)
├── language-vue-component@0.5.0 (disabled)
├── latex@0.50.0 (disabled)
├── line-count@0.5.0
├── linter@2.2.0 (disabled)
├── linter-clang@4.1.2 (disabled)
├── linter-javac@1.9.4 (disabled)
├── linter-rust@0.9.0 (disabled)
├── linter-swiftlint@1.3.1
├── linter-ui-default@1.7.1 (disabled)
├── material-syntax@0.6.1
├── minimap@4.29.8
├── monokai@0.24.0
├── multi-cursor@2.1.5
├── nucleus-dark-ui@0.12.3
├── nuclide@0.315.0
├── packages
├── remote-atom@1.3.12 (disabled)
├── remote-ftp@2.2.0 (disabled)
├── rusty-dark-syntax@0.7.0
├── script@3.18.1
├── set-syntax@0.4.0
├── seti-syntax@1.1.3
├── seti-ui@1.10.0
├── slime@2.4.0
├── swift-debugger@0.1.2 (disabled)
├── teletype@0.13.3 (disabled)
├── todo-show@2.3.0
└── wakatime@7.0.4
The text was updated successfully, but these errors were encountered: