Linking error when building Parse in Xcode 7

两盒软妹~` 提交于 2019-12-01 20:19:19
Nilesh Patel

I suggest you integrate Parse using CocoaPods.

Cocoapods manages the library dependencies in a much better way.

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
AJEzk

There seems to be an issue with Xcode 7 beta where the search path for manually added frameworks is missing.

To fix the issue add the search path by doing the following:

  1. Select Project
  2. Click on Targets
  3. Click Build Settings
  4. Search for: Framework Search Path
  5. Add the following without the quotes: "$(PROJECT_DIR)" and choose recursive option.

The project should build now.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!