本文介绍了在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时出现链接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-28 04:04
查看更多