Uninstall/remove Carthage from iOS/Xcode project?

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

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)