DEV Community

Cover image for Troubleshooting configureCMakeDebug[arm64-v8a] FAILED in React Native
Amit Kumar
Amit Kumar

Posted on

Troubleshooting configureCMakeDebug[arm64-v8a] FAILED in React Native

If you’re working with React Native and encounter the error configureCMakeDebug[arm64-v8a] FAILED, you’re facing a common issue related to the CMake build process. This problem typically arises when dealing with native modules or libraries within your React Native project. This guide will help you understand the causes of this error and provide solutions to resolve it effectively.

Solution: Installing Rosetta 2

  1. Open Terminal

  2. Run the Installation Command

softwareupdate --install-rosetta
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
gautham495 profile image
Gautham Vijayan

This does not work.

It provides this issue

2024-10-24 16:52:54.636 softwareupdate[41222:10708189] Package Authoring Error: 062-58681: Package reference com.apple.pkg.RosettaUpdateAuto is missing installKBytes attribute
Install of Rosetta 2 finished successfully