Hi,

Unfortunately this is due to latest MacOS no longer support 32bit binaries
so native and test won't work.
You should stil be able to develop for HW targets though.

At some point (see [1]) one could fallback to Xcode 9 to get 32bit support
but I'm not sure if this is stil possible with latest MacOS...

[1] https://github.com/apache/mynewt-core/issues/1685


On Sun, 27 Feb 2022 at 05:02, Mo Chen <shanyechu...@gmail.com> wrote:

> Hi all,
>
> I installed the latest version of Mynewt, 1.9.0 and the environment needed
> following the guidance on the website. However, the examples wont' build on
> MacOS Monterey 12.2.1.
>
> It shows the following error:
>
> Error: ld: warning: The i386 architecture is deprecated for macOS (remove
> from the Xcode build setting: ARCHS)
>
>
>
> I tried to uninstall gcc-11 and installed GCC-6 (gcc-5 is no long supported
> by MacOS later than v11) and changed the Compilier.yml settings to:
>
>
> compiler.path.cc.DARWIN.OVERWRITE:
> "gcc-6"compiler.path.as.DARWIN.OVERWRITE: "gcc-6”
>
>
> The same error still shows up.
>
> Any suggestions?
>
> Thanks,
>
> --
> Mo Chen
>


-- 
pozdrawiam
Szymon K. Janc

Reply via email to