Installation
CocoaPods
Manual
CocoaPods is a dependency manager for iOS, which automates and simplifies the process of using 3rd-party libraries in your projects. You can install CocoaPods with the following command:
1
$ gem install cocoapods
Copied!
To integrate the MPush into your Xcode project using CocoaPods, specify it in your Podfile:
1
platform :ios, '10.0'
2
​
3
target 'TargetName' do
4
use_frameworks!
5
​
6
pod 'MPushSwift'
7
end
Copied!
Then, run the following command:
1
$ pod install
Copied!
CocoaPods is the preferred method to install the library.
To install the library manually drag and drop the folder MPush to your project structure in XCode.
Note that MPush has MBNetworking (1.0) as a dependency, so you have to install also this library.
Last modified 1yr ago
Copy link