# Apple Silicon Issue

**URL:** <https://community.sonarsource.com/t/apple-silicon-issue/38774>\
**Category:** SonarQube Cloud\
**Tags:** cfamily\
**Created:** [February 16, 2021, 5:59pm UTC](https://community.sonarsource.com/t/apple-silicon-issue/38774 "2021-02-16T17:59:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alessandro\_Martin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/alessandro_martin/32/19431_2.png) [@Alessandro\_Martin](https://community.sonarsource.com/u/Alessandro_Martin)\
**Post date:** [February 16, 2021, 5:59pm UTC](https://community.sonarsource.com/t/apple-silicon-issue/38774/1 "2021-02-16T17:59:34Z")

</div>

- SonarScanner 4.5.0.2216
- Scan my project as usual in the Jenkins pipeline
- Migrated to M1 Mac Mini

After a successful build using `build-wrapper-macosx-x86`, `sonar-scanner` fails with this error:

```auto
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 12.161s
INFO: Final Memory: 40M/144M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: The "build-wrapper-dump.json" file was found empty. Please make sure that:
* you are using the latest version of the build-wrapper and the CFamily analyzer
* your compiler is supported
* you are wrapping your build correctly
* you are wrapping a full/clean build
* if you are building your project inside a Docker container, build-wrapper is wrapping the build process inside the container and not wrapping the external Docker process

    at com.sonar.cpp.plugin.CFamilySensor.execute(CFamilySensor.java:431)
    at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:45)
    at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:75)
    at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:51)
    at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:68)
    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
    at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:444)
    at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:440)
    at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:398)
    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
    at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:126)
    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
    at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:58)
    at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:52)
    at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
    at com.sun.proxy.$Proxy0.execute(Unknown Source)
    at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
    at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
    at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
    at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
    at org.sonarsource.scanner.cli.Main.main(Main.java:61)
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.

```

I have browser the docs, forums and issue and I haven’t been able to find any mention of Apple Silicon. Would you be able to help?

---

<div class="post-metadata">

**Author:** ![Joe](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/joe/32/14820_2.png) [@Joe](https://community.sonarsource.com/u/Joe)\
**Post date:** [February 16, 2021, 7:45pm UTC](https://community.sonarsource.com/t/apple-silicon-issue/38774/2 "2021-02-16T19:45:16Z")

</div>

Hello @Alessandro_Martin ,

Welcome to SonarSource Community! 👋

The logs show the things to check. Which version of SonarQube are you using? Can you please show the following?

- build-wrapper-dump.json
- build-wrapper.log
- the 2 sets of commands you used: one for the build-wrapper and one for the sonar-scanner

If you prefer, please message me privately (click on my avatar and click on “Message”).

Joe

---

<div class="post-metadata">

**Author:** ![Alessandro\_Martin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/alessandro_martin/32/19431_2.png) [@Alessandro\_Martin](https://community.sonarsource.com/u/Alessandro_Martin)\
**Post date:** [February 16, 2021, 8:42pm UTC](https://community.sonarsource.com/t/apple-silicon-issue/38774/3 "2021-02-16T20:42:49Z")

</div>

Hi Joe, thank you so much for the quick response.  
I don’t see the option to message you privately though, neither from Safari nor from Opera.

 ![Screenshot 2021-02-16 at 20.42.27](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/c/a/ca512d9d9bca530f6e1448497c9327830aa64a14.png)

---

<div class="post-metadata">

**Author:** ![Joe](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/joe/32/14820_2.png) [@Joe](https://community.sonarsource.com/u/Joe)\
**Post date:** [February 16, 2021, 8:51pm UTC](https://community.sonarsource.com/t/apple-silicon-issue/38774/4 "2021-02-16T20:51:59Z")

</div>

I messaged you privately. My apologies, here’s how to do it next time:

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/7/2/72397c7bc4ee6ad8aee188c5f2409f98acab5436.png)

---

<div class="post-metadata">

**Author:** ![Alessandro\_Martin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/alessandro_martin/32/19431_2.png) [@Alessandro\_Martin](https://community.sonarsource.com/u/Alessandro_Martin)\
**Post date:** [February 16, 2021, 8:52pm UTC](https://community.sonarsource.com/t/apple-silicon-issue/38774/5 "2021-02-16T20:52:49Z")

</div>

No worries, thank you!

---

<div class="post-metadata">

**Author:** ![Joe](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/joe/32/14820_2.png) [@Joe](https://community.sonarsource.com/u/Joe)\
**Post date:** [February 22, 2021, 12:54pm UTC](https://community.sonarsource.com/t/apple-silicon-issue/38774/8 "2021-02-22T12:54:19Z")

</div>

@Alessandro_Martin : Thank you for your patience. Apple Silicon is not a compatible/supported platform for C-family analysis, based on our documentation: [SonarCloud](https://sonarcloud.io/documentation/analysis/languages/cfamily/)

> - macOS with version 10.14.3 and later on x86-64

Please try your analysis on a supported platform. We do have future plans to support Apple Silicon, see here: [[CPP-2882] - Jira](https://jira.sonarsource.com/browse/CPP-2882)

Thanks for the help, @Godin !

Joe

---

<div class="post-metadata">

**Author:** ![Alessandro\_Martin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/alessandro_martin/32/19431_2.png) [@Alessandro\_Martin](https://community.sonarsource.com/u/Alessandro_Martin)\
**Post date:** [February 22, 2021, 1:46pm UTC](https://community.sonarsource.com/t/apple-silicon-issue/38774/9 "2021-02-22T13:46:57Z")

</div>

Thank you @Joe and @Godin.  
Fingers crossed that this issue is resolved soon.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [March 1, 2021, 1:47pm UTC](https://community.sonarsource.com/t/apple-silicon-issue/38774/10 "2021-03-01T13:47:04Z")

</div>

Closed on March 1, 2021, 1:47pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
