【发布时间】:2012-05-17 10:16:13
【问题描述】:
我正在尝试使用 FastPDFKit 创建 Appcelerator 模块。我已经用 XCode 中的演示代码测试了这个模块并且它正在工作。所以,我开始为它实现模块。
我已完成文档中显示的所有步骤以集成 SDK:
- 创建了钛模块。并打开为此创建的 XCode 项目 模块。
- 已将
FastPdfKit.embeddedframework复制到Othe sources目录。 - 将代码从
FastPdfKit.embeddedframework\Resources\Snippets.txt进入 特别是.h和.m文件。 - 设置配置并从项目的
info选项卡中选择FastPdfKitFramework。
但是当我尝试构建模块时,我在 #import "ReaderViewController.h" 上收到一个错误,显示 ReaderViewController.h file not found. 我不知道为什么这个错误只发生在模块开发中以及为什么它没有在 XCode 中发生演示项目的来源。有没有其他设置?请让我知道是否有任何事情可以帮助我,或者只是给我关于 how to integrate custom libraries for Appcelerator modules 的建议。
【问题讨论】:
标签: appcelerator-mobile titanium-modules