Question

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

Was it helpful?

Solution

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.

OTHER TIPS

In your Project

1) Go to Build phases.

2)Link Binary with libraries.

3)select your framework that you want to remove and press minus button down there.

  1. Go to your Podfile in your project and remove the pod you wish (e.g. Alamofire)
  2. Go to project folder in Terminal. Enter pod install in the prompt.

It will remove frameworks which exist in your Project, but not in your Podfile.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top