-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scan is twice slower on building code #3353
Comments
Any feedback here? I find it funny how |
Looks like this is an issue. I tried running the xcodebuild command generated by scan directly without the build option. Just clean test. That seems to have cut the time in half. |
+1 for that. |
@KrauseFx I have been using xcodebuild to workaround this problem, instead of Scan. Currently, I am just passing the test command and have seen no issues with it in running our CI. Also, I compared the execution times of just xcodebuild test from fastlane and using Scan from fastlane. Scan is considerably slower because does a build and test. Hope this helps. I have a PR, if you think everything's alright - fastlane-old/scan#62 |
I am also seeing not only everything built twice but the tests are being ran twice 😁 Looks like I am going to switch back to |
same here. |
Was able to speed things up thanks to #86 by using gym to build the binary first then run scan with the new |
Yeah, thanks for updating this issue, this is now implemented with fastlane-old/scan#86 |
@kdawgwilk any chance you can provide a concrete example on your work around? My StackOverflow post provides a bit of context. |
@ivanbruel Just set the --skip_build flag to true. Thanks! |
As I see - the difference between my xcodebuild arguments and scan generated is:
I run
clean test
and scan runsclean build test
.I also see duplicates of compiling lines.
Is it building twice?
The text was updated successfully, but these errors were encountered: