osx - Xcode: How to use separate Projects with cross-project references to embed a framework in your application? -
i using xcode 4.3.
i have existing xcode project (originally created in xcode 3) embeddable mac os x framework. project has few targets, primary target in project framework. framework designed embedded in mac apps , has appropriate installation directory properties set. (
@executable_path/../frameworks
)i have new xcode project (created in xcode 4) mac os x application. there single mac app target in project.
i combine old framework project and/or target new app project can build both app , framework source in single, combined build process. (i have done in xcode 3 many times, cannot figure out in xcode 4).
i do not (unless it's way) want build framework separately , link app project. want combine framework target mac app project.
here's apple's outdated documentation describing how want in xcode 3:
embedding private framework in application bundle > using separate xcode projects each target
how do in xcode 4?
note: need know how add framework target new project. there, know how add dependencies , build phases of linking , copying built framework app bundle.
you have 2 separate xcode project files here: application , framework. answer section below 1 find: using separate xcode projects each target
edit:
ok. remember. need create workspace , add both projects it. can add target in 1 project other dependency: adding existing project workspace
i don't have details since don't have mac now. think can figure out once created workspace.
Comments
Post a Comment