The recommended approach to use BluFi in your project is using the CocoaPods package manager, as it provides flexible dependency management and dead simple installation.
Install CocoaPods if not already available:
$ [sudo] gem install cocoapods
$ pod setup
Go to the directory of your Xcode project, and Create and Edit your Podfile and add BluFi:
$ cd /path/to/MyProject
$ touch Podfile
$ edit Podfile
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
pod 'BluFi', '~> 1.0.0'
Install into your project:
$ pod install
If CocoaPods did not find the BluFi 1.0.0
dependency execute this command:
$ pod repo update
Open your project in Xcode from the .xcworkspace file (not the usual project file)
$ open MyProject.xcworkspace
You can use The Swift Package Manager to install BluFi
by adding the proper description to your Package.swift
file:
import PackageDescription
let package = Package(
name: "YOUR_PROJECT_NAME",
dependencies: [
.Package(url: "https://github.com/tuanpmt/BluFi.git")
]
)
Note that the Swift Package Manager is still in early design and development, for more information checkout its GitHub Page.
link |
Stars: 19 |
Last commit: 4 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics