Carthage: How to remove a particular framework from carthage

Created on 1 Jun 2017  路  2Comments  路  Source: Carthage/Carthage

  • carthage version: 0.22.0

How to remove particular framework from list of frameworks installed using carthage in xcode project. Is there a command like carthage remove "github "Alamofire/Alamofire"" present?

question

Most helpful comment

In Build Phases in your Xcode project:

  • locate your carthage copy-frameworks phase
  • remove the framework from the Input Files list of the phase

In your Cartfile and Cartfile.resolved:

  • delete any mentions of the framework

All 2 comments

In Build Phases in your Xcode project:

  • locate your carthage copy-frameworks phase
  • remove the framework from the Input Files list of the phase

In your Cartfile and Cartfile.resolved:

  • delete any mentions of the framework

I'd just add that the framework also needs to be removed from Linked Frameworks and Libraries from the _General_ tab in your Xcode project.

Was this page helpful?
0 / 5 - 0 ratings