# credentials-swift **Repository Path**: aliyun/credentials-swift ## Basic Information - **Project Name**: credentials-swift - **Description**: Alibaba Cloud Credentials for Swift - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-08 - **Last Updated**: 2025-05-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [English](./README.md) | 简体中文 ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg) ## Alibaba Cloud Credentials for Swift(5.6) [![Cocoapod Version](https://img.shields.io/cocoapods/v/AlibabaCloudCredentials)](https://cocoapods.org/pods/AlibabaCloudCredentials) ## 依赖 - iOS 13.3+ / macOS 10.15+ - Xcode 11.3+ - Swift 5.6 ## 安装 ### CocoaPods [CocoaPods](https://cocoapods.org) 是 Cocoa 项目管理工具。请访问其官方网站获取关于 CocoaPods 的使用和安装说明。要使用 CocoaPods 将 `AlibabaCloudCredentials` 集成到你的 Xcode 项目中,需要在 `Podfile` 中定义以下内容: ```ruby pod 'AlibabaCloudCredentials', '~> 1.0.0' ``` ### Carthage 要使用 [Carthage](https://github.com/Carthage/Carthage) 将 `AlibabaCloudCredentials` 集成到你的 Xcode 项目中,需要在 `Cartfile` 中定义以下内容: ```ogdl github "aliyun/credential-swift" "1.0.0" ``` ### Swift 包管理工具 要使用 [Swift Package Manager](https://swift.org/package-manager/) 将 `AlibabaCloudCredentials` 集成到你的 Xcode 项目中,请将 `AlibabaCloudCredentials` 添加至你的 `Package.swift` 文件的 dependencies 数组内容中: ```swift dependencies: [ .package(url: "https://github.com/aliyun/credential-swift.git", from: "1.0.0") ] ``` 另外,还需要在 `target` 的 `dependencies` 中添加 `"AlibabaCloudCredentials"`,如下: ```swift .target( name: "", dependencies: [ "AlibabaCloudCredentials", ]), ``` ## 问题 [提交 Issue](https://github.com/aliyun/credential-swift/issues/new),不符合指南的问题可能会立即关闭。 ## 发行说明 每个版本的详细更改记录在[发行说明](./ChangeLog.md)中。 ## 相关 * [OpenAPI 开发者门户](https://next.api.aliyun.com/) * [最新源码](https://github.com/aliyun/credential-swift) ## 许可证 [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) Copyright (c) 2009-present, Alibaba Cloud All rights reserved.