简体   繁体   English

是否为所有目标提供了快速通道增量编号?

[英]Fastlane increment_build_number for all targets?

I've got project with one file ie myApp.xcodeproj and it has 2 targets (simply to replace some config files / icons / names etc...) 我有一个项目,即myApp.xcodeproj ,它有2个目标(只需替换一些配置文件/图标/名称等...)

I noticed that when I run fastlane increment_build_number(xcodeproj: "myApp.xcodeproj") it increments version only of the original target I had. 我注意到,当我运行fastlanecrement_build_number increment_build_number(xcodeproj: "myApp.xcodeproj")它只会增加我原来拥有的目标的版本。 Is there a way for me to increment it on all targets at once? 有没有办法让我一次在所有目标上增加它? I don't even mind them all being unified together somehow. 我什至不介意它们以某种方式统一在一起。

Note: second target has its own info.plist file with some values tweaked. 注意:第二个目标有其自己的info.plist文件,其中一些值已调整。 Also not sure if it helps, but both are inside a workspace. 也不确定是否有帮助,但是两者都在工作空间内。

是的,你可以通过在中fastfile仅increment_build_number编写实现它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM