なんかの Log

良い感じで投げっぱなしにしてみせる。

PhoneGap 2.1でビルドエラー

"_OBJC_CLASS_$_CDVURLProtocol", referenced from:
       objc-class-ref in AppDelegate.o
   "_OBJC_CLASS_$_CDVViewController", referenced from:
       _OBJC_CLASS_$_MainViewController in MainViewController.o
   "_OBJC_METACLASS_$_CDVViewController", referenced from:
       _OBJC_METACLASS_$_MainViewController in MainViewController.o
 ld: symbol(s) not found for architecture i386
 clang: error: linker command failed with exit code 1 (use -v to see invocation)

環境

XCode 4.5.1
iPad3 iOS 5.1.1

ぐぐったらすでに解決方法が書いてあった。

PhoneGap2.1とXcode4.5でエラー - メモログ

というわけでASF Git Reposのdiffを参考にぺちぺち修正したらビルドできました。という報告。

行数は違うみたいなので適当に上下のキーワードで付近に飛んだほうがいいです。