Šoltić <lucas.sol...@orange.fr>
> Date: Friday, 2 March 2018 at 23:20
> To: Harry Mallon <Harry.Mallon@codex.online>
> Cc: "cmake@cmake.org" <cmake@cmake.org>
> Subject: Re: [CMake] Swift executables with MACOSX_BUNDLE fail to find
> libswiftCore.dylib
&
Harry Mallon <Harry.Mallon@codex.online>
Cc: "cmake@cmake.org" <cmake@cmake.org>
Subject: Re: [CMake] Swift executables with MACOSX_BUNDLE fail to find
libswiftCore.dylib
You miss a runtime search path when linking your executable. And this is what
you achieved with install_
You miss a runtime search path when linking your executable. And this is what
you achieved with install_name_tool with an additional step.
To avoid this additional step, see
Hello all,
When making a pure Swift bundle Xcode automatically copies `libswiftCore.dylib`
as follows.
```
./Tests/SwiftOnly/Debug/SwiftOnly.app
└── Contents
├── Frameworks
│ └── libswiftCore.dylib
├── Info.plist
├── MacOS
│ └── SwiftOnly
├── PkgInfo
└──