문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top