【发布时间】:2016-11-22 08:16:09
【问题描述】:
我已经在我的 ios 项目中集成了 Alamofire。在使用 XCTest(UITest) 测试我的应用程序时,我遇到了以下问题。我已经用谷歌搜索并尝试了所有解决方案。但没有得到解决方案。请帮我解决这个问题.
库未加载:@rpath/Alamofire.framework/Alamofire 引用自:/private/var/mobile/Containers/Bundle/Application/DA4702F0-6A4C-4EB6-99D0-255ABB6E3F57/Real Estate.app/Real Estate 原因:图片未找到 Dyld 版本:353.12
这是我的 podfile。
目标'FreshBoss' 做 使用_frameworks!
#FreshBoss 的豆荚
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
pod 'Google/登录'
目标 'FreshBossTests' 做
inherit! :search_paths
# Pods for testing
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
pod 'Google/登录'
结束
target 'FreshBossUITests' 做
inherit! :search_paths
# Pods for testing
pod 'Alamofire', '~> 3.4'
pod 'MBProgressHUD', '~> 0.9.2'
pod 'Google/登录'
结束
结束
【问题讨论】:
-
您的
Podfile的副本会有所帮助。您可能只需将inherit! :search_paths添加到Podfile中的测试目标中 -
发布您的
podfile。我会尽力帮忙的。 -
我已经编辑了我的问题。请看一下
-
@Hodson - 我已经添加了那行。
标签: ios xcode cocoapods alamofire xctest