Episode #179

Carthage for Library Authors

15 minutes
Published on July 27, 2015

This video is only available to subscribers. Get access to this video and 584 others.

Sam Soffes joins us again to talk about supporting Carthage for your own libraries. In the demo, you'll also see how to structure a project to include both Mac and iOS framework targets with a single Xcode project.

This screencast was authored by Sam Soffes.

Episode Links

Adding Carthage to Your Library

Making a Framework

  • Create framework project
  • Shared scheme

Specifying Dependencies

  • Add required dependencies to Cartfile
  • Add development only dependencies to Cartfile.private

Publishing

  • Add to GitHub
  • Add Carthage badge to readme

This episode uses Carthage 0.7.5.