我是iphone開發和phonegap的新手。現在我想用phonegap創建簡單的iphone應用程序。現在我在獅子蘋果機上使用phonegap2.0。我的Xcode版本是4.3。現在我的問題是在xcode中安裝phonegap2.0之後,當我在我的模擬器5.0中運行Xcode時。我得到了這個錯誤。
"Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CDVViewController", referenced from:
_OBJC_CLASS_$_ViewController in ViewController.o
objc-class-ref in AppDelegate.o
"_OBJC_METACLASS_$_CDVViewController", referenced from:
_OBJC_METACLASS_$_ViewController in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)"
請幫我解決這個問題。提前致謝。 而且我附上錯誤頁面的屏幕截圖供您參考。
嗨。感謝您的回覆。但它顯示了另一個錯誤。 – kannan
錯誤是什麼? – Saif
「爲架構的ARMv6未定義的符號: 「_OBJC_CLASS _ $ _ CDVViewController」,從引用: _OBJC_CLASS _ $ _的ViewController在ViewController.o objc級,裁判在AppDelegate.o 「_OBJC_METACLASS _ $ _ CDVViewController」,從引用: _OBJC_METACLASS _ $ _的ViewController在ViewController.o ld:未找到架構armv6的符號 clang:錯誤:鏈接器命令失敗,退出代碼1(使用-v查看調用)「 – kannan