Giter VIP home page Giter VIP logo

ipabuildscript's Introduction

IpaBuildScript

配置

1、将 ipa_build.sh 以及 Export.plist 两个文件放到 iOS 项目的根目录中,打开 ipa_build.sh,更改配置相关常量

# 常量配置
APP_NAME="{目标名称}"  #e.g."DemoApp"
EXPORT_PLIST="Export.plist"
PACKAGE_NAME="autoPackage"

CONFIGURATION="Debug"
METHOD="development"

WORK_SPACE="{workspace工程文件}" #e.g."DemoApp.xcworkspace"
PROJECT="{项目工程文件}" #e.g."DemoApp.xcodeproj"

2、打开 Export.plist,更改其 {teamId} 为自己账号的 teamId

使用

${your-project-root}> ./ipa_build

补充

为了拓展脚本的易用性,完整脚本内容会有以下几点补充:

  • 增加 configuration、method 两个参数的传入
  • 从项目的 info.plist 文件中截取应用的版本名、版本号来重命名文件以作版本区分
  • 复制生成的 ipa 文件路径到粘贴板,以便后续上传等操作
  • 统计打包脚本运行时长

ipabuildscript's People

Contributors

jasonwu1111 avatar

Stargazers

 avatar xjq avatar  avatar  avatar

Watchers

James Cloos 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.