码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • Xcode Cloud


    一、使用Xcode Cloud 的要求

    (1)开发者账户要求

    • 已加入Apple Developer Program
    • 向xcode加入Apple ID
    • App Store Connect上有app 记录或者可以创建一个app记录

    (2)Project和workspace要求

    • Project或者workspace使用Xcode
    • 项目使用shared schemes
    • 为scheme设置archive action
    • 使用New Build System(Xcode 14默认使用新的构建系统)
    • 项目的依赖和额外的第三方工具是否支持xcode cloud(待确定),如果不支持可以Making dependencies available to Xcode Cloud.
    • 使用自动代码签名
    • 在Signing&Capabilities中设置bundle ID,如果使用.xcconig,看Review Xcode Cloud workflows

    (3)Source control要求

    • 使用git作为代码控制工具

    二、使用Xcode Cloud进行持续集成和交付

    1、概览

    Xcode Cloud的CI/CD系统使用Git来提供源代码控制、代码集成,使用xcode等来build、test工程,结合TestFlight和App Store Connect来提审和发布app,Xcode Cloud提供给开发者的便利有以下几点

    • 自动build 和 test代码
    • 自动、频繁的在苹果设备的模拟器上测试app
    • CI/CD流程中的错误,Xcode Cloud会发出通知来提醒
    • 使用TestFlight给测试和成员发新的版本
    • 在app store上提供新的可供审核的app 版本
    • 使用Xcode和Apple的云基础设施协作开发自己的软件。

    A figure that shows the iterative continuous integration and delivery process that’s made of building, testing, distributing, and gathering feedback to fix issues and verify a change.

    2、自动构建和测试

    通过Xcode Cloud可以用很少的时间在多种类型设备上build、run、test工程,并且发现问题之后通过邮件发送结果,也可以在xcode和app store connect上查看

    A figure that illustrates the various steps of automated building and testing: a change leads to automated building, testing, and other actions that verify a change.

    For more information about automatically building your project with Xcode Cloud, see Configuring your first Xcode Cloud workflow.

    For more information about testing your code, see Testing your apps in Xcode and Adding unit tests to your existing project.

    3、持续交付

    代码经过CI之后就进入CD阶段,通过Xcode Cloud可以完成使用TestFlight将新版本自动交付(CD)到测试人员,当然也可以提交审核,也可以导出archive到自己的server中

    A figure that illustrates the various steps of CD that happen after CI has passed: distribution to internal testers, external testers, and the App Store.

    ####4、使用Xcode Cloud进行协作软件开发

    Xcode可以创建pull requests、review代码,合并代码到代码仓库,可以配置Xcode Cloud再检测到新的PR或对现有PR的更改时,在临时生成环境中合并相关分支,并自动生成项目并运行测试以验证合并的代码。验证更改后,Xcode Cloud会向PR添加一条状态消息,通知您结果。

    A figure that illustrates how Xcode Cloud integrates with pull requests. When someone creates a pull request, Xcode Cloud detects this change, builds the project, runs configured tests, and posts the status to the pull request.

    目前:Xcode Cloud暂不支持公司内网、需要VPN环境的git仓库的

  • 相关阅读:
    蓝桥杯备赛-上学迟到
    在Telegram营销后该如何进行客户管理
    直播倒计时 1 天|SOFAChannel#35《SOFABoot 4.0 — 迈向 JDK 17 新时代》
    光学教程考试练习题及答案
    敏捷.敏捷项目管理第二版.Jim Highsmith
    【软件架构文档之SOC篇】
    C# Redis NReJSON 实现对RedisJson的使用,听说比ES快500倍
    华纳云:Nginx服务器可视化配置问题怎么解决
    细说Binder(Binder核心原理最全解析)
    oracle--merge into :匹配则更新不匹配则插入
  • 原文地址:https://blog.csdn.net/u011774517/article/details/127904996
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号