Giter VIP home page Giter VIP logo

bashshell's Introduction

简介

build_install.sh

1.xcode命令行编译生成ipa包,打包相关的Log都输出到~/xcodebuild目录

2.生成plist文件和html下载页面

配置好工程路径,url就可一键打包啦 _

build_deployto_fir.sh

和XcodeBuild+Install.sh相比,Build+DeployToFir.sh不需要手动配置那么多东西了,修正优化了部分地方。 打包后上传到fir.im,会更新记录,注意更新记录读取自项目根目录下的README里 如果你项目下面没得README这个文件,加上或改84行吧, 还有记得修改curl -X PUT --data "changelog=$changelog" http://fir.im/api/v2/app/54c0a98d627b6443070000cb?token=tokenvalue里的tokenvalue,去fir申请一个

sendemail目录

发邮件用的python,mac自带就装好了python环境的,在目录sendemail里,已经做了脱敏处理,所以你要使用请按下面的说明修改。

build_send.sh: 调打包和发邮件的脚本,注意修改第7行path=~/work/projectname/ 路径.我是放在~/xcodebuild/sendemail下的,如果不是,自己注意改脚本里的路径。

myconfig:修改username和passwd,如果你也是qq企业邮箱smtp等就不用改了,否则修改。

toEmailAddress:要发给哪些人,一行一个

update.txt:发邮件的时候邮件里的内容

fix_InfoPlist_confict.sh

解决Info.plist冲突,注意Info.plist文件的路径

fix_Pbxproj_confict.sh

解决工程文件冲突project.pbxproj

update_buildversion.sh

提取git提交号作为build version,并更新

delete_deriveddata.sh

清理DerivedData数据

delete_archives.sh

清理Archives数据

date.sh

此文件是和date相关的函数

bashshell's People

Contributors

bryant1410 avatar hebruce110 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bashshell's Issues

你好,我的配置有问题,请求帮助,这是什么问题啊,路径不对吗?

###############配置项目名称和路径等相关参数
projectName="qzw_app" #项目所在目录的名称
isWorkSpace=true #判断是用的workspace还是直接project,workspace设置为true,否则设置为false
projectDir=~/Users/Stevens/qzw_app #项目所在目录的绝对路径
buildConfig="Release" #编译的方式,默认为Release,C91Store,CWeb,还有Debug等

———————————————————————————————————————————————

/Users/Stevens/Desktop/-IPA
文件目录存在
Print: Entry, "CFBundleShortVersionString", Does Not Exist
Print: Entry, "CFBundleIdentifier", Does Not Exist
Print: Entry, "CFBundleVersion", Does Not Exist
开始编译workspace....
Build settings from command line:
    SYMROOT = /Users/Stevens/qzw_app/钱庄网/BashShell-master/build

xcodebuild: error: Unknown build action 'Release'.
~~~~~~~~~~~~~~~~~~~编译失败~~~~~~~~~~~~~~~~~~~

ipa file can not be installed into iphone

I use your script,I can generate ipa file successfully,but when I install it into my iphone ,it will pop up "install XXX failed".
PS:
1.I use “xcodebuild and xcrun” to build my project,it still failed.
2.my project contains widgets.
following is my commands
1.xcodebuild -project Abc.xcodeproj -target Abc -configuration Debug
2./usr/bin/xcrun -sdk iphoneos PackageApplication -v /Users/potter/Desktop/ddd/aaa/build/Release-iphoneos/Abc.app -o /Users/potter/Desktop/ddd/aaa/build/Release-iphoneos/Abc.ipa --sign "iPhone Distribution: XXXXXX." --embed "/Users/potter/Library/MobileDevice/Provisioning Profiles/XXXXXX.mobileprovision"

** BUILD FAILED **

有四个错误,请大神帮忙看看
The following build commands failed:
Ld /Users/UserName/Library/Developer/Xcode/DerivedData/qiji-fabaseibzegctvgmkbnudentutef/Build/Intermediates/qiji.build/Release-iphoneos/qiji.build/Objects-normal/armv7/qiji normal armv7
Ld /Users/UserName/Library/Developer/Xcode/DerivedData/qiji-fabaseibzegctvgmkbnudentutef/Build/Intermediates/qiji.build/Release-iphoneos/qiji.build/Objects-normal/arm64/qiji normal arm64
CreateUniversalBinary build/Release-iphoneos/qiji.app/qiji normal armv7\ arm64
GenerateDSYMFile build/Release-iphoneos/qiji.app.dSYM build/Release-iphoneos/qiji.app/qiji
(4 failures)

xcodebuild

xcodebuild: error: Unknown build action 'xxx.xcworkspace',之前用都可以,现在报错请问怎么解决

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.