繁体   English   中英

Xcode不将Phonegap应用程序部署到64位模拟器或Iphone 5s

[英]Xcode Not Deploying Phonegap App To 64bit Simulator Or Iphone 5s

我有一个phonegap项目,它可以在运行IOS 7的iPhone 5和Iphone 4上部署得更好,也可以部署到4英寸模拟器上。 但是,如果我尝试在任何64位模拟器或64位手机Iphone 5S上进行部署,则构建失败,我不知道为什么。

它给出的错误如下。 从以下位置引用的“ _CDVLocalNotification”:

  -[AppDelegate application:didReceiveLocalNotification:] in AppDelegate.o

从以下位置引用的“ _CDVPluginHandleOpenURLNotification”

  -[AppDelegate application:handleOpenURL:] in AppDelegate.o

“ _OBJC_CLASS _ $ _ CDVCommandDelegateImpl”,引用自:

  _OBJC_CLASS_$_MainCommandDelegate in MainViewController.o

从以下位置引用的“ _OBJC_CLASS _ $ _ CDVCommandQueue”

  _OBJC_CLASS_$_MainCommandQueue in MainViewController.o

从以下位置引用的“ _OBJC_CLASS _ $ _ CDVPlugin”

  _OBJC_CLASS_$_CDVLogger in CDVLogger.o

从以下位置引用的“ _OBJC_CLASS _ $ _ CDVViewController”

  _OBJC_CLASS_$_MainViewController in MainViewController.o

“ _OBJC_METACLASS _ $ _ CDVCommandDelegateImpl”,引用自:

  _OBJC_METACLASS_$_MainCommandDelegate in MainViewController.o

从以下位置引用的“ _OBJC_METACLASS _ $ _ CDVCommandQueue”

  _OBJC_METACLASS_$_MainCommandQueue in MainViewController.o

从以下位置引用的“ _OBJC_METACLASS _ $ _ CDVPlugin”

  _OBJC_METACLASS_$_CDVLogger in CDVLogger.o

从以下位置引用的“ _OBJC_METACLASS _ $ _ CDVViewController”

  _OBJC_METACLASS_$_MainViewController in MainViewController.o

ld:找不到架构x86_64的符号

clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

转到Build Settings --> Architectures --> Valid Architectures

从有效架构部分删除arm64 ,然后尝试构建。

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM