Alamofire: dyld: Library not loaded: Reason: image not found

Created on 23 Oct 2016  Â·  1Comment  Â·  Source: Alamofire/Alamofire

Hi, Alamofire.

I got an issue with my macOS Commandline Tool Project using Alamofire. Below is the console output:

dyld: Library not loaded: @rpath/Alamofire.framework/Versions/A/Alamofire
  Referenced from: /Users/Lee/Library/Developer/Xcode/DerivedData/Swift-Git-dlnrimvlnhxxbcahljrivoikrodp/Build/Products/Debug/Swift-Git
  Reason: image not found

By the way, my project always can build successfully. Does the Alamofire not support macOS command line Tool Project?

Here is Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :osx, '10.12’
use_frameworks!

target ‘Swift-Git’ do
    pod 'Alamofire', '~> 4.0'
end

-- BR
Thanks.

Most helpful comment

@LeeY0510 did you find an answer? I had the same issue. I reported on SO (http://stackoverflow.com/questions/24993752/os-x-framework-library-not-loaded-image-not-found)

>All comments

@LeeY0510 did you find an answer? I had the same issue. I reported on SO (http://stackoverflow.com/questions/24993752/os-x-framework-library-not-loaded-image-not-found)

Was this page helpful?
0 / 5 - 0 ratings