Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problems on Mojave, what OS versions are supported? #2

Open
AugustM opened this issue Mar 15, 2023 · 1 comment
Open

Comments

@AugustM
Copy link

AugustM commented Mar 15, 2023

The installation instructions are incomplete. Downloading the code and unzipping does not provide an executable version to place in a $PATH directory. The only executable file is "LICENSE", which is a text file.

Then I found the Github Releases section and successfully downloaded the binary. However, when I run it with no options, just "SpaceInfo" in a Mojave terminal window, I get:

dyld: lazy symbol binding failed: Symbol not found: _swift_getTypeByMangledNameInContextInMetadataState
  Referenced from: /Users/amohr/bin/SpaceInfo (which was built for Mac OS X 12.0)
  Expected in: /usr/lib/swift/libswiftCore.dylib

dyld: Symbol not found: _swift_getTypeByMangledNameInContextInMetadataState
  Referenced from: /Users/amohr/bin/SpaceInfo (which was built for Mac OS X 12.0)
  Expected in: /usr/lib/swift/libswiftCore.dylib

Abort trap: 6

I downloaded the code and got a file called SpaceInfo-main, unzipped it, and found an XCode project. I opened it in XCode 11.3.1, changed the Build Target to macOS 10.14 and the build failed. I could not find any error messages (but that could be user error as I've only been using XCode for a little while).

What macOS versions will the binary run on?
What versions of macOS can the code be compiled on/for and what other changes might be needed (e.g. what version of Swift is needed)?

@AugustM AugustM changed the title Installation fails Installation problems on Mojave, what OS versions are supported? Mar 15, 2023
@davidpurnell
Copy link
Owner

I had previously built and used this on MacOS 11, 12, and now 13. Today I've updated the project to build correctly on Ventura and I also tested on an old MacBook Air running 10.13.6 where I ran into similar problems as you describe with the older MacOS not knowing anything about the swift libraries the executable requires.

After a bit of Googling I was able to get things working on 10.13.6 by installing "Swift 5 Runtime Support for Command Line Tools"

Available here: https://support.apple.com/kb/DL1998?locale=en_US

Hopefully this approach works for you as well on 10.14...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants