码农知识堂 - 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仓库的

  • 相关阅读:
    【Java基础】面向对象基础
    实践案例丨CenterNet-Hourglass论文复现
    threehit二次注入案例
    15 | Linux系统上安装python
    JAVA计算机毕业设计社区智能化管理源码+系统+mysql数据库+lw文档
    「精品」无损批量压缩图片工具 - Caesium Image Compressor
    基于先验激光雷达地图的2D-3D线特征单目定位
    ControlNet原理及应用
    互联网医院系统开发中的移动端应用设计
    关于gorm的preload方法笔记
  • 原文地址:https://blog.csdn.net/u011774517/article/details/127904996
  • 最新文章
  • 【JVM】编译执行与解释执行的区别是什么?JVM 使用哪种方式?
    用 Hashids 优雅解决 C 端自增 ID 暴露问题
    V8引擎 精品漫游指南--Ignition篇(上) 指令 栈帧 槽位 调用约定 内存布局 基础内容
    LLVM Pass快速入门(四):代码插桩
    milkup:桌面端 markdown AI续写和即时渲染
    基于项目工程构建SBOM(软件物料清单)的研究
    鸿蒙应用开发UI基础第二节:鸿蒙应用程序框架核心解析与实操
    .NET 中如何快速实现 List 集合去重?
    扣子Coze实战:从0到1打造抖音+小红书热点监控智能体
    浅谈数据访问层
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
小工具 小游戏
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1

京公网安备 11010502049817号