在 Xcode 7 中构建 Parse 时出现链接错误 [英] Linking error when building Parse in Xcode 7
本文介绍了在 Xcode 7 中构建 Parse 时出现链接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试将 Parse.com SDK 添加到我的 Xcode 7 项目中.我已经按照入门指南进行了操作,并且之前在 Xcode 6 中已经设法做到了.但是这次我在尝试构建时看到了这个错误信息:
I am trying to add the Parse.com SDK to my Xcode 7 project. I have followed the getting started guide and I have managed to do it before in Xcode 6. However this time I am being shown this error message when I try to build:
ld: framework not found Bolts
clang: error: linker command failed with exit code 1 (use -v to see invocation)
谢谢
推荐答案
我建议你使用 CocoaPods 集成 Parse.
I suggest you integrate Parse using CocoaPods.
Cocoapods 以更好的方式管理库依赖项.
Cocoapods manages the library dependencies in a much better way.
以下是一个示例 PodFile:
The following is a sample PodFile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
inhibit_all_warnings!
target '**YourProjectName**' do
pod 'Parse', '~> 1.7.1'
pod 'AFNetworking', '2.2.3'
end
这篇关于在 Xcode 7 中构建 Parse 时出现链接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文