dyld: Library not loaded Reason: image not found解决办法

dyld: Library not loaded: @loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle

  Referenced from: /Users/songping/Library/Developer/Xcode/DerivedData/TestCapture-fgntrtzakrtbkcacvqjagvptjxdh/Build/Products/Debug/TestCapture.app/Contents/MacOS/TestCapture

  Reason: image not found


在Xcode中的Build Phases中的Copy Files项中,将Sparkle.framework拖到Copy Files中即可,注意Destionation选择默认的Frameworks就可以了

你可能感兴趣的:(Mac,OS)