ios - Alamofire cocoapod integration issue in XCTest -
i have integrated alamofire in ios project.while testing app using xctest(uitest),am getting following issue.i have googled , tried solutions.but not getting solutions.plesae me 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 podfile.
target 'freshboss' use_frameworks!
# pods freshboss
pod 'alamofire', '~> 3.4'
pod 'mbprogresshud', '~> 0.9.2'
pod 'google/signin'
target 'freshbosstests' do
inherit! :search_paths # pods testing
pod 'alamofire', '~> 3.4'
pod 'mbprogresshud', '~> 0.9.2'
pod 'google/signin'
end
target 'freshbossuitests' do
inherit! :search_paths # pods testing
pod 'alamofire', '~> 3.4'
pod 'mbprogresshud', '~> 0.9.2'
pod 'google/signin'
end
end
embed pods framework reason this.uitest -> buildphases -> embed pods framework missing.copy target , paste in uitest target.it worked me.
Comments
Post a Comment