ld:未找到框架Parse Xcode 7 beta [英] ld: framework not found Parse Xcode 7 beta

查看:143
本文介绍了ld:未找到框架Parse Xcode 7 beta的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我成功安装并使用Parse框架和我的新项目,但我不能使用模板项目。

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

模板只是一个幻灯片菜单来自 Appcoda

您可以下载该项目的这里
我有这个错误:

You can download the project here. I have this error :

ld: framework not found Parse
clang: error: linker command failed with exit code 1 (use -v to see invocation)

对于螺栓也一样。

我不明白问题是什么,最初的项目只是一些View Controllers ......

I don't understand what the problem is, the initial project is just some View Controllers...

当我写代码import Parse,错误信息是:

When I write the code "import Parse", the error message is :

No such module 'Parse'

我试图拖放框架,并在Link Binary With Libraries中添加框架。

I tried to drag and drop the frameworks, and also to add the frameworks in "Link Binary With Libraries".

PS:我正在使用Xcode 7 beta,我尝试了测试版1和2,同样的问题。

PS : I am using Xcode 7 beta, and I tried on beta 1 and 2, same issue.

推荐答案

以下是解决方案:

Xcode 7 beta似乎存在问题,其中缺少手动添加框架的搜索路径。

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. 选择项目

  2. 点击目标

  3. 点击构建设置

  4. 搜索:框架搜索路径

  5. 添加 $(PROJECT_DIR)并选择递归选项。

  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.

项目现在应该建立。

感谢这篇文章:链接到堆栈

这篇关于ld:未找到框架Parse Xcode 7 beta的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆