godly-devotion / charge-limiter

macOS app to set battery charge limit for Intel MacBooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error - Symbol Not Found

quickdry opened this issue · comments

Error on line 22: Error: dyld: Symbol not found: _$s17StringLiteralTypes013ExpressibleByaB0PTl
Referenced from: /Applications/Charge Limiter.app/Contents/Resources/bclm
Expected in: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftCore.dylib
in /Applications/Charge Limiter.app/Contents/Resources/bclm (1005)

Error on MacOS El Capitan , MBP retina mid 2014 i7 3.1GHz

macOS El Capitan provides an outdated version of Swift that isn't compatible with the utility I am using (bclm). One solution to this issue seems to be to install Swift 5 Runtime Support for Command Line Tools.

See zackelia/bclm#6 for details.

Closing due to no updates.

Installing this Swift5 package fixed my similar issue with v1.5 on macOS Sierra. v1.4.1 and earlier worked fine.
You should link this package on the main page and note as a requirement for earlier OS's...?
Thanks for the great little utility, very useful.

Good idea.