Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 1124 Vote(s) - 3.51 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I "add existing frameworks" in Xcode 4?

#1
I can't find the good old "Add existing frameworks" option. How do I do this?

We're talking about Xcode 4 DP2 (in the context of iPhone development, as far as it matters...).
Reply

#2
[As per Apple's documentation:](

[To see links please register here]

)

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 <kbd>+</kbd> button.
6. Select your framework.
7. *(optional)* Drag and drop the added
framework to the "*Frameworks*" group.
Reply

#3
1. In the project navigator, select your project.

2. Select your target.

3. Select the "Build Phases" tab.

4. expander. Click the + button.

5. Select your framework.

6. (optional) Drag and drop the added
framework to the "Frameworks" group.

![enter image description here][1]


[1]:
Reply

#4
# Xcode 12

Just drag it into the `Frameworks, Libraries, and Embedded Content` of the `General` section of the `Target`:

[![enter image description here][1]][1]
**Done!**

<Sub> **Note that** Xcode 11 and 10 have a very similar flow too.</sub>

[1]:
Reply

#5
Another easy way to do it so that it is referenced in the project folder you want, like "Frameworks", is to:

1. Select "Show the Project navigator"
2. Right-click on the project folder you wish to add the framework to.
3. Select 'Add Files to "YourProjectName"'
4. Browse to the framework - generally under /Developer/SDKs/MacOSXversion.sdk/System/Library/Frameworks
5. Select the one you want.
6. Select "Add"

It will appear in both the project navigator where you want it, as well as in the "Link Binary With Libraries" area of the "Build Phases" pane of your target.
Reply

#6
I just added the existing framework folder manually into the project navigator. It worked for me.
Reply

#7
In Project:

1. Select the project navigator
2. Click on <kbd>Build Phases</kbd>
3. Click on link binary with libraries
4. Click on the <kbd>+</kbd> button and add your Frameworks
Reply

#8
Follow the below five steps to add a framework in your project.

1. Click on *Project Navigator*.
2. Select **Targets** (Black arrow in the below image).
3. Select **Build phases** ( Blue arrow in the below image).
4. Click on the <kbd>+</kbd> button (Green arrow in below image).
5. Select your **framework** from the list.

![Framework][2]

Here is [the official Apple page][1].

[1]:

[To see links please register here]

[2]:






Reply

#9
Follow the screenshots:

![Go to linked framework and libraries][1]

![Enter image description here][2]

You are ready to *go*!

[1]:

[2]:



Reply

#10
The frameworks directory is as follows in my computer:

`/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks`

Not the directory

```lang-none
/Developer/SDKs/MacOSXversion.sdk/System/Library/Frameworks
```


Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through