I have integrated Alamofire in my ios project.While am testing my app using XCTest(UITest),am getting the following issue.I have googled and tried all the solutions.But not getting the solutions.Plesae help me to solve this.
Library not loaded: @rpath/Alamofire.framework/Alamofire Referenced from: /private/var/mobile/Containers/Bundle/Application/DA4702F0-6A4C-4EB6-99D0-255ABB6E3F57/Real Estate.app/Real Estate Reason: image not found Dyld Version: 353.12
this is my podfile.
target 'FreshBoss' do use_frameworks!
# Pods for FreshBoss
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
pod 'Google/SignIn'
target 'FreshBossTests' do
inherit! :search_paths
# Pods for testing
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
pod 'Google/SignIn'
end
target 'FreshBossUITests' do
inherit! :search_paths
# Pods for testing
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
pod 'Google/SignIn'
end
end
Podfile
would help. You may need to just addinherit! :search_paths
into your testing target in thePodfile
- Hodsonpodfile
. I'll try helping. - Dershowitz123