showBuildSettings&resolvePackageDependencies eat 20s of build time #17563
-
|
It's not a problem, until you have 70+ test schemes to run on CI. Do we really need to run those? What is the reason? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Very interesting. Digging into the links you posted I found this answer as to some of the "why's": #15732 (comment) Does this answer your question? 🤔 |
Beta Was this translation helpful? Give feedback.
-
|
I've also been running into these over the past year or so of fastlane releases. For me, I was running into this while running scan, and looking at the fastlane core project model, it looks like fastlane will call Just today I looked into why fastlane started running the command again despite keeping scan arguments the same, and learned that it's now checking for 'SUPPORTS_MACCATALYST' in the project file (as of a few releases ago). It's a little difficult to determine what lane arguments can suffice for which build settings since AFAIK that mapping doesn't exist nicely in fastlane, but you can get an idea by looking at which build settings fastlane is looking for. You can trace what build setting triggered the show build settings command by looking at the key argument to this function in project.rb (using fastlane as a local gem) |
Beta Was this translation helpful? Give feedback.
I've also been running into these over the past year or so of fastlane releases. For me, I was running into this while running scan, and looking at the fastlane core project model, it looks like fastlane will call
xcodebuild -showBuildSettingswhen it needs a value that it doesn't have (via normal lane arguments). In particular, for my case I learned the absence of 'app_name', 'device', and 'deployment_target_version' arguments as well as the presence of the 'destination' argument can all implicitly trigger the show build settings command. Earlier this year I added those arguments (removing 'destination') and it removed the call for a few releases.Just today I looked into why fastlane st…