2012-11-29 25 views
0

安裝的PhoneGap iOS上的插件Barcode reader後,我得到了以下錯誤:條碼iOS的插件:無法識別的選擇

-[CDVbcsViewController setOrientationDelegate:]: 
      unrecognized selector sent to instance 0x2fb6a0 

值得一mentionning那之前,我可以成功編譯項目,我不得不做了一些變化,由於編譯錯誤,我在網上837獲得在CDVBarcodeScanner.mm

Use of undeclared identified 'UIInterfaceOrientationMaskPortrait'; 
      did you mean 'UIInterfaceOrientationPortrait' ? 

所以我刪除Mask˚F rom UIInterfaceOrientationMaskPortrait建議。


我也有其他的3個警告:

  • 語義問題:Property 'orientationDelegate' requires method 'setOrientationDelegate' to be defined
  • 語義問題:Property 'orientationDelegate' requires method 'orientationDelegate' to be defined
  • 語義問題:No previous prototype for function 'compareModuleSize'

(文件zxing-all-in-one.cpp中)任何想法我做錯了什麼?

謝謝

的XCode 4.2版

回答

相關問題