Mobile Backend as a Service with Push Notifications and Authentication.
The MBaaS Swift starter kit is an empty project preconfigured with support for Push Notifications and App ID. These services have been automatically provisioned for you, and you can begin to build out the functionality specific to your usecase.
- iOS 12.0+
- Xcode 10.0+
- Swift 5.0+
The IBM Cloud Mobile services SDK uses CocoaPods to manage and configure dependencies.
You can install CocoaPods using the following command:
$ sudo gem install cocoapods
If the CocoaPods repository is not configured, run the following command:
$ pod setup
For this starter, a pre-configured Podfile
has been included. To download and install the required dependencies, run the following command in your project directory:
$ pod install
Open the Xcode workspace: {APP_Name}.xcworkspace
. Continue to open the .xcworkspace
file as it contains all the dependencies and configurations.
If you run into any issues during the pod install, it is recommended to run a pod update by using the following commands:
$ pod update
$ pod install
Click Product > Run to start the app in Xcode. You will see a screen like this:
The application has built in integration points with the Push Notifications and AppID services.
-
Checkout the Swift Programming Guide to learn more about leveraging the capabilities of the IBM Cloud.
-
View the Push Notifications documentation to learn how to configure
-
View the App ID documentation to add the user authentication method that best serves your application.
This package contains code licensed under the Apache License, Version 2.0 (the "License"). You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 and may also view the License in the LICENSE file within this package.