iPhone Compiler Fails: No architectures to compile for

前端 未结 9 1520
轻奢々
轻奢々 2020-12-01 08:01

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

9条回答
  •  醉酒成梦
    2020-12-01 08:42

    Try this:

    Project Build Settings:

    • Architectures: Standard (armv6 armv7)
    • Base SDK: Latest iOS Build Active
    • Architectures Only: Checked Valid
    • Architectures: armv6 armv7

    Delete any sub settings in the Architecture build setting.

    Target Build Settings:

    • Same at project 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/

提交回复
热议问题