Skip to content

[regression vs native] "search path not found" when executable path contains whitespaces #677

@MahdiBM

Description

@MahdiBM

I've just started to try out swift-build, and I'm seeing these warnings:

/Applications/Xcode 26 beta 4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift build --build-tests --disable-xctest --build-system=swiftbuild

Building for debugging...
                                                                                                                                                    
83% [======================================================================================================================================================================================================================================------------------------------------------------]
warning: Search path '/Applications/Xcode' not found
warning: Search path '26' not found
warning: Search path 'beta' not found
  • This is with using the official VSCode extension.
  • The extension is the place that triggers the build command.
  • These don't appear to be show-stoppers.
  • Only happens when I change a file and rebuild. For a build with no changes, these warnings don't happen.
  • The native build system works fine.

I'll just rename my Xcode if I have to for now, but thought it's worth reporting.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions