shigemk2/CoreDataExample · GitHub
たしか第6章のくだりを写経してる習作を作って、rakeしてみたら
以下のようなエラーに苦しめられた。
Undefined symbols for architecture i386: "_OBJC_CLASS_$_UIDevice", referenced from: objc-class-ref in libmacruby-static.a(objc.o) "_UIApplicationMain", referenced from: _main in main.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
えーと、RubyMotion用のiOSスタティックライブラリが、ユニバーサルじゃないっていう
理解でOKなのでしょうか。
RubyMotion で使う iOS スタティックライブラリを作る - Watson's Blog
あんまりXcodeやらObjective-Cを理解しないままここまで来たので、
ツケが回ってきているような気がしている。