Giter Club home page Giter Club logo

autopack's Introduction

AutoPack ==============Cancel changes 通过Fastlane和NodeJS实现的自动打包工具


一键批量修改项目前缀

Path: 项目地址
Project: Scheme Name Project Name
old: 项目用的前缀
new: 新前缀
make class path={Project Path} project={Project Name} old={Old Prefix} new={New Prefix}

自动打包

Path: 项目地址
Project: Scheme Name Project Name
make pack path={Project Path} project={Project Name}

####打包需要配置packageinfo.js

var bundle_id = "你项目的Bundle ID"
var provision_name = "匹配你项目的Provision Profile"
var provision_path = "替换项目的Provision Profile Path"
var project_team_id = "项目对应的Team ID"

一键批量修改工程名字

第一个参数,项目路径
第二个参数,项目名字
第三个参数,更改成为的新名字

用法

bash ChangeProject.sh /Desktop/Project/ OLDProjectNew NEWProjectName

环境依赖

Home brew 用于安装依赖

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
安装完成运行以下两行代码来引入brew命令
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/packer/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

脚本运行依赖Node 和 Yarn

Install Node Yarn

npm: brew install npm
Yarn: brew install yarn

=============== M1 Pod Install =============

sudo arch -x86_64 gem install ffi
arch -x86_64 pod install

autopack's People

Contributors

nathanou avatar

Watchers

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