Skip to content

Commit 312df0f

Browse files
authored
Bump Fastlane xcodebuild -showBuildSettings interval (#23403)
This is an attempt to avoid timeouts, mostly in CI.
1 parent bae5a91 commit 312df0f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

fastlane/Fastfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,14 @@ import 'lanes/release_management_in_ci.rb'
267267
default_platform(:ios)
268268

269269
before_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

0 commit comments

Comments
 (0)