I\'m trying to implement the Cocoa plotting framework (Alpha Release 0.1) in my iPhone app.
I figured I\'d first try to run the sample they provide. I attempted to o
This project appears to pre-date iOS 4, so you need to open up the .xcodeproj
file for the Core Plot library itself, too. It probably also has a broken reference to an old iOS Base SDK and may need the architectures updated.
Try this:
Project Build Settings:
Delete any sub settings in the Architecture build setting.
Target Build Settings:
Frameworks Add the SystemConfiguration.framework to your project. - Not sure why this had any impact.
Clean all targets. Build for the simulator.
The long explanation for this can be found on our blog: http://longweekendmobile.com/2010/06/15/fixing-the-missing-required-architecture-arm-in-file-when-developing-for-ipad/
For me it was that I had to add i386 to the VALID_ARCHS list. Odd, but it fixed my problem for simulator builds.
See this post.