XCTest 中的 Alamofire cocoapod 集成问题
Alamofire cocoapod integration issue in XCTest
我已经在我的 ios 中集成了 Alamofire project.While 正在使用 XCTest(UITest) 测试我的应用程序,得到以下结果 issue.I 已经用谷歌搜索并尝试了所有 solutions.But 没有得到 solutions.Plesae 帮我解决这个问题。
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
这是我的播客文件。
target 'FreshBoss' do
use_frameworks!
# Pods 为 FreshBoss
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
连播 'Google/SignIn'
目标'FreshBossTests'做
inherit! :search_paths
# Pods for testing
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
连播 'Google/SignIn'
结束
目标'FreshBossUITests'做
inherit! :search_paths
# Pods for testing
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
连播 'Google/SignIn'
结束
结束
嵌入 Pods 框架是 this.UITest -> Buildphases -> 的原因
嵌入 Pods 框架来自目标 missing.Copy 并将其粘贴到 UITest target.It 对我有用。
我已经在我的 ios 中集成了 Alamofire project.While 正在使用 XCTest(UITest) 测试我的应用程序,得到以下结果 issue.I 已经用谷歌搜索并尝试了所有 solutions.But 没有得到 solutions.Plesae 帮我解决这个问题。
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
这是我的播客文件。
target 'FreshBoss' do use_frameworks!
# Pods 为 FreshBoss
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
连播 'Google/SignIn'
目标'FreshBossTests'做
inherit! :search_paths
# Pods for testing
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
连播 'Google/SignIn'
结束
目标'FreshBossUITests'做
inherit! :search_paths
# Pods for testing
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
连播 'Google/SignIn'
结束
结束
嵌入 Pods 框架是 this.UITest -> Buildphases -> 的原因 嵌入 Pods 框架来自目标 missing.Copy 并将其粘贴到 UITest target.It 对我有用。