This repository will not be updated. The repository will be kept available in read-only mode.
We have applications available for Node.js Express, Go Gin, Python Flask, Python Django, Java Spring, Java Liberty, Swift Kitura, Android, and iOS.
In this sample, you will create an iOS application complete with standard best practices built for IBM Cloud.
To get started building this application locally, you can run the application natively.
- Install the latest Xcode 11.0+ version.
- iOS 12.0+
- Swift 5.0
To run your application locally:
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
is included in the ios_swift/Podfile location. To download and install the required dependencies, run the following command in the ios_swift 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.
Your application will be running within your chosen device emulator.
This sample application is licensed under the Apache License, Version 2. Separate third-party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses. Contributions are subject to the Developer Certificate of Origin, Version 1.1 and the Apache License, Version 2.