Closed Fab1n closed 6 years ago
the Swift ABI beauty. Need to rebuild with new Swift compiler version (then won't be compatible with the previous Swift version of course)
The fun part is, I switched command line tools back to 9.2 after installing 9.2 again in parallel. Then still does not work :/
yeap. needs to rebuild and push. I'm guessing you installed via homebrew?
nope, we include it as submodule in our project
(I forgot I added the binary to the repo)
The script to update the binary:
./scripts/build.sh
I'm pushing the updated binary now
Ah cool, ok. I built the binary with Xcode, didn't know of the script. Building it with Xcode somehow makes it work in both cases (systems with Xcode 9.3 and systems with 9.2).
Thanks for your work.
Verified, your newly pushed executable is compatible with 9.3 and 9.2 environments.
The file size grew 20x times compared to the previous version :(
Yes that’s true, I noticed this yesterday...
Am 11.04.2018 um 14:21 schrieb alkalim notifications@github.com:
The file size grew 20x times compared to the previous version :( https://user-images.githubusercontent.com/33055344/38616233-ead7befc-3d9b-11e8-9f98-33d5754730a5.png — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/krzyzanowskim/Natalie/issues/119#issuecomment-380432161, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuDpsa3JICNrEq_Bn4UCFwm1zUx5CJEks5tnfVIgaJpZM4TP0Ea.
static linking comes with the price.
Executing
natalie
, even with no arguments, in commandline throws an error like this:dyld: Symbol not found: __T0s11CommandLineO9argumentsSaySSGvZ
.swift --version
outputs the following after switching command-line-tools back to 9.2 (9C40b): Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2) _Target: x8664-apple-macosx10.9If I build the natalie project in Xcode 9.2 or 9.3 and execute the generated executable it just works fine.
Maybe the natalie executable is not compatible with the updated swift version in the system?