XCode 4: How do you add an existing framework? [duplicate]
Possible Duplicate:
How to “add existing frameworks” in Xcode 4?
I know in previous version, you could right-click and go to Add > Existing Framework. I can't find a similar option in XCode 4.
In the Project Navigator
- select your project,
- select the target,
- go to the 'build phases' tab,
- open the 'Link binary with Libraries' disclosure triangle
- Use the + to add the library you want
Here's a pic that probably summarizes the process much better! http://i.stack.imgur.com/Or9gL.png
If you have a developer account:
https://devforums.apple.com/thread/53354?tstart=0
Old question but now you can also do it through File->Add Files and it automatically adds it.
精彩评论