File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -267,6 +267,14 @@ import 'lanes/release_management_in_ci.rb'
267267default_platform ( :ios )
268268
269269before_all do |lane |
270+ # Various actions run 'xcodebuild -showBuildSettings ...' which can at times fail, possibly due to networking and SPM resolution.
271+ # See for example this failure https://buildkite.com/automattic/wordpress-ios/builds/22979#01906bdc-3077-4d17-b742-a55c9a9db4b4
272+ #
273+ # Bumping the interval Fastlane waits for xcodebuild to provide output before retrying seems to be an effective workaround.
274+ #
275+ # See also https://github.com/fastlane/fastlane/issues/20919
276+ ENV [ 'FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT' ] = '120'
277+
270278 # Skip these checks/steps for test lane (not needed for testing)
271279 next if lane == :test_without_building
272280
You can’t perform that action at this time.
0 commit comments