March 30, 2015 | Written by: Stacy Tilmann
Share this post:
Do you want to take the fast track to building a mobile app for iOS without worrying about IT infrastructure? Now you can because IBM MobileFirst Platform for iOS offers a powerful backend that runs on Bluemix, complete with a set of services that cover common backend needs, including data, push notifications, security, and analytics. To get started right away, use the MobileFirst Services Starter app in the Bluemix catalog.
If you already got familiar with MobileFirst Platform for iOS during the beta period, read on to learn about new pricing and how to transition your apps.
New pricing plans
Pricing plans for the MobileFirst Platform for iOS beta are now expired. The Bluemix catalog is updated with new, general availability pricing.
The MobileFirst Services Starter contains the services listed in the following table.
||Beta Plans (Expired)
|Advanced Mobile Access
|Cloudant No SQLDB
|Push for iOS 8
How does this affect my existing apps?
While you can no longer create new service instances from the beta plan, apps that were previously bound to beta service instances will continue to work until April 10th, 2015. To continue using your existing apps without interruption, replace any beta service instances with the new service plans before then.
How do I replace beta service instances in my apps?
There are a few simple steps to replace a beta service instance in your app:
- Unbind the beta service from your app.
- Create a new service instance that is associated with one of the new plans available.
- Bind the new service instance to your app.
- Delete the beta service instance from your space.
Updating the SDK
You can download the current version of MobileFirst Platform for iOS SDK and incorporate it in into your existing apps. If you are using the CocoaPods dependency manager to manage your SDK, use the following steps:
- Update the existing podfile. (The new podfile includes IMFData.) An example podfile follows:
# Copy the following list as is and remove the dependencies you do not need
- [Optional] Delete the Pods directory and Podfile.lock file from your Xcode project.
- Run the pod install command.
Updating iOS client code for Data for iOS 8
In any file where the IMFDataManager API was referenced, add the following import:
Updating iOS client code for Push for iOS 8
current working environment setting has been removed from the IMFPush API. To prevent compile errors, remove the following line from your code:
push.environment = IMFPushEnvironmentSandbox
Limitations and known issues
There is a known issue with Cloudant NoSQL where queries for data types that contain non-indexed fields fail. To avoid this issue, ensure that the indexes you create include all fields of all data types.