找不到框架头文件(iOS pop框架) [英] Framework header file not found (iOS pop framework)

查看:629
本文介绍了找不到框架头文件(iOS pop框架)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想安装facebook的pop框架。我有一个多项目工作区,不使用可可豆荚。我想要最简单,最笨,最快的安装。

I'd like to install facebook's pop framework. I have a multi-project workspace which is not using cocoa pods. I want just the simplest, dumbest, quickest install.

来自流行自述文件:

...您可以将项目添加到工作区并采用提供的配置文件或手动将pop子目录下的文件复制到项目中。如果手动安装,请确保通过将-lc ++包含到项目链接器标志中来链接C ++标准库。

"... you can add the project to your workspace and adopt the provided configuration files or manually copy the files under the pop subdirectory into your project. If installing manually, ensure the C++ standard library is also linked by including -lc++ to your project linker flags."


  1. 我将pop.xcodeproj添加到我的工作区。

  2. 我添加了pop.framework到
    需要pop的项目(一般>链接框架和库)。

  3. 我在项目链接标志中添加了-lc ++(在需要弹出的项目中)。

  4. #import< POP / POP.h> 添加到我的.m文件中。

  1. I added pop.xcodeproj to my workspace.
  2. I added "pop.framework" to to the project that needs pop (general > linked frameworks and libraries).
  3. I added "-lc++" to my project linked flags (in the project that needs pop).
  4. Added #import <POP/POP.h> to my .m file.

结果:找不到POP / POP.h。

The result: "POP/POP.h" not found.

我想我做错了什么,但绝对不知道从哪里开始寻找。

I guess I'm doing something wrong, but absolutely no idea where to start looking.

推荐答案

我设置了我的项目的内置设置等,然后它工作。

I set the Built Setting of my project, then it worked.

User Header Search Paths = $(SRCROOT)       // recursive. Pop is placed in the directory
Always Search User Paths = YES

这篇关于找不到框架头文件(iOS pop框架)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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