Getting Started

Getting Started with iOS

Contents

Introduction

Verizon Personal Cloud Storage SDK for iOS simplifies the task of any third party developer who is consuming Verizon Personal Cloud Storage APIs. It exposes a set of public methods, which can be used by third party developers to access various Verizon Personal Cloud Storage APIs.

iOS SDK also provides authentication and authorization for the apps. If the user has Cloud Client installed on his or her Verizon Wireless issued 4G LTE mobile device and the app is using the SDK, the app will use Verizon’s Cloud Authentication silent sign-on (the user will not have to log on again).

Before You Begin

Before you can start coding, you will need to:

  1. Obtain Key, Secret, and Callback URL.
  2. Make sure you have the right tools.
  3. Install and set up Verizon Personal Cloud Storage SDK for iOS.

1. Obtain Key, Secret, and Callback URL

Key, Secret, and Callback URL are established during registration. If you have not yet registered, follow the steps on the Getting Credentials to Use the Personal Cloud Storage APIs page in the API Developer Guide to register.

2. Make Sure You Have the Right Tools

The minimum iOS version supported by the iOS SDK is iOS 8.0. Select iOS 8.0, in you project’s iOS Deployment Target.

3. Install and Set up Verizon Personal Cloud Storage SDK for iOS

There are three ways to download and install the SDK:

To download and install the standalone SDK, follow these steps and include the SDK in your project.

  1. Download iOS SDK.
  2. Unzip the file iOS_SDK_X.X.zip.
  3. Open Xcode (7 or later).
  4. Click on Target section.
  5. Select General tab.
  6. Drag and drop VerizonCloudAPI.framework file in embedded binaries. Select Copy Items if needed.
  7. Select Capabilities tab of the project editor. Enable Keychain Sharing to run application in simulator.
  8. Select Build Phases tab of the project editor. Click on the plus sign button at the top (+) and select New Run Script Phase. Enter the following code into the Script Text field:

    bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/VerizonCloudAPI.framework/bitcode-support.sh"
    

NOTE: Before you can download iOS SDK, you must first log on to ThingSpace Developer Portal and accept Verizon terms and conditions. If you start downloading the file without logging on, the download will stop and you will be redirected to the log on screen. Download will resume after a successful log on.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.