fastlane

遇到的坑:

1、Could not find action, lane or variable 'pgyer'. Check out the documentation for more details: https://docs.fastlane.tools/actions

找不到蒲公英插件,原来是安装目录错了,应该在工程目录下安装:*fastlane add_plugin pgyer *

2、xcodebuild -showBuildSettings timed out after 4 retries with a base timeout of 3. You can override the base timeout value with the environment variable FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT, and the number of retries with the environment variable FASTLANE_XCODEBUILD_SETTINGS_RETRIES

重试打包命令或修改编译时长。

3、[!] Exit status of command 'cd /*** && agvtool what-version -terse' was 6 instead of 0. (FastlaneCore::Interface::FastlaneShellError)

Fastfile 中配置的 Build 自增,需要在 Xcode ->build setting -> version -> current 中配置如下:

image

你可能感兴趣的:(fastlane)