6

I'm getting the error

dyld: Library not loaded: @rpath/libclang.dylib
  Referenced from: /Users/hakonbogen/Library/Developer/Xcode/DerivedData/SwiftFormat-edvvyjtkenmgpacnoypycvtuxctn/Build/Products/Debug/SourceKittenFramework.framework/SourceKittenFramework
  Reason: image not found

When trying to build my command line tool in XCode. I've built carthage so the frameworks are in correct folder. enter image description here

And done Link Binary With Libraries: enter image description here

I also tried adding Copy files enter image description here

But nothing seems to work. Does anyone have any suggestions?

bogen
  • 9,954
  • 9
  • 50
  • 89
  • 2
    This will explain your issue: http://stackoverflow.com/questions/630911/using-frameworks-in-a-command-line-tool (possible duplicate too) – liamnichols Dec 11 '15 at 21:01
  • Possible duplicate of [How do I link to a 3rd party Swift framework](http://stackoverflow.com/questions/26691653/how-do-i-link-to-a-3rd-party-swift-framework) – l'L'l Dec 11 '15 at 21:04

0 Answers0