Skip to content

Splash04/butterflymx-sdk-ios

 
 

Repository files navigation

Installation

Swift Package Manager (Package.swift file)

If your project utilizes its own Package.swift file, you have the option to include ButterflyMX as a dependency within that file. Follow the steps below to add the BMXSDK package to your dependencies list.

  1. Include the ButterflyMX package in your list of dependencies:
dependencies: [
    .package(url: "https://github.com/runslikebutter/butterflymx-sdk-ios.git", .upToNextMajor(from: "2.3.1"))
],
  1. Add a dependency on the BmxCore and BmxCall products to the targets that will use ButterflyMX within your application:
.target(
    name: "MyApp",
    dependencies: [
        .product(name: "BMXCore", package: "butterflymx-sdk-ios"),
        .product(name: "BMXCall", package: "butterflymx-sdk-ios")
    ]
)

Swift Package Manager (Xcode project)

  1. In Xcode, navigate to File > Add Packages....
  2. In the dialog box that appears, paste the URL of the BMXSDK repository (https://github.com/runslikebutter/butterflymx-sdk-ios.git) into the search bar. Wait for the butterflymx-sdk-ios package to appear in the search results.
  3. Choose the desired version of the ButterflyMX package, then click Add Package.
  4. In the list of available packages, select both the BmxCore and BmxCall packages.
  5. Finally, click Add Package to add the selected packages to your project.

Cocoapods

Previously, we had distributed our SDK as compiled framework: https://github.com/runslikebutter/butterflymx-ios-sdk So to use current (updated) version you have to set git: value in your pod file like this:

  pod 'BMXCall', :git => 'https://github.com/runslikebutter/butterflymx-sdk-ios'
  pod 'BMXCore', :git => 'https://github.com/runslikebutter/butterflymx-sdk-ios'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 95.4%
  • Shell 1.8%
  • Objective-C 1.5%
  • Ruby 1.3%