fastlane
fastlane copied to clipboard
Fastlane accidentally takes longer time for xcodebuild
New Issue Checklist
- [ x ] Xcode 14.0
- [ x ] MacOS 12.6
- [ x ] Updated fastlane to the latest version
- [ x ] I read the Contribution Guidelines
- [ x ] I read docs.fastlane.tools
- [ x ] I searched for existing GitHub issues
Issue Description
We having some weird behavior in our CI machines. In the past, the build and test job only take 10-15 mins, but now takes more an 1 hour to complete.
1. Getting lot of "Command timed out ...." warnings
Command timed out after 192 seconds on try 6 of 11, trying again with a 384 second timeout

xcodebuild[87139:73831907] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition

2. set -o pipefail && xcodebuild -workspace ...
take long time to continue
- The command
set -o pipefail && xcodebuild -workspace ...
starts at [20:54:44], but the next log command is at [21:15:40]. (sometime it take almost an hour to continue)

I tried several suggestions from the community, but it didn't help to solve the issue.
Gym
gym(
workspace: ENV['APP_PROJECT_WORKSPACE'],
buildlog_path: "#{ENV['APP_PROJECT_PATH']}/buildlog",
scheme: ENV['APP_PROJECT_SCHEME'],
skip_package_dependencies_resolution: true,
configuration: 'AppStore Release',
skip_archive: true,
skip_package_ipa: true,
export_options: {
manageAppVersionAndBuildNumber: false
},
result_bundle: true,
result_bundle_path: ENV['XCRESULT_PATH']
)
Environment
Take notice that this output may contain sensitive information, or simply information that you don't want to make public.
It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env
:+1: