Thanks a lot Zach. I know. Bills to pay… And I have a lot of respect for what people have done with ofx. And that’s why I tried.
Basically, things were working fine until I was forced to upgrade xcode to 3.2.3 (includes iOS 4) because xcode 3.2.2 would not provision my iPad (OS 3.2.1).
And since then it’s been sticky.
a. Framework paths are set to Relative to Current SDK, which should work, except that Current SDK path seems to be set to inside the example app folder, e.g., /Users/me/dev-local/openFrameworks/apps/iPhoneExamples/fontsExample/iphoneos2.2.1/System/Library/Frameworks/AudioToolbox.framework. Easy enough to fix. Xcode may have gotten confused because I install different SDKs at system root level, e.g., /Xcode-3.2.3/, /Xcode-3.2.2/, etc.
b. Build fails at that point because Poco libs are not found. All app examples for iPhone point to libs/poco/lib/iphone, when in fact the ofx disty places them under libs/poco/lib/armv6/. Easy enough to fix (BTW, it looks like iPad builds may require that libs be compiled for armv7 architecture).
c. Build fails again, reporting invalid DWARF. So I looked it up in the forums and folllowed stuartmemo’s recommendation (copy FreeImage/lib/osx/freeimage.a to iphone and rename it to libFreeImage_iphone_universal.a).
d. Build worked, but reporting the Copy Bundle Resource error. Fixed that too.
So then I had a running font example app. Great. So I then decided to repeat a to d for the iPhoneGuiExample.
And then it worked! So documenting my problems solved them. I guess it was my fault. Great. But you know what, I’m tired. Anyway, now that it works, I guess I have no reason to head over to libcinder (well documented, not all over the place, but more limited than ofx and so slow to link that it kills flow).
Case closed, for now.