ios - 尝试使用 pushmote sdk 时找不到“PushmoteSDK/Headers/Pushmote.h”文件

标签 ios xcode xcode7

我正在尝试按照此处给出的步骤操作:

http://docs.pushmote.com/docs/import-pushmote-ios-sdk-swift

但是当我尝试构建我的应用程序时,出现此错误:找不到“PushmoteSDK/Headers/Pushmote.h”文件。

它是我的 Pushmote-Bridging-Header.h 文件,其中包含此导入语句,并且该文件显然位于 project_dir/PushmoteSDK.framework/Headers/Pushmote.h 中

我读过一些关于 xcode 的其他头文件未找到错误,解决方案似乎差异很大,所以我认为这可能与 xcode 的特定版本有关。也许有人以前在 xcode7 上使用过 pushmote 并且可以提供帮助?

编辑:

这是我在/Users/alex/ios_projects/Monkey/Monkey/Pushmote-Bridging-Header.h 中找到的 Pushmote-Bridging-Header.h 文件

#ifndef Pushmote_Bridging_Header_h  
#define Pushmote_Bridging_Header_h
#import "PushmoteSDK/Pushmote.h"
#endif /* Pushmote_Bridging_Header_h */

最佳答案

您应该像这样更改导入行;

#import "PushmoteSDK/Headers/Pushmote.h" 

#import "PushmoteSDK/Pushmote.h"

关于ios - 尝试使用 pushmote sdk 时找不到“PushmoteSDK/Headers/Pushmote.h”文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31638742/

相关文章:

swift2 - Playground Xcode : Failed to obtain sandbox extension

ios - 如何从Firebase Storage下载并声明大量图像?

iphone - 在创建之前的表后添加新的起始 View - 不起作用

c++ - 线程 1 : EXC_BAD_ACCESS (code 1) error

swift - 快速编程中点击的图像区域的坐标

ios - ReplayKit 导致 iOS 8 手机上的应用程序崩溃

ios - 带有 customView (UISwitch) 的 UIBarButtonItem 在创建工具栏后不久就消失了(即使它是一个非常简单的代码!)

ios - 如何让 cordova-whitelist-plugin 进入暂存 Xcode?

ios - 如何从 UIButton 转到标签栏项目?

iphone - ipad 中的 SplitView 导航问题