Skip to content

Hermes won't build on M1 Mac #781

Closed
Closed
@Saadnajmi

Description

@Saadnajmi

Environment

  1. react-native -v
  2. npm ls react-native-macos:
  3. node -v: v12.21.0
  4. npm -v: 6.14.11
  5. yarn --version: 1.22.10
  6. xcodebuild -version: Xcode 12.4 Build version 12D4e

Issue

If you try to build RNTester-macOS on an M1 Mac with hermes enabled, it fails. You have to keep hermes disabled in the pod file to build RNTester-macOS on an M1 Mac.

Steps To Reproduce

  1. Clone the react-native-macos repo (https://github.com/microsoft/react-native-macos)
  2. Setup RNTester & open Xcode project (yarn && cd RNTester && pod install && open RNTesterPods.xcworkspace)
  3. Try to build RNTester-macOS for Target "My Mac" (in my case it's am M1 Mac mini)

The Expected Behavior

It builds successfully

Actual Behavior

Several Errors:

Screen Shot 2021-05-06 at 2 37 13 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions