Create the project
Create an empty project with XCode, then create a file called Podfile in the root directory of the project. We will use the Swift language, but all of this can be translated to Objective-C.
We will use CocoaPods to install the SDK in our project. If you have not installed CocoaPods yet, open a terminal window and run this command:
After, create a Podfile, this can be done by running
Open the Podfile create and write this, replacing YourTarget with the name of your target:
Then open terminal and run
This will create a new .xcworkspace file, so remember to use this from now on.
If everything has gone well you will have installed the MBurger SDK in your project.
Last updated