xcrun -h 显示如下:

xxx@xxxMacBook-Pro ~ % xcrun -h
Usage: xcrun [options] <tool name> ... arguments ...Find and execute the named command line tool from the active developer
directory.The active developer directory can be set using `xcode-select`, or via the
DEVELOPER_DIR environment variable. See the xcrun and xcode-select manual
pages for more information.Options:-h, --help                  show this help message and exit--version                   show the xcrun version-v, --verbose               show verbose logging output--sdk <sdk name>            find the tool for the given SDK name--toolchain <name>          find the tool for the given toolchain-l, --log                   show commands to be executed (with --run)-f, --find                  only find and print the tool path-r, --run                   find and execute the tool (the default behavior)-n, --no-cache              do not use the lookup cache-k, --kill-cache            invalidate all existing cache entries--show-sdk-path             show selected SDK install path--show-sdk-version          show selected SDK version--show-sdk-build-version    show selected SDK build version--show-sdk-platform-path    show selected SDK platform path--show-sdk-platform-version show selected SDK platform version

xcodebuild -showsdks 显示支持的所有SDK及版本号:

xxx@xxxMacBook-Pro ~ % xcodebuild -showsdks
iOS SDKs:iOS 15.0                       -sdk iphoneos15.0iOS Simulator SDKs:Simulator - iOS 15.0            -sdk iphonesimulator15.0macOS SDKs:DriverKit 20.4                   -sdk driverkit.macosx20.4macOS 11.3                     -sdk macosx11.3tvOS SDKs:tvOS 15.0                      -sdk appletvos15.0tvOS Simulator SDKs:Simulator - tvOS 15.0             -sdk appletvsimulator15.0watchOS SDKs:watchOS 8.0                       -sdk watchos8.0watchOS Simulator SDKs:Simulator - watchOS 8.0           -sdk watchsimulator8.0

xcodebuild 命令选项较多,可根据xcodebuild -h进行查看

命令:xcrun、xcodebuild相关推荐

  1. ios 自动打包命令_通过命令行xcodebuild编译打包iOS应用

    点击上方"软件测试精品"关注我们 为什么要自动化打包? iOS编译打包需要签名,测试包又需要连接不同后台服务器,开发人员就需要不断地打开Xcode编译打包成ipa,然后上传到ftp ...

  2. iOS自动构建以及打包命令(xcodebuild,xcrun)

    两个命令的语法以及使用方法,资料比较多,到处都可以找到,比如: iOS 自动构建命令--xcodebuild 基于xcodebuild和xcrun的自动化打包 iphone-命令行编译之--xcode ...

  3. 如何让php执行xcodebuild,Xcodebuild命令使用

    Xcode-select命令 xcode-select是Mac系统自带的命令行工具,属于用户系统内/usr/bin.当电脑上安装多个Xcode时,xcode-select用来选择命令行工具为哪一个版本 ...

  4. 操作iOS模拟器命令(xcrun simctl)

    1. 截图 xcrun simctl io booted screenshot /pictures/test.png 2. 录屏命令 xcrun simctl io booted recordVide ...

  5. 探究 Xcode 命令行用法二:xcodebuild 测试实践

    本文还是 adat 项目的延伸,瞄准开发周期的测试环节,主要介绍 Xcode 范畴内的测试概念和自动化测试实践,不会讨论如何编写高质量的测试用例.文中涉及到 Xcode 构建的许多概念,大部分已在前两 ...

  6. XCodeBuild 使用

    一. xcodebuild简介 在介绍xcodebuild之前,需要先弄清楚一些在XCode环境下的一些概念:  - Workspace:简单来说,Workspace就是一个容器,在该容器中可以存放多 ...

  7. Xcode命令行简单了解一下

       最近在对开发流程进行工程化处理,优先处理的是单元测试的自动化.需要对Xcode的相关命令行进行一个全面的了解,转载了一篇文章<Xcodebuild命令使用> Xcodebuild简介 ...

  8. xcodebuild自动打包+脚本使用

    1.xcodebuild 简介 在终端中输入man xcodebuild 查看其 man page介绍 NAME xcodebuild – build Xcode projects and works ...

  9. xcodebuild -exportArchive -allowProvisioningUpdates

    更新到Xcode9.0后,之前写的自动打包脚本不可用了.原来的导出命令如下 xcodebuild -exportArchive \-archivePath ${xcarchiveDir} \-expo ...

  10. xcodebuild使用总结

    官方文档:https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/xcodebu ...

最新文章

  1. Java并发编程(十四)并发容器类
  2. php 真实访问次数,PHP将访问次数写入文件下
  3. 6月Top 20榜单出炉啦! 万万没想到区块链大佬竟在忙这个...
  4. 51NOD 1138 连续整数的和
  5. spring配置数据源(交给spring容器完成)
  6. MySQL(14)--- WHERE 子句
  7. linux系统支持ntfs吗,linux支持NTFS
  8. python ocr 文字识别软件,Python文字截图识别OCR工具实例解析
  9. IDEA+SpringBoot+Dubbo在webapp下创建前端页面
  10. VMware网络连接模式—桥接、NAT以及仅主机模式的详细介绍和区别
  11. packetfence 7.2网络准入部署(二)
  12. paip.;论全文检索实现方式lucene Sphinx solr以及比较
  13. 使用vue完成幻灯片操作
  14. Mysql个人学习总结
  15. 后缀数组(Suffix Array )
  16. Linux下的图片编辑软件和画图软件
  17. ★追风的牛★添翼圈Moto Droid玩家手册(感谢原作者,只是做个备份而已,如果牵扯到越劝,我会立即删掉)
  18. 华为scp快充协议详解_华为SCP快充技术曝光:支持“电荷泵”技术,最高可达20W...
  19. 远程控制桌面计算机怎么填写,远程控制电脑桌面如何操作【图解】
  20. 深度学习经典优化算法-公式汇总

热门文章

  1. 【整理向】OJ上一些不(jiao)错(shui)的背包题
  2. java输出各种三角形(*表示)
  3. vue前端项目引入iconfont阿里图标(font class)
  4. Android 全面屏的那些适配方法
  5. 时间选择器timePicker实现根据当前选择日期(当天/非当天)禁用时间段
  6. [4G5G专题-122]:认证-华为认证概述
  7. 对单用户计算机来说在,(电大网考计算机自检自测2.doc
  8. numpy绘制利萨茹曲线
  9. xshell关闭后 数据库进程_关闭命令行或者xshell窗口后后台依旧执行命令
  10. boost::mpl操作元向量中的元素