Newer Version Available
Clone and Import Gamification Mobile SDK for iOS
Clone the Gamification Mobile iOS SDK GitHub repository to copy the code base and
revision history of the repository to your local computer. After you clone the repository, import
Gamification Mobile iOS SDK in an Xcode project.
| Available in: all editions that have Loyalty Management enabled |
- Go to the Gamification Mobile SDK iOS repository.
-
To copy the repository URL to your clipboard, click Code, and then
click
.
- Open Terminal, and go to the directory where you want to clone the repository.
- Enter git clone https://github.com/loyaltysampleapp/GamificationMobileSDK-iOS.
- Press Enter and wait for the repository to clone.
- Open the project where you want to import GamificationMobileSDK-iOS in Xcode.
- Go to .
- Click Add Local, and then select the local GamificationMobileSDK-iOS folder.
- Select a version, and click Add Package and on the confirmation window, click Add Package.
-
To import the GamificationMobileSDK-iOS module into
your Swift file, open the swift file where you want to use GamificationMobileSDK-iOS, and to the first line of code, add:
import GamificationMobileSDK-iOS
You can now use the classes, structures, and protocols in the GamificationMobileSDK-iOS module to manage and customize the gamification features in
your mobile application.