开发者

XCode 4: How do you add an existing framework? [duplicate]

This question already has answers here: 开发者_如何转开发 Closed 11 years ago.

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

  1. select your project,
    1. select the target,
    2. go to the 'build phases' tab,
    3. open the 'Link binary with Libraries' disclosure triangle
    4. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜