Comments (6)
I personally don't know enough about ruby to fix this problem or propose a patch, but if anyone needs a workaround, installing Rosetta2 on the build machine allowed xcov
to run on my M2 Mac mini:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
from xcov.
This was working for me on an M1 Mac mini, but just upgrades to an M2 Mini and now it's failing with this same error:
62: [11:08:41]: $ /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov-core/bin/xcov-core -s ./fastlane/XcovReport/xccovreport-0.xccovreport -o ./fastlane/XcovReport/tmp/report.json20230223-3445-n7htli --ide-foundation-path /Applications/Xcode-14.2.0.app/Contents/Developer/../Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
63: [11:08:41]: ▸ Loading...
64: Bad CPU type in executable - fork failed
65: +------------------+----------------------+
66: | Lane Context |
67: +------------------+----------------------+
68: | DEFAULT_PLATFORM | ios |
69: | PLATFORM_NAME | ios |
70: | LANE_NAME | ios coverage_reports |
71: +------------------+----------------------+
72: [11:08:41]: Error creating your coverage report - see the log above
73:
74: +------+------------------+-------------+
75: | fastlane summary |
76: +------+------------------+-------------+
77: | Step | Action | Time (in s) |
78: +------+------------------+-------------+
79: | 1 | default_platform | 0 |
80: | 2 | remove_files | 0 |
81: | 3 | remove_files | 0 |
89: | 💥 | xcov | 0 |
90: +------+------------------+-------------+
91:
92: [11:08:41]: fastlane finished with errors
93:
94: Looking for related GitHub issues on fastlane/fastlane...
95:
96: ➡️ XCov failing to find .xccoverage file on 2.201.0
97: https://github.com/fastlane/fastlane/issues/19824 [closed] 13 💬
98: 07 May 2022
99:
100: 🔗 You can ⌘ + double-click on links to open them directly in your browser.
101: bundler: failed to load command: fastlane (/Users/mac-mini-pa/.gem/ruby/3.2.0/bin/fastlane)
102: /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov/error_handler.rb:20:in `handle_error': [!] Error creating your coverage report - see the log above (RuntimeError)
103: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov-core.rb:38:in `block in execute_command'
104: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/command_executor.rb:72:in `rescue in execute'
105: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/command_executor.rb:45:in `execute'
106: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov-core.rb:30:in `execute_command'
107: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov-core.rb:24:in `parse'
108: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov/manager.rb:97:in `parse_xccoverage'
109: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov/manager.rb:34:in `run'
110: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/xcov.rb:13:in `run'
111: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
112: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
113: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
114: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
115: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
116: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
117: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
118: from Fastfile:161:in `block (2 levels) in parsing_binding'
119: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/lane.rb:33:in `call'
120: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
121: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
122: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
123: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
124: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
125: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
126: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
127: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
128: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
129: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
130: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
131: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
132: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
133: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
134: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/bin/fastlane:23:in `<top (required)>'
135: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/fastlane:25:in `load'
136: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/fastlane:25:in `<top (required)>'
137: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli/exec.rb:58:in `load'
138: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli/exec.rb:58:in `kernel_load'
139: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli/exec.rb:23:in `run'
140: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli.rb:492:in `exec'
141: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
142: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
143: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
144: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli.rb:34:in `dispatch'
145: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
146: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli.rb:28:in `start'
147: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/exe/bundle:45:in `block in <top (required)>'
148: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
149: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/exe/bundle:33:in `<top (required)>'
150: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/bundle:25:in `load'
151: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/bundle:25:in `<main>'
152: /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/fastlane_pty.rb:24:in `spawn': Bad CPU type in executable - fork failed (FastlaneCore::FastlanePtyError)
153: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/fastlane_pty.rb:24:in `spawn'
154: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/command_executor.rb:46:in `execute'
155: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov-core.rb:30:in `execute_command'
156: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov-core.rb:24:in `parse'
157: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov/manager.rb:97:in `parse_xccoverage'
158: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov/manager.rb:34:in `run'
159: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/xcov.rb:13:in `run'
160: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
161: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
162: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
163: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
164: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
165: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
166: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
167: from Fastfile:161:in `block (2 levels) in parsing_binding'
168: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/lane.rb:33:in `call'
169: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
170: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
171: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
172: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
173: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
174: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
175: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
176: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
177: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
178: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
179: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
180: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
181: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
182: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
183: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/bin/fastlane:23:in `<top (required)>'
184: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/fastlane:25:in `load'
185: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/fastlane:25:in `<top (required)>'
186: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli/exec.rb:58:in `load'
187: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli/exec.rb:58:in `kernel_load'
188: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli/exec.rb:23:in `run'
190: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli.rb:492:in `exec'
191: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
192: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
193: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
194: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli.rb:34:in `dispatch'
195: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
196: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli.rb:28:in `start'
197: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/exe/bundle:45:in `block in <top (required)>'
198: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
199: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/exe/bundle:33:in `<top (required)>'
200: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/bundle:25:in `load'
201: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/bundle:25:in `<main>'
202: /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/fastlane_pty.rb:24:in `spawn': Bad CPU type in executable - fork failed (Errno::EBADARCH)
203: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/fastlane_pty.rb:24:in `spawn'
204: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/command_executor.rb:46:in `execute'
205: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov-core.rb:30:in `execute_command'
206: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov-core.rb:24:in `parse'
207: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov/manager.rb:97:in `parse_xccoverage'
208: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/xcov-1.8.1/lib/xcov/manager.rb:34:in `run'
209: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/xcov.rb:13:in `run'
210: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
211: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
212: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
213: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
214: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
215: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
216: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
217: from Fastfile:161:in `block (2 levels) in parsing_binding'
218: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/lane.rb:33:in `call'
219: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
220: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
221: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
222: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
223: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
224: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
225: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
226: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
227: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
228: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
229: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
230: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
231: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
232: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
233: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/fastlane-2.212.0/bin/fastlane:23:in `<top (required)>'
234: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/fastlane:25:in `load'
235: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/fastlane:25:in `<top (required)>'
236: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli/exec.rb:58:in `load'
237: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli/exec.rb:58:in `kernel_load'
238: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli/exec.rb:23:in `run'
239: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli.rb:492:in `exec'
240: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
241: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
242: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
243: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli.rb:34:in `dispatch'
236: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
237: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/cli.rb:28:in `start'
238: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/exe/bundle:45:in `block in <top (required)>'
239: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
240: from /Users/mac-mini-pa/.gem/ruby/3.2.0/gems/bundler-2.4.7/exe/bundle:33:in `<top (required)>'
241: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/bundle:25:in `load'
242: from /Users/mac-mini-pa/.gem/ruby/3.2.0/bin/bundle:25:in `<main>'
from xcov.
Any updates on this? Encountering this myself now.
from xcov.
Experiencing the same issue on M2. Thanks @edelabar for the workaround, it solved it.
from xcov.
I'm in the same situation. I tried installing from source but guess what, there's an x86 binary in the repo itself, and which hasn't changed in years (even though we've had Apple Silicon for some years now)
How to re-build it? no idea guess we need to find it at https://github.com/fastlane-community/xcov-core
from xcov.
@joshdholtz Any chance we could get some eyes on this issue and prioritize a fix? Relying on Rosetta is not a long term solution.
from xcov.
Related Issues (20)
- Swift Package Manager Mandatory fields
- [!] Could not find option 'workspace' in the list of available options: HOT 2
- Reports 0% Code Coverage with Xcode 12.5
- Exclude subset of ignored files in .xcovignore HOT 1
- xccov_file_direct_path cannot treat with multiple files
- Missing `clean: true` to delete the existing code coverage data HOT 3
- Parsing Coverage Data for Swift Packages HOT 1
- Invalid coverage report for SPM with dependencies HOT 2
- Missing git information when uploading to coveralls
- Could not find option 'xccov_file_direct_path' in the list of available options HOT 1
- Modernize HTML templates
- Fix root directory when opening files
- How can we ignore `Swift Package Dependencies` HOT 4
- .xcovignore file not working HOT 1
- Target with no valid files is considered as having 0% coverage
- Xcov 1.8.1 : Xcov not able to find ignore file path HOT 4
- Include files (opposite of ignore)
- `PBXProject` attempted to initialize an object with unknown ISA `XCLocalSwiftPackageReference`
- "Error occured while exporting xccovreport from xcresult" when "xcov_report" folder already exists HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcov.