This new way that XCode 4.0 handles dependencies frustrates me.
What I want to do is to have a project that has as a dependency a framework. And I want the resulting .framework file to be copied into the actual executable. In Xcode 3 this was a simple procedure, but now, I can't do it with XCode 4.
I create a new workspace. I add the Application Project. I then drag and drop the Framework's project file underneath the Application Project inside the workflow navigator. I select the Application Project's target, and I add as a dependency the framework. I also Link it with this library.
Now, if I build the Application project it will run just fine, but the .framework file is not included in the application bundle which means that when it is being transferred into another location it will not open!
I remember in XCode 3 that there was a copy files build phase that allowed copying the frameworks with the executable. In XCode 4, I can't select the framework file to add it into the copy files build phase!
Please help me, this is an important problem for me.
What I want to do is to have a project that has as a dependency a framework. And I want the resulting .framework file to be copied into the actual executable. In Xcode 3 this was a simple procedure, but now, I can't do it with XCode 4.
I create a new workspace. I add the Application Project. I then drag and drop the Framework's project file underneath the Application Project inside the workflow navigator. I select the Application Project's target, and I add as a dependency the framework. I also Link it with this library.
Now, if I build the Application project it will run just fine, but the .framework file is not included in the application bundle which means that when it is being transferred into another location it will not open!
I remember in XCode 3 that there was a copy files build phase that allowed copying the frameworks with the executable. In XCode 4, I can't select the framework file to add it into the copy files build phase!
Please help me, this is an important problem for me.