Requirements for the iOS SDK

Before you install the SDKs, understand the external components and extensions used with the SDKs and ensure your devices meet all requirements:

Apple iOS

The UI SDK requires iOS 15.0 or higher. The Core SDK requires iOS 13.0 or higher.

Apple Xcode

To develop using either the UI SDK or the Core SDK, install Xcode (version 12.3 or later) and the Command Line Tools for Xcode.

Apple Swift Package Manager

If you install the SDK using Swift Package Manager (SPM), use version 1.4.0 or higher.

note: The CocoaPods main trunk will be read-only by December 2026. When this happens, Salesforce will no longer be able to deploy apps for iPhones. Don’t use CocoaPods to install the SDK; instead, use Swift Package Manager. If you installed the SDK in the past using CocoaPods, migrate from CocoaPods to Swift Package Manager to ensure you can continue to receive the latest SDK releases. See the CocoaPods Trunk Read-only Plan for more information about CocoaPods’ read-only transition plan.

Zetetic SQLCipher

SQLCipher Community Edition is an open source extension to SQLite that supports database-level encryption. The UI SDK uses the SQLCipher extension.

Copyright (c) 2005, ZETETIC LLC
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution.
* Neither the name of the ZETETIC LLC nor the
  names of its contributors may be used to endorse or promote products
  derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY ZETETIC LLC ''AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL ZETETIC LLC BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Per SQLCipher's guidelines, if you use the Salesforce custom library, please include the SQLCipher Community Edition license and copyright statement in your application and documents. You can find more information about the guidelines at https://www.zetetic.net/sqlcipher/community/.