Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time



  1. Create a Cartfile.private file if you don't already have one and add Moxie as a dependency, e.g.:
# Cartfile.private

github "DarthStrom/Moxie"
  1. Run carthage update.
  2. Drag Moxie from your Carthage/Build/[platform]/ directory into your test target's "Link Binary With Libraries" build phase.
  3. Create a new "Copy Files" build phase for your test target.
  4. Set the "Destination" to "Frameworks" and add the Moxie framework.

For more information on how to use Carthage, see the Carthage documentation.


  1. Make sure you are using Cocoapods version 0.36.0 or newer for Swift support.
  2. Create a Podfile file if you don't already have one and add Moxie as a testing dependency, e.g.:
# Podfile


target 'CoolProjUnitTests' do
    pod 'Moxie'
  1. Install your new dependency with pod install.

Swift Package Manager

  1. In Xcode, go to File -> Swift Packages -> Add Package Dependency...
  2. Enter the repository URL:
  3. Select the version/branch/commit to use
  4. Change the target to be your test target.