【发布时间】:2015-09-06 03:33:22
【问题描述】:
我正在尝试使用 Alamofire 将我的代码链接到 OS 10.10.3 和 XCode 6.3。我的 podfile 看起来像这样:
platform :osx, '10.10'
use_frameworks!
target 'worth2' do
pod 'Alamofire', '~> 1.2'
pod 'SwiftyJSON', '~> 2.2'
end
当我去构建我的项目时,我最终得到了
dyld:库未加载: @rpath/Alamofire.framework/Versions/A/Alamofire 引用自: ~/Library/Developer/Xcode/DerivedData/worth2-bskxhwsefwbntgeikvunyfjphixk/Build/Products/Debug/[项目名称] 原因:找不到图片
我查看了what sounds like the same issue,但似乎这是针对旧版本的 XCode。在 Targets -> Build Phases -> Target Dependencies 下,我无法添加框架。 Apple 框架出现了,但我的两个库没有出现。
【问题讨论】:
标签: xcode cocoapods osx-yosemite alamofire