Workspace ONE Software Development Kit Swift Package
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.
Agreement
Before downloading, installing or using the VMware Workspace ONE SDK you must:
-
Review the VMware Workspace ONE Software Development Kit License Agreement. By downloading, installing, or using the VMware Workspace ONE SDK you agree to these license terms. If you disagree with any of the terms, then do not use the software.
-
Review the VMware Privacy Notice and the Workspace ONE UEM Privacy Disclosure, for information on applicable privacy policies.
This applies however you obtain the software.
Application Integration
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/vmwareairwatchsdk/iOS-WorkspaceONE-SDKand 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.
Developer Documentation
Full instructions for integrating your app with the Workspace ONE SDK for iOS are available on the developer.vmware.com website. See: https://developer.vmware.com/web/sdk/Native/airwatch-ios
Other Integration
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.3
import PackageDescription
let package = Package(
name: "YOUR_PROJECT_NAME",
dependencies: [
.package(url: "https://github.com/vmwareairwatchsdk/iOS-WorkspaceONE-SDK.git", from: "21.9.0"),
]
)Build your product in the usual way, for example by running the swift build
command.
Legal
- VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com
- Copyright © 2021 VMware, Inc. All rights reserved.
- This content is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at https://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. and its subsidiaries in the United States and other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.