godly-devotion / charge-limiter

macOS app to set battery charge limit for Intel MacBooks
GNU General Public License v3.0
644 stars 26 forks source link

Error - Symbol Not Found #31

Closed quickdry closed 2 years ago

quickdry commented 2 years ago

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

godly-devotion commented 2 years ago

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.

godly-devotion commented 2 years ago

Closing due to no updates.

arcjive commented 2 years ago

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.

godly-devotion commented 2 years ago

Good idea.