Xcode 5 app归档无法正常工作

时间:2014-06-11 12:25:27

标签: ios xcode

请帮帮我,我收到以下警告和12个错误!

我已经尝试将构建活动架构更改为否。

1

d: warning: ignoring file /Users/kevin/Library/Developer/Xcode/DerivedData/Move4u-ewfgdiwoasxtpydtflwbbzybqgqp/Build/Intermediates/ArchiveIntermediates/Move4u/BuildProductsPath/Release-iphoneos/libCordova.a, missing required architecture arm64 in file /Users/kevin/Library/Developer/Xcode/DerivedData/Move4u-ewfgdiwoasxtpydtflwbbzybqgqp/Build/Intermediates/ArchiveIntermediates/Move4u/BuildProductsPath/Release-iphoneos/libCordova.a (2 slices)
Undefined symbols for architecture arm64:
  "_OBJC_METACLASS_$_CDVPlugin", referenced from:
      _OBJC_METACLASS_$_DatePicker in DatePicker.o
  "_OBJC_CLASS_$_CDVPlugin", referenced from:
      _OBJC_CLASS_$_DatePicker in DatePicker.o
  "_OBJC_METACLASS_$_CDVCommandDelegateImpl", referenced from:
      _OBJC_METACLASS_$_MainCommandDelegate in MainViewController.o
  "_OBJC_CLASS_$_CDVPluginResult", referenced from:
      objc-class-ref in DatePicker.o
  "_CDVLocalNotification", referenced from:
      -[AppDelegate application:didReceiveLocalNotification:] 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_METACLASS_$_CDVViewController", referenced from:
      _OBJC_METACLASS_$_MainViewController in MainViewController.o
  "_OBJC_CLASS_$_CDVViewController", referenced from:
      _OBJC_CLASS_$_MainViewController in MainViewController.o
  "_OBJC_METACLASS_$_CDVCommandQueue", referenced from:
      _OBJC_METACLASS_$_MainCommandQueue in MainViewController.o
  "_CDVPluginHandleOpenURLNotification", referenced from:
      -[AppDelegate application:handleOpenURL:] in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

1 个答案:

答案 0 :(得分:0)

尝试从有效的体系结构中删除arm64。