Linking error when building Parse in Xcode 7

前端 未结 2 441
情话喂你
情话喂你 2021-01-20 10:39

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 b

相关标签:
2条回答
  • 2021-01-20 10:58

    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
    
    0 讨论(0)
  • 2021-01-20 11:06

    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.

    0 讨论(0)
提交回复
热议问题