Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove unwanted frameworks from xcode project

I have some unused frameworks in my xcode project.I want to remove those frameworks from the project. I tried deleting the framework but that deletes the framework from the entire xcode.Can anyone please tell me how to remove the framework only from the project not not the entire xcode

like image 539
pooja_1205 Avatar asked May 05 '14 06:05

pooja_1205


People also ask

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.

How do I add a framework to my workspace 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.


Video Answer


1 Answers

Simply select the framework you want to delete in your list of frameworks in your Xcode project (which you see I've done on the left side of my Test project) and you should see this dialog when you click the "delete" key:

delete confirmation Just click the remove reference button.

Do NOT click the "Move To Trash" button, or else you'll get the nasty surprise of losing frameworks out of your installed copy of Xcode.

like image 128
Michael Dautermann Avatar answered Sep 22 '22 08:09

Michael Dautermann