首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >更新到Cordova 3.4.1 iOS后,cordova应用程序再次链接失败

更新到Cordova 3.4.1 iOS后,cordova应用程序再次链接失败
EN

Stack Overflow用户
提问于 2014-05-14 19:08:55
回答 1查看 1.5K关注 0票数 1

当我试图构建我的应用程序来归档和更新到cordova 3.4.1时,我得到了这个链接错误消息。我之前解决了一些类似的问题,但我害怕触及构建设置,因为x86_64似乎不是一个受支持的体系结构。

我能做什么?

ld: warning:正在忽略文件/Users/bogdan/Library/Developer/Xcode/DerivedData/Eazybreak-ctqyotqyclrvjoghewxpdeoemnkd/Build/Products/Debug-iphonesimulator/libCordova.a,文件是为不是要链接的体系结构的归档构建的(x86_64):/Users/bogdan/Library/Developer/Xcode/DerivedData/Eazybreak-ctqyotqyclrvjoghewxpdeoemnkd/Build/Products/Debug-iphonesimulator/libCordova.a未定义的体系结构符号x86_64:"_CDVLocalNotification",引用自:-AppDelegate应用程序:didReceiveLocalNotification: in AppDelegate.o "_CDVPageDidLoadNotification",引用自:

这是我得到的错误消息(当然要长得多)。

任何帮助都是非常感谢的。

博格丹

添加完整的错误日志:

ld: warning: ignoring文件为不是要链接的架构的档案构建/Users/bogdan/Library/Developer/Xcode/DerivedData/Eazybreak-ctqyotqyclrvjoghewxpdeoemnkd/Build/Products/Debug-iphonesimulator/libCordova.a,文件(x86_64):/Users/bogdan/Library/Developer/Xcode/DerivedData/Eazybreak-ctqyotqyclrvjoghewxpdeoemnkd/Build/Products/Debug-iphonesimulator/libCordova.a架构的未定义符号x86_64:"_CDVLocalNotification",引用自:-AppDelegate应用程序:didReceiveLocalNotification: in AppDelegate.o "_CDVPageDidLoadNotification",引用自: CDVSplashScreen.o "_CDVPluginHandleOpenURLNotification",引用自:-AppDelegate pluginInitialize :handleOpenURL: in AppDelegate.o "_OBJC_CLASS_$_CDVCommandDelegateImpl",引用自: MainViewController.o "_OBJC_CLASS_$_CDVCommandQueue",引用自: MainViewController.o "_OBJC_CLASS_$_CDVPlugin",引用自: CDVDevice.o CDVConnection.o CDVNotification.o CDVNotification.o CDVSplashScreen.o "_OBJC_CLASS_$_CDVPluginResult",引用自:_OBJC_CLASS_$_CDVNotification - _OBJC_CLASS_$_CDVSplashScreen -_OBJC_CLASS_$_CDVPluginResult。o CDVConnection.o objc-class-ref。o CDVNotification.o "_OBJC_CLASS_$_CDVViewController",引用自:_OBJC_CLASS_$_MainViewController in MainViewController.o objc-class-ref in CDVDevice.o "_OBJC_METACLASS_$_CDVCommandDelegateImpl",引用自:_OBJC_METACLASS_$_MainCommandDelegate in MainViewController.o "_OBJC_METACLASS_$_CDVCommandQueue",引用自: MainViewController.o "_OBJC_METACLASS_$_CDVPlugin",引用自: CDVDevice.o CDVConnection.o CDVNotification.o _OBJC_METACLASS_$_CDVNotification中的_OBJC_METACLASS_$_CDVDevice .o CDVSplashScreen.o "_OBJC_METACLASS_$_CDVViewController",引用自: MainViewController.o ld:未找到体系结构的符号x86_64 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

EN

回答 1

Stack Overflow用户

发布于 2014-05-29 23:30:26

尝试从生成设置>有效体系结构中删除x86_64。我在arm64架构上也遇到过类似的问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23652932

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档