Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Live SDK for iOS
Objective-C Ruby
Branch: master

Merge pull request #69 from avirambm/add_user_id

Added user_id to LiveConnectSession

Thanks for the contribution @avirambm !
latest commit d7b477ea5f
@aclev aclev authored


Live SDK for iOS

version 5.6

1. Introduction

The Live SDK for iOS library is intended to help developers to easily integrate OneDrive into their iOS apps.

The repository here includes:

  • Live SDK Library source (src/LiveSDK/Library)
  • Live SDK framework (bin/
  • Samples (src/samples)

For questions on how to use the sdk visit

2. Reference the API

You can reference the iOS API in two ways.

2.1 Install with Cocoapods

  • Install cocoapods following the getting started guide.
  • Add the following to your Podfile: pod 'LiveSDK'
  • Run the command pod install to install the latest LiveSDK pod.

2.2 To reference the iOS API source code directly

  • Open your iOS project in Xcode.
  • Click File > Add Files to "Your Project Name".
  • Go to and select the src/LiveSDK/Library folder under your local copy of the repository and then click "Add".
  • In your code file that you want to reference the API source code, add this import statement: #import "LiveConnectClient.h".

If you reference the iOS API source code directly and you use Xcode 4.2 or later, you must disable Automatic Reference Counting (ARC). This is because the Live SDK for iOS library source code uses manual reference counting. If you want to use ARC, you can either reference the iOS API framework by following the steps in the previous section(see 2.1), or do an ARC conversion on the library source code.

3. Documentation

Visit: and click the "Develop” link.

License Agreement

Copyright 2014 Microsoft Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Something went wrong with that request. Please try again.