Cordova iOS 64位兼容性

时间:2015-02-18 10:58:12

标签: ios xcode cordova 64-bit

我想让我目前的cordova pp与64位iOS兼容。我将cordova 3.7下载到我的项目中,但我无法构建。我收到以下错误。

Undefined symbols for architecture arm64:
  "_OBJC_METACLASS_$_CDVViewController", referenced from:
      _OBJC_METACLASS_$_RootViewController in RootViewController.o
  "_OBJC_METACLASS_$_CDVPlugin", referenced from:
      _OBJC_METACLASS_$_DataBasePlugin in DataBasePlugin.o
      _OBJC_METACLASS_$_LoginStatusPlugin in LoginStatusPlugin.o
  "_OBJC_IVAR_$_CDVViewController._commandQueue", referenced from:
      -[RootViewController didReceiveMemoryWarning] in RootViewController.o
  "_OBJC_CLASS_$_CDVViewController", referenced from:
      _OBJC_CLASS_$_RootViewController in RootViewController.o
  "_OBJC_CLASS_$_CDVPlugin", referenced from:
      _OBJC_CLASS_$_DataBasePlugin in DataBasePlugin.o
      _OBJC_CLASS_$_LoginStatusPlugin in LoginStatusPlugin.o
  "_OBJC_CLASS_$_CDVPluginResult", referenced from:
      objc-class-ref in DataBasePlugin.o
      objc-class-ref in LoginStatusPlugin.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我也尝试过以下链接

中的步骤

https://shazronatadobe.wordpress.com/2014/03/12/xcode-5-1-and-cordova-ios/

我按照以下链接将lib文件添加到我的项目

http://outof.me/embedding-cordovalib-in-your-iosphonegap-app-project/

请帮忙

0 个答案:

没有答案