ld: framework not found Parse Xcode 7 beta

后端 未结 5 906
既然无缘
既然无缘 2020-11-30 05:57

I succeed to install and use Parse framework with my new project, but I can\'t with a \"template project\".

The template is just a Slide Menu from Appcoda

Y

相关标签:
5条回答
  • 2020-11-30 06:19

    Even I got the same issue. In my case, somehow there were multiple frameworks added to the project, and one of the framework is empty. After removing the empty framwork it started compiling.

    0 讨论(0)
  • 2020-11-30 06:27

    Here is the solution:

    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 $(PROJECT_DIR) and choose Recursive option.

    The project should build now.

    Thanks to this post : Link to stack

    0 讨论(0)
  • 2020-11-30 06:28

    None of the proposed solutions worked for me. Eventually I found that the solution was to drag the frameworks from a source folder that did not have spaces in it's name.

    E.g.

    • Dragging the frameworks from 'iOS SDKS' > did not work
    • Dragging the frameworks from 'Downloads' > worked

    It's not the first time that XCode has been shown to be problematic when working with paths that contain spaces.

    0 讨论(0)
  • 2020-11-30 06:31

    Ensure that Parse is included in the "Link Binary With Libraries" section under "Build Phases".

    0 讨论(0)
  • 2020-11-30 06:36

    Go to your Build Phases -> Linked Binary With Libraries remove your pod framework & add it back again. That does the trick.

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