Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 869
Joe Avatar asked Aug 01 '10 15:08

Joe


People also ask

Can you duplicate an Xcode project?

Duplicating an Xcode ProjectIn the Finder, duplicate the project folder to the desired location of your new project. Do not rename the . xcodeproj file name or any associated folders at this stage. In Xcode, rename the project.

How do you insert a framework?

Add the Framework Select the app target and the General tab. Scroll down to the Embedded Binaries section and click on the + button. 👉 Xcode shows a list of frameworks. Select the first BFWControls.

How do I update framework in Xcode?

In Xcode selector your framework target and in build settings search for linking and you will se this setting there. We created a build script to bump this version number every time we build. Xcode caches the frameworks and uses the cache if possible. That's why you need to change this number.

How do I add a framework in Swift?

In the app, select the project from the project navigator, select the Stocktance target, and scroll to Frameworks, Libraries, and Embedded Content. Click on the plus button, click Add Other… and select Add Files… Navigate to the SettingsKit folder and select it. We've added the framework to the project.


2 Answers

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

like image 123
Luke Avatar answered Oct 13 '22 23:10

Luke


If you have a developer account:

https://devforums.apple.com/thread/53354?tstart=0

like image 35
Nippysaurus Avatar answered Oct 14 '22 01:10

Nippysaurus