Uninstall/remove Carthage from iOS/xCode project?

前端 未结 3 1148
粉色の甜心
粉色の甜心 2021-02-05 02:05

Here is a link to Carthage:

https://github.com/Carthage/Carthage

It additionally adds some changes in project files so I can simply remove extra fil

3条回答
  •  有刺的猬
    2021-02-05 02:26

    To completely remove Carthage and its frameworks from project:

    1. In Finder, delete these files and directory from your project's root folder:

      Cartfile
      Cartfile.resolved
      Carthage/
      
    2. In Xcode, delete the framework item in the project navigator.

    3. In Xcode > project Target > Build Phases tab (illustration), delete the carthage copy-frameworks Run Script (if you had previously added it).

    You can always download the framework you need from github and add it back in manually. (Or follow @tfrank377's answer).

    See also

    • Carthage Tutorial: Getting Started
    • Carthage documentation

提交回复
热议问题