【发布时间】:2012-09-12 09:55:24
【问题描述】:
好吧,我对电话间隙很陌生。一天前,我用 Xcode 4.2 版将它安装在 MAC OSX 10.7.1 上。
- 首先,我在 Xcode 中看不到创建电话间隙应用程序的选项。但是我可以使用终端实现它。 (后来才知道,这个版本大概就是这样的)。
- 其次,我关注this tutorial并尝试添加plugins。当我编译时,它给了我致命的错误。
'CDVPlugin.h' file not found。但我可以在 Cordovalib.xcodeproj 中看到它
在 NativeControls.h
#import <Cordova/CDVPlugin.h>
#else
#import "CDVPlugin.h"
#endif
那么谁能指出我做错了什么?是否需要重新添加 CDVPlugin.h 及相关文件?
【问题讨论】:
标签: iphone cordova xcode4.2 phonegap-plugins