[英]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.