Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


This API SDK was automatically generated by APIMATIC v2.0

Note: Only works with Cocoapods version 0.38.2 or later. Due to recent breaking changes, you must upgrade to the latest pod version. You can find the change log link below.

How To Configure:

The generated code might need to be configured with your API credentials. To do that, open the file "Configuration.h" and edit it's contents.

How to build and use via CocoaPods:

CocoaPods is a popular dependency manager for Swift and Objective-C Cocoa projects. The following instructions help you integrate with an existing CocoaPods project.

1. Create a folder named RewardSciencesAPI in /path/to/your/project/Vendor/
2. Extract the contents of the SDK in to the folder named RewardSciencesAPI
3. Add the following line to your PodFile : 
       pod 'RewardSciencesAPI', :path => 'Vendor/RewardSciencesAPI'
4. Execute 'pod install' from terminal to install the dependency in to your project.
Note: Use pod setup to update your Cocoapods repo if yoou haven't done that for a while

For more information, please refer to on how to use CocoaPods to manage dependency for the project.

How to build via static framework:

The generated code uses two Cocoa Pods namely, JSONModel and UniRest. Reference to these two is already set in the PodFile, all you need to do is the following.

1. Open terminal and goto the unarchived directory.
2. Run command "pod install" without the quotes. 
3. A new file named "RewardSciencesAPI.xcworkspace" will be created as a result.
4. Open the "RewardSciencesAPI.xcworkspace" in XCode 5.0.
5. Change the build target: Product -> Schema and select "Framework"
6. Invoke build command. By default the generated framework is copied to your desktop. 

How to use the static framework:

The build process generates a static library, which can be used just like an ordinary static library. See the following link for more information on this topic.

Note: You may need to add the '-all_load' flag (under Build Settings > Linking > Other Linker Flags) in your app project that uses this framework.


Reward Sciences IOS SDK. Need help? Email us at







No releases published


No packages published