Giter Site home page Giter Site logo

Comments (8)

lexrus avatar lexrus commented on June 16, 2024

你可以暂时改一下 makefile,在 xcodebuild 那段加上 -target TARGET_NAME。
我考虑在下一版里加上这个配置。

from ios-makefile.

wwwang89 avatar wwwang89 commented on June 16, 2024

哦,可以中文?呵呵,你好!请问一下,我可以实现自动打包,但是现在在7.1的系统下必须支持https的协议下载才行,现在自动打包是http的,我需要怎么样才能支持https的呢?O(∩_∩)O谢谢

from ios-makefile.

lexrus avatar lexrus commented on June 16, 2024

@wwwang89
HTTPS 的问题早就解决了。

@zhugexiaobo @soulin
你们觉得配置里用豆号分隔多个 target 和 scheme 怎么样? 不过这样脚本会复杂好多。

from ios-makefile.

soulin avatar soulin commented on June 16, 2024

@lexrus 感觉用逗号分隔好啊,会麻烦很多吗?

from ios-makefile.

soulin avatar soulin commented on June 16, 2024

@lexrus
多个target时候,我的只能编译通过工程一开始默认建立的target,
其他target会编译完打包时会报错,该怎么解决啊?
Print: Entry, ":CFBundleDisplayName", Does Not Exist
Print: Entry, ":CFBundleVersion", Does Not Exist
Print: Entry, ":CFBundleVersion", Does Not Exist
Parse Error: Unclosed Quotes
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Parse Error: Unclosed Quotes
Print: Entry, ":CFBundleDisplayName", Does Not Exist
Print: Entry, ":CFBundleVersion", Does Not Exist
Print: Entry, ":CFBundleDisplayName", Does Not Exist
Print: Entry, ":CFBundleVersion", Does Not Exist

from ios-makefile.

lexrus avatar lexrus commented on June 16, 2024

@soulin
这几个错是说从 plist 里取 App 信息的时候没有找到对应 target 的 plist 的文件。默认 target 的名字就是 App 名,所以能编译通过。
https://github.com/lexrus/ios-makefile/blob/master/makefile#L45-L49

逗号分隔我试了一下,还是比较麻烦的,我在试一个更省事的做法。

from ios-makefile.

lexrus avatar lexrus commented on June 16, 2024

写 N 个 cfg 文件,然后符号链接切换要编译哪一个,makefile 里加了 build_target。
我写了个例子:
https://github.com/lexrus/ios-makefile/blob/master/my_test_project/Rakefile

用的时候 rakerake second

from ios-makefile.

soulin avatar soulin commented on June 16, 2024

@lexrus 多谢啊!

from ios-makefile.

Related Issues (15)

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.