首页 > 解决方案 > fastlane 徽章单张图片

问题描述

可以使用fastlane 徽章创建带有盾牌的单个图像吗?(我想在我的 CI 过程中使用它,不,我不想使用图标集中的图像,因为名称可能会改变)

我尝试将图像作为“自定义”参数传递,但这只是获取图像并使用它来标记我的所有图标(并且传递的图像不会改变)。

我试过的电话是这样的:

add_badge(shield: options[:env] + "-" + options[:version] + "-" + color, dark: true, no_badge: true, shield_no_resize: true, shield_io_timeout: 60, custom: options[:custom])

标签: iosxcodefastlanebadge

解决方案


推荐阅读