How can I fix error when building React-Native 0.68.0?

818 views Asked by At

The issue seems to be known on the React-Native github repo, but I'm not able to find a solution.

Building a new project on version 0.68.0 always fails with :

enter image description here

I tried many solutions found here and there.

Here are the most obvious troubleshooting steps I took :

  • Restarted computer
  • Deleted Podfile.lock
  • Updated pods
  • Removed everything related to Xcode and re-installed Xcode

My colleague and I both use a MBP. Everything works fine for him since he's able to build >= 0.68.0 projects.

Here's my configuration : enter image description here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ NOT BUILDING

Here's his configuration : enter image description here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILDING

Any hint ?

EDIT : Created a 0.69.0-rc.6 project and it builds properly.

1

There are 1 answers

2
FaysalB On

try deleting files in the following:

~/Library/Developer/Xcode/DerivedData

then clean build folder and rebuild