简体   繁体   中英

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

I have a phonegap project that deploys just fine on Iphone 5 running IOS 7 and older Phones to like Iphone 4. It also deploys to the 4 inch simulator just fine. However if i try to deploy on any 64 bit simulator or Iphone 5S which is a 64bit phone, the build fails and I dont know why.

The error it gives is as below. "_CDVLocalNotification", referenced from:

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

"_CDVPluginHandleOpenURLNotification", referenced from:

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

"_OBJC_CLASS_$_CDVCommandDelegateImpl", referenced from:

  _OBJC_CLASS_$_MainCommandDelegate in MainViewController.o

"_OBJC_CLASS_$_CDVCommandQueue", referenced from:

  _OBJC_CLASS_$_MainCommandQueue in MainViewController.o

"_OBJC_CLASS_$_CDVPlugin", referenced from:

  _OBJC_CLASS_$_CDVLogger in CDVLogger.o

"_OBJC_CLASS_$_CDVViewController", referenced from:

  _OBJC_CLASS_$_MainViewController in MainViewController.o

"_OBJC_METACLASS_$_CDVCommandDelegateImpl", referenced from:

  _OBJC_METACLASS_$_MainCommandDelegate in MainViewController.o

"_OBJC_METACLASS_$_CDVCommandQueue", referenced from:

  _OBJC_METACLASS_$_MainCommandQueue in MainViewController.o

"_OBJC_METACLASS_$_CDVPlugin", referenced from:

  _OBJC_METACLASS_$_CDVLogger in CDVLogger.o

"_OBJC_METACLASS_$_CDVViewController", referenced from:

  _OBJC_METACLASS_$_MainViewController in MainViewController.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Go to Build Settings --> Architectures --> Valid Architectures

Remove arm64 from valid architectures section and try building.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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