This repository contains the Swift package description for the Workspace ONE software development kit (SDK) for iOS. You can integrate the SDK into your app using Swift package manager in Xcode.
For detailed information about the Workspace ONE SDK and managing internal apps, see the Omnissa Developer Portal SDKs page and navigate to the appropriate area.
This SDK is free and public. To obtain technical support for the use of the SDK, please submit a Support Request (SR) via Omnissa Customer Connect to get help from the Omnissa Global Customer Services (GCS).
Omnissa provides this Software Development Kit (the “Software”) to you subject to the following terms and conditions. By downloading, installing, or using the Software, you agree to be bound by the terms of Omnissa SDK License Agreement. If you disagree with any of the terms, then do not use the Software.
For additional information, please visit the Omnissa Legal Center.
The SDK is provided as either a Package or Release. Please download the software from the appropriate location.
This software is licensed under the Omnissa Software Development Kit (SDK) License Agreement; you may not use this software except in compliance with the License.
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.
This software may also utilize Third-Pary Open Source Software as detailed within the open_source_licenses.txt file.
To integrate the SDK into your app, proceed as follows.
-
Open your app project in Xcode.
-
Navigate to File, Swift Packages, Add Package Dependency...
This opens the Choose Package Repository screen.
-
Enter the address of this repository
https://github.com/euc-releases/iOS-WorkspaceONE-SDK
and click Next.This opens the Choose Package Options screen.
-
Select the rule Branch, leave the default value for branch name, and click Next.
Xcode will resolve the package dependency, which might take some time.
When resolution finishes, an Add Package screen opens.
-
Select to add the AWSDK package product to your app target and click Finish.
The SDK has now been added to your application project. You can start the integration work. See the developer documentation.
The SDK can also be integrated into products other than applications, such as frameworks and libraries. Add code like the following to your Package.swift
file.
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "YOUR_PROJECT_NAME",
dependencies: [
.package(url: "https://github.com/euc-releases/iOS-WorkspaceONE-SDK.git", from: "24.6.0"),
]
)
Build your product in the usual way, for example by running the swift
build
command.