Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding Framework in Xcode 4 [duplicate]

Possible Duplicate:
How to “add existing frameworks” in Xcode 4?

How do I add a Framework in Xcode 4?

enter image description here

like image 383
Ohad Regev Avatar asked Jun 13 '11 19:06

Ohad Regev


People also ask

How do I add frameworks in Xcode?

To include a framework in your Xcode project, choose Project > Add to Project and select the framework directory. Alternatively, you can control-click your project group and choose Add Files > Existing Frameworks from the contextual menu.

Why are frameworks red in Xcode?

The red text indicates that the actual files are not at the path that the project has for them. Get info on the framework and look under the General tab. The first section shows the name and path of the framework bundle itself.


1 Answers

  1. In the project navigator, select your project
  2. Select your target
  3. Select the 'Build Phases' tab
  4. Open 'Link Binaries With Libraries' expander
  5. Click the '+' button
  6. Select your framework
  7. (optional) Drag and drop the added framework to the 'Frameworks' group

from How to "add existing frameworks" in Xcode 4?

like image 180
jimdrang Avatar answered Sep 16 '22 21:09

jimdrang