Integrate with iOS
Add the Unified Storage SDK to your iOS project using the cocoapods-mPaaS plugin.
Prerequisites
Before you begin, ensure that you have:
Connected your project to mPaaS. See Integrate into an existing project using CocoaPods for setup instructions
Installed CocoaPods with the cocoapods-mPaaS plugin configured
Add the SDK
-
In your Podfile, add the Unified Storage dependency using
mPaaS_pod "mPaaS_DataCenter".
Run
pod installto fetch and link the dependency.-
Open the generated
.xcworkspacefile in Xcode — not the.xcodeprojfile — to load the project with all dependencies resolved.open <YourProject>.xcworkspace
If pod install fails with a "CocoaPods could not find compatible versions" error, run pod repo update in Terminal first, then retry pod install.
Use the SDK
For API usage and working examples, see the official Unified Storage demo on GitHub. The demo covers baselines 10.1.60 and later.