Git Product home page Git Product logo

autoarchive's Introduction

XCode Python脚本打包

环境

python版本需求: python3 使用前请安装 requirements.text

pip install -r requirements.text

配置脚本信息

  1. workspace 项目的路径地址
  2. project_name 项目名称
  3. scheme xcodebuild -list查看
  4. display_name显示名 发送钉钉消息时显示名字
  5. export_options_plist 导出文件配置使用文件夹中的默认 exportOptions.plist
  6. configuration 默认打release还是debug
  7. mothod 默认打出包类型 development/ad-hoc/appstore
  8. export_path 打包出archive文件导出路径
  9. apiKey蒲公英上传api_key
  10. dingdingWebHook钉钉机器人发消息地址

使用

查看打包命令
python autoarchive.py -h 
usage: Python脚本打包工具 [-h] [-c Release] [-m ad-hoc]

optional arguments:
  -h, --help            show this help message and exit
  -c Release, --configuration Release
                        该选项用来配置打包配置项类型 可选项:Debug,Release 默认:Release
  -m ad-hoc, --method ad-hoc
                        该选项用来配置打包输出类型 development,ad-hoc,app-store 默认:ad-hoc

python autoarchive.py -c release -m ad-hoc

其他

打包完成后会在指定的archive路径生产一个projectname名字的文件夹,每次打包通过时间来区分保存,打包的ipa文件在对应的export目录下

autoarchive's People

Contributors

qqcc1388 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.