changing a Project Builder project so it builds a Framework instead of a Bundle

  • Hi,

    I am developing a library using Project Builder.
    Originally it was intended that the library would be
    packaged as Mac OS X Bundle, and manually loaded with
    the Bundle API. When starting the project, the Bundle
    template was used.

    Now I want this project to be packaged as a Framework
    instead. There doesn't seem to be any quick way in
    project builder of making the switch, so I've been
    trying to manually change the build settings to
    accomplish this. I've copied the build settings from a
    Framework project to my Bundle project. Now the build
    settings for my project look exactly like those that
    one would have if they had started off with a
    Framework template in the first place, except for one
    difference: in the Targets tab, under Settings/Simple
    View/General Settings/ the product type is given as
    "Bundle". This is displayed in a non-editable field.
    In a framework, the product type would be "Framework".

    The project builds fine, but when I try to use it in
    another project (a console tool), building of the tool
    fails at the linking stage:

    ld: can't locate framework for: -framework shapeAPI

    Any ideas how I can convert the project so that it
    builds a framework properly? I would just start a new
    project, and copy over the source files and resources,
    but all the code is managed under CVS, so this
    approach would create some difficulties (I think - if
    anyone knows otherwise, please shout).

    thanks for any help,

    Brian Sheehan

    __________________________________
    Do you Yahoo!?
    SBC Yahoo! DSL - Now only $29.95 per month!
    http://sbc.yahoo.com