react-native: Mac Catalyst builds are broken for x86_64 arch

Description

Image

Steps to reproduce

Just try to build a project for mac Catalyst.

React Native Version

0.78.1

Affected Platforms

Build - MacOS

Output of npx @react-native-community/cli info

N/A

Stacktrace or Logs

N/A

Reproducer

N/A

Screenshots and Videos

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 15 (12 by maintainers)

Commits related to this issue

Most upvoted comments

this one as well works:

                 originalMessage:errorData[@"originalMessage"]
                            name:errorData[@"name"]
                  componentStack:errorData[@"componentStack"]
                     exceptionId:error.id
-                         isFatal:errorData[@"isFatal"]
+ 			isFatal:[errorData[@"isFatal"] boolValue]
                       extraData:errorData[@"extraData"]]) {

Here is a little screen recording, to also show you that it does something weird — when I click the build error, it is first highlighted as the error in the code, but shortly after the highlight disappears, as if Xcode changes opinion and thinks the code is just fine.

https://github.com/user-attachments/assets/eac6bbff-267f-426e-bc77-60c8fa920371