Awesome
WARNING: This repository is no longer maintained :warning:
<p align="center"> <a href="https://cloud.ibm.com"> <img src="https://cloud.ibm.com/media/docs/developer-appservice/resources/ibm-cloud.svg" height="100" alt="IBM Cloud"> </a> </p> <p align="center"> <a href="https://cloud.ibm.com"> <img src="https://img.shields.io/badge/IBM%20Cloud-powered-blue.svg" alt="IBM Cloud"> </a> <img src="https://img.shields.io/badge/platform-ios-lightgrey.svg?style=flat" alt="platform"> <img src="https://img.shields.io/badge/license-Apache2-blue.svg?style=flat" alt="Apache 2"> </p>This repository will not be updated. The repository will be kept available in read-only mode.
Create an iOS application
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.
Steps
Building Locally
To get started building this application locally, you can run the application natively.
Native Application Development
- 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.
License
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.