AzureTemplate 1.7.0-beta.2

AzureTemplate 1.7.0-beta.2

微软公司 维护。



AzureTemplate 1.7.0-beta.2

  • Azure SDK 移动团队

{"payload":{"allShortcutsEnabled":false,"fileTree":{"sdk/template/AzureTemplate":{"items":[{"name":"AzureTemplate.xcodeproj","path":"sdk/template/AzureTemplate/AzureTemplate.xcodeproj","contentType":"directory"},{"name":"Source","path":"sdk/template/AzureTemplate/Source","contentType":"directory"},{"name":"AzureTemplate.podspec.json","path":"sdk/template/AzureTemplate/AzureTemplate.podspec.json","contentType":"file"},{"name":"CHANGELOG.md","path":"sdk/template/AzureTemplate/CHANGELOG.md","contentType":"file"},{"name":"Package.swift","path":"sdk/template/AzureTemplate/Package.swift","contentType":"file"},{"name":"README.md","path":"sdk/template/AzureTemplate/README.md","contentType":"file"}],"totalCount":6},"sdk/template":{"items":[{"name":"AzureTemplate","path":"sdk/template/AzureTemplate","contentType":"directory"},{"name":"ci.yml","path":"sdk/template/ci.yml","contentType":"file"}],"totalCount":2},"sdk":{"items":[{"name":"communication","path":"sdk/communication","contentType":"directory"},{"name":"core","path":"sdk/core","contentType":"directory"},{"name":"identity","path":"sdk/identity","contentType":"directory"},{"name":"template","path":"sdk/template","contentType":"directory"},{"name":"test","path":"sdk/test","contentType":"directory"}],"totalCount":5},"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"AzureSDK.xcworkspace","path":"AzureSDK.xcworkspace","contentType":"directory"},{"name":"eng","path":"eng","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"jazzy","path":"jazzy","contentType":"directory"},{"name":"sdk","path":"sdk","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".swiftformat","path":".swiftformat","contentType":"file"},{"name":".swiftlint.yml","path":".swiftlint.yml","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"Podfile","path":"Podfile","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"SECURITY.md","path":"SECURITY.md","contentType":"file"}],"totalCount":14}},"fileTreeProcessingTime":15.888592,"foldersToFetch":[],"repo":{"id":123228625,"defaultBranch":"main","name":"azure-sdk-for-ios","ownerLogin":"Azure","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2018-02-28T04:22:34.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/6844498?v=4","public":true,"private":false,"isOrgOwned":true},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"main","listCacheKey":"v0:1710974628.0","canEdit":false,"refType":"branch","currentOid":"6015c971c1593f3260ada5b15612515cf1e019a1"},"path":"sdk/template/AzureTemplate/README.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/Azure/azure-sdk-for-ios/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"README.md","displayUrl":"https://github.com/Azure/azure-sdk-for-ios/blob/main/sdk/template/AzureTemplate/README.md?raw=true","headerInfo":{"blobSize":"5.16 KB","deleteTooltip":"您必须登录才能创建或提议更改","editTooltip":"您必须登录才能创建或提议更改","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"98c43a7","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-ios%2Fblob%2Fmain%2Fsdk%2Ftemplate%2FAzureTemplate%2FREADME.md","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"iOS 的 Azure 模板客户端库","anchor":"azure-template-client-library-for-ios","htmlText":"iOS 的 Azure 模板客户端库"},{"level":2,"text":"入门","anchor":"getting-started","htmlText":"入门"},{"level":3,"text":"先决条件","anchor":"prerequisites","htmlText":"先决条件"},{"level":3,"text":"安装库","anchor":"install-the-library","htmlText":"安装库"},{"level":4,"text":"使用 Swift Package Manager 添加包依赖项","anchor":"add-a-package-dependency-with-swift-package-manager","htmlText":"使用 Swift Package Manager 添加包依赖项"},{"level":5,"text":"Xcode","anchor":"xcode","htmlText":"Xcode"},{"level":5,"text":"Swift CLI","anchor":"swift-cli","htmlText":"Swift CLI"},{"level":4,"text":"使用 CocoaPods 整合客户端库","anchor":"integrate-the-client-libraries-with-cocoapods","htmlText":"使用 CocoaPods 整合客户端库"},{"level":2,"text":"关键概念","anchor":"key-concepts","htmlText":"关键概念"},{"level":2,"text":"示例","anchor":"examples","htmlText":"示例"},{"level":2,"text":"故障排除","anchor":"troubleshooting","htmlText":"故障排除"},{"level":2,"text":"下一步动作","anchor":"next-steps","htmlText":"下一步动作"},{"level":2,"text":"贡献","anchor":"contributing","htmlText":"贡献"}],"lineInfo":{"truncatedLoc":"134","truncatedSloc":"94"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/Azure/azure-sdk-for-ios/blob/main/sdk/template/AzureTemplate/README.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/Azure/azure-sdk-for-ios/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/Azure/azure-sdk-for-ios/raw/main/sdk/template/AzureTemplate/README.md","renderImageOrRaw":false,"richText":"

iOS 的 Azure 模板客户端库

\n

此包没有功能,仅用于测试工程系统集成。

\n

入门

\n

先决条件

\n
    \n
  • 客户端库是用现代 Swift 5 编写的,因此需要 Xcode 10.2 或更高版本才能使用此库。
  • \n
\n

安装库

\n

要安装针对 iOS 的 Azure 客户端库,我们建议您使用Swift 包管理器。\n作为替代方案,您还可以使用CocoaPods进行集成。

\n

使用 Swift 包管理器添加包依赖

\n

Swift 包管理器是一种用于管理 Swift 代码分发工具。\n它与 Swift 构建系统集成,以自动下载、编译和链接依赖项的过程。

\n

Xcode 带有内置的 Swift 包管理器和源代码控制账户支持,并简化了使用可用的 Swift 包的过程。使用 Xcode 管理包依赖项的版本,并确保您的项目拥有最新的代码更改。

\n
Xcode
\n

要将库添加到您的应用程序中,请按照将包依赖添加到您的应用中的说明操作。

\n

为了使用 Swift 包管理器独立版本化包,我们将 azure-sdk-for-ios 中的代码镜像到单独的存储库中。请确保您的基于 Swift 包管理器的应用程序针对这些存储库而不是 azure-sdk-for-ios 存储库。

\n

在 Xcode 11 或更高版本的 Xcode 中打开您的项目后,选择 文件 > Swift Packages > 添加包依赖... 输入 Swift 包管理器镜像存储库的克隆 URL:https://github.com/Azure/SwiftPM-AzureTemplate.git\n然后单击 下一步。对于版本规则,指定您希望与应用程序一起使用的确切版本或版本范围,并单击 下一步。最后,勾选库,确保在 添加到目标 下拉列表中选择您的应用程序目标,然后单击 完成

\n
Swift CLI
\n

要将库添加到应用程序中,请参阅导入依赖项中的示例。

\n

打开项目的 Package.swift 文件,并在项目的 dependencies 部分添加一个新的包依赖项,指定此存储库的克隆 URL 和您希望使用的版本指定符

\n
https://github.com/Azure/SwiftPM-AzureTemplate.git", from: "1.7.0-beta.1")\n ],>
// swift-tools-version:5.3\n    dependencies: [\n        \n        .package(name: \"AzureTemplate\", url: \"https://github.com/Azure/SwiftPM-AzureTemplate.git\", from: \"1.7.0-beta.1\")\n    ],
\n

接下来,对于需要使用库的每个目标,将其添加到目标的 dependencies 数组中

\n
¨C11C
\n

使用 CocoaPods 集成客户端库

\n

CocoaPods 是 Objective-C 和 Swift 项目的依赖关系管理器。您可以使用以下命令安装它

\n
¨C12C
\n¨C13C\n

要使用 CocoaPods 将一个或多个客户端库集成到项目中,请在上面的 Podfile 中指定它们,提供所需的版本指定符。为了在同一个项目中使用多个客户端库时确保兼容性,请使用相同的版本指定符为项目中所有的 Azure SDK 客户端库指定版本。

\n
¨C14C
\n

然后,运行以下命令

\n
¨C15C
\n

关键概念

\n

不适用。

\n

示例

\n

不适用。

\n

故障排除

\n

不适用。

\n

下一步

\n

探索并安装\n可用的 Azure SDK 库

\n

贡献

\n

此项目欢迎贡献和建议。所有代码贡献应在[Azure SDK for iOS](https://github.com/Azure/azure-sdk-for-ios)存储库中完成。

\n

大多数贡献要求您同意贡献者许可协议(CLA),声明您有权,并且确实授予我们使用您贡献的权利。有关详细信息,请访问https://cla.microsoft.com

\n

当您提交一个拉取请求时,CLA机器人会自动判断您是否需要提供CLA并对PR进行适当的装饰(例如,标签,注释)。只需遵循机器人提供的说明。您只需要做一次,在我们的CLA使用的所有存储库中就完成了。

\n

本项目采用了Microsoft Open Source Code of Conduct。有关更多信息,请参阅行为准则常见问题解答或联系[email protected]以提出任何额外的问题或评论。

\n

\"Impressions\"

\n
","renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://githubdocs.cn/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"Azure Template iOS客户端库","kind":"section_1","ident_start":2,"ident_end":39,"extent_start":0,"extent_end":5287,"fully_qualified_name":"Azure Template iOS客户端库","ident_utf16":{"start":{"line_number":0,"utf16_col":2},"end":{"line_number":0,"utf16_col":39}},"extent_utf16":{"start":{"line_number":0,"utf16_col":0},"end":{"line_number":134,"utf16_col":0}}},{"name":"入门","kind":"section_2","ident_start":140,"ident_end":155,"extent_start":137,"extent_end":3851,"fully_qualified_name":"入门","ident_utf16":{"start":{"line_number":4,"utf16_col":3},"end":{"line_number":4,"utf16_col":18}},"extent_utf16":{"start":{"line_number":4,"utf16_col":0},"end":{"line_number":99,"utf16_col":0}}},{"name":"先决条件","kind":"section_3","ident_start":161,"ident_end":174,"extent_start":157,"extent_end":294,"fully_qualified_name":"先决条件","ident_utf16":{"start":{"line_number":6,"utf16_col":4},"end":{"line_number":6,"utf16_col":17}},"extent_utf16":{"start":{"line_number":6,"utf16_col":0},"end":{"line_number":9,"utf16_col":0}}},{"name":"安装库","kind":"section_3","ident_start":298,"ident_end":317,"extent_start":294,"extent_end":3851,"fully_qualified_name":"安装库","ident_utf16":{"start":{"line_number":9,"utf16_col":4},"end":{"line_number":9,"utf16_col":23}},"extent_utf16":{"start":{"line_number":9,"utf16_col":0},"end":{"line_number":99,"utf16_col":0}}},{"name":"使用Swift Package Manager添加包依赖项","kind":"section_4","ident_start":594,"ident_end":645,"extent_start":589,"extent_end":2950,"fully_qualified_name":"使用Swift Package Manager添加包依赖项","ident_utf16":{"start":{"line_number":15,"utf16_col":5},"end":{"line_number":15,"utf16_col":56}},"extent_utf16":{"start":{"line_number":15,"utf16_col":0},"end":{"line_number":65,"utf16_col":0}}},{"name":"Xcode","kind":"section_5","ident_start":1163,"ident_end":1168,"extent_start":1157,"extent_end":2133,"fully_qualified_name":"Xcode","ident_utf16":{"start":{"line_number":24,"utf16_col":6},"end":{"line_number":24,"utf16_col":11}},"extent_utf16":{"start":{"line_number":24,"utf16_col":0},"end":{"line_number":38,"utf16_col":0}}},{"name":"Swift CLI","kind":"section_5","ident_start":2139,"ident_end":2148,"extent_start":2133,"extent_end":2950,"fully_qualified_name":"Swift CLI","ident_utf16":{"start":{"line_number":38,"utf16_col":6},"end":{"line_number":38,"utf16_col":15}},"extent_utf16":{"start":{"line_number":38,"utf16_col":0},"end":{"line_number":65,"utf16_col":0}}},{"name":"将客户端库与CocoaPods集成","kind":"section_4","ident_start":2955,"ident_end":3000,"extent_start":2950,"extent_end":3851,"fully_qualified_name":"将客户端库与CocoaPods集成","ident_utf16":{"start":{"line_number":65,"utf16_col":5},"end":{"line_number":65,"utf16_col":50}},"extent_utf16":{"start":{"line_number":65,"utf16_col":0},"end":{"line_number":99,"utf16_col":0}}},{"name":"关键概念","kind":"section_2","ident_start":3854,"ident_end":3866,"extent_start":3851,"extent_end":3885,"fully_qualified_name":"关键概念","ident_utf16":{"start":{"line_number":99,"utf16_col":3},"end":{"line_number":99,"utf16_col":15}},"extent_utf16":{"start":{"line_number":99,"utf16_col":0},"end":{"line_number":103,"utf16_col":0}}},{"name":"示例","kind":"section_2","ident_start":3888,"ident_end":3896,"extent_start":3885,"extent_end":3915,"fully_qualified_name":"示例","ident_utf16":{"start":{"line_number":103,"utf16_col":3},"end":{"line_number":103,"utf16_col":11}},"extent_utf16":{"start":{"line_number":103,"utf16_col":0},"end":{"line_number":107,"utf16_col":0}}},{"name":"故障排除","kind":"section_2","ident_start":3918,"ident_end":3933,"extent_start":3915,"extent_end":3952,"fully_qualified_name":"故障排除","ident_utf16":{"start":{"line_number":107,"utf16_col":3},"end":{"line_number":107,"utf16_col":18}},"extent_utf16":{"start":{"line_number":107,"utf16_col":0},"end":{"line_number":111,"utf16_col":0}}},{"name":"下一步操作","kind":"section_2","ident_start":3955,"ident_end":3965,"extent_start":3952,"extent_end":4105,"fully_qualified_name":"下一步操作","ident_utf16":{"start":{"line_number":111,"utf16_col":3},"end":{"line_number":111,"utf16_col":13}},"extent_utf16":{"start":{"line_number":111,"utf16_col":0},"end":{"line_number":116,"utf16_col":0}}},{"name":"贡献","kind":"section_2","ident_start":4108,"ident_end":4120,"extent_start":4105,"extent_end":5287,"fully_qualified_name":"贡献","ident_utf16":{"start":{"line_number":116,"utf16_col":3},"end":{"line_number":116,"utf16_col":15}},"extent_utf16":{"start":{"line_number":116,"utf16_col":0},"end":{"line_number":134,"utf16_col":0}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/Azure/azure-sdk-for-ios/branches":{"post":"M-CYei06cfRh66uFz3QQmnncLtdnMCZeixwlJP9Zqvp6d0RC1vgBr5PfPsfXF25eDsByGdS3E73Z8lVNLIRsOg"},"/repos/preferences":{"post":"qFKCeK2niw1ot7eMOFkOW6ef9Fnr998kgR13ncdyuqA_TVW1gZqX-V-ADpOU51wpF3fADz0AtOYG8VeZ48ZKfg"}}},"title":"azure-sdk-for-ios/sdk/template/AzureTemplate/README.md at main · Azure/azure-sdk-for-ios"}