You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So if I run scan without setting scheme and setting package_path to an empty string it works as expected:
# scan complains about a missing scheme optionscan(test_without_building: true,derived_data_path: "…")# xcodebuild complains about incompatible scheme optionscan(scheme: <redacted>,test_without_building: true,derived_data_path: "…")# works as expected: scan doesn't prompt for a scheme and# xcodebuild doesn't complain about an incompatible scheme argumentscan(package_path: "",test_without_building: true,derived_data_path: "…")
I think scan shouldn't require a scheme option when test_without_building is set to true.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
Friendly reminder: contributions are always welcome! Check out CONTRIBUTING.md for more information on how to help with fastlane and feel free to tackle this issue yourself 💪
This issue will be auto-closed if there is no reply within 1 month.
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍
New Issue Checklist
Issue Description
Running
scan
with thetest_without_building
option set totrue
makes fastlane prompt for a missingscheme
option:But when I set a value for the
scheme
option, thenxcodebuild
complains that such option is incompatible with-xctestrun
:Manually running the
xcodebuild
command above but omitting theworkspace
andscheme
arguments works as expected.Upon closer inspection of how
scan
options are built, I noticed thatproject_path_array
will only containworkspace
andscheme
if thepackage_path
option is nil.So if I run
scan
without settingscheme
and settingpackage_path
to an empty string it works as expected:I think
scan
shouldn't require ascheme
option whentest_without_building
is set totrue
.Command executed
Complete output when running fastlane, including the stack trace and command used
Note:
unit_test
is a lane in Fastfile wrapping a call toscan
with the options from the previous section.Environment
✅ fastlane environment ✅
Stack
System Locale
fastlane gems
Loaded fastlane plugins:
Loaded gems
generated on: 2022-08-09
The text was updated successfully, but these errors were encountered: