GithubHelp home page GithubHelp logo

build_ios's Introduction

readme

zwwx jsws unity项目ios构建脚本说明

##配置
config.cfg配置文件

使用打包脚本前,先配置渠道sdk路径,渠道信息等等,详见config.cfg文件


##渠道sdk接入代码

这部分包含xcode工程配置信息,比如ios的bundleID,version,Name等以及icon,splash,sdk接入代码

经常会修改有info.plist文件配置ios工程信息

sdk更新,接入代码修改

重点:
###SDK_Plugin   渠道sdk接入代码

由于sdk代码会包含资源bundle,代码src, framework等,以及渠道的cer 签名,这部分信息都会配置在SDK_Plugin目录



##copy.sh

拷贝sdk接入代码到xcode工程,并完成配置, SDK_Plugin/run.command xcode工程配置执行脚本



##build.sh

打包脚本,先读取配置,更新unity工程,导出xcode工程,执行copy.sh完成配置,使用xcodebuild编译xcode工程,xcrun导出ipa文件


##如何使用
 1.先完成配置config.cfg
 2.打开终端,cd到unity工程路径

 ```
Test:Test_Auto zwwx$ cd /Users/zwwx/work/projects/2016/TestUnity/Test_Auto 
Test:Test_Auto zwwx$ ./build_ios/build.sh 
 ```

 ##改进记录

 xcode打包签名cer配置

 xcodebuild 编译指定scheme(xgsdk 脚本会创建自己的scheme)

 ios 的dev/dis/adhoc包导出
 

build_ios's People

Contributors

zeroyang avatar

Stargazers

 avatar

Watchers

 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.