Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to symbolicate Hermes crash stack symbol? #38176

Closed
iCodeWoods opened this issue Jul 4, 2023 · 37 comments
Closed

How to symbolicate Hermes crash stack symbol? #38176

iCodeWoods opened this issue Jul 4, 2023 · 37 comments

Comments

@iCodeWoods
Copy link

Description

As the document states, there are Hermes symbols in the assets, but only certain versions have them (e.g., 0.70.7), while others don't (e.g., 0.71.7).

How can I obtain the Hermes dSYM for version 0.71.7?

image

image

Below is the crash report.

Exception Type:  SIGABRT
Exception Codes: #0 at 0x1e9f0e558
Crashed Thread:  2

Thread 2 Crashed:
0   libsystem_kernel.dylib               0x00000001e9f0e558 __pthread_kill + 8
1   libsystem_c.dylib                    0x00000001b24f3178 abort + 176
2   libsystem_malloc.dylib               0x00000001b945b0e4 malloc_vreport + 904
3   libsystem_malloc.dylib               0x00000001b945b38c malloc_zone_error + 100
4   libsystem_malloc.dylib               0x00000001b9455658 nanov2_guard_corruption_detected + 40
5   libsystem_malloc.dylib               0x00000001b9453810 nanov2_allocate_outlined + 400
6   hermes                               0x00000001068d1ab0 0x1066a8000 + 2267824
7   hermes                               0x00000001066e1ef0 0x1066a8000 + 237296
8   hermes                               0x00000001066c8250 0x1066a8000 + 131664
9   hermes                               0x00000001067054dc 0x1066a8000 + 382172
10  hermes                               0x000000010670c8a4 0x1066a8000 + 411812
11  hermes                               0x00000001066ccc7c 0x1066a8000 + 150652
12  hermes                               0x0000000106707c00 0x1066a8000 + 392192
13  hermes                               0x0000000106708164 0x1066a8000 + 393572
14  hermes                               0x00000001066f0290 0x1066a8000 + 295568
15  hermes                               0x00000001066ed71c 0x1066a8000 + 284444
16  hermes                               0x00000001066cf2d8 0x1066a8000 + 160472
17  hermes                               0x00000001066ceb40 0x1066a8000 + 158528
18  hermes                               0x00000001066ee284 0x1066a8000 + 287364
19  hermes                               0x00000001066ed71c 0x1066a8000 + 284444
20  hermes                               0x00000001066cf2d8 0x1066a8000 + 160472
21  hermes                               0x00000001066ceb40 0x1066a8000 + 158528
22  hermes                               0x00000001066b3ce4 0x1066a8000 + 48356
23  Skype4Life                           0x0000000102b617fc facebook::jsi::WithRuntimeDecorator<facebook::react::(anonymous namespace)::ReentrancyCheck, facebook::jsi::Runtime, facebook::jsi::Runtime>::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) (decorator.h:337)
24  Skype4Life                           0x0000000102b9118c facebook::jsi::Value facebook::jsi::Function::call<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, facebook::jsi::Value>(facebook::jsi::Runtime&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&&&, facebook::jsi::Value&&) const (jsi-inl.h:257)
25  Skype4Life                           0x0000000102b90ff0 std::__1::__function::__func<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, folly::dynamic const&)::$_5, std::__1::allocator<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, folly::dynamic const&)::$_5>, void ()>::operator()() (JSIExecutor.cpp:253)
26  Skype4Life                           0x0000000102a96724 void std::__1::__invoke_void_return_wrapper<void, true>::__call<void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>), std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()> >(void (*&&&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>), std::__1::function<void ()> const&&&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > ()>&&) (type_traits:3918)
27  Skype4Life                           0x0000000102b8e1e8 facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, folly::dynamic const&) (function.h:505)
28  Skype4Life                           0x0000000102b3d684 std::__1::__function::__func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8, std::__1::allocator<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>)::$_8>, void ()>::operator()() (function.h:505)
29  Skype4Life                           0x0000000102a99304 facebook::react::tryAndReturnError(std::__1::function<void ()> const&) (function.h:505)
30  Skype4Life                           0x0000000102aa53dc facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()> const&) (RCTMessageThread.mm:69)
31  Skype4Life                           0x0000000102aa5190 ___ZN8facebook5react16RCTMessageThread8runAsyncENSt3__18functionIFvvEEE_block_invoke (function.h:505)
32  CoreFoundation                       0x00000001ab0066e0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 24
33  CoreFoundation                       0x00000001ab06d210 __CFRunLoopDoBlocks + 360
34  CoreFoundation                       0x00000001ab03d0e8 __CFRunLoopRun + 844
35  CoreFoundation                       0x00000001ab0423ec CFRunLoopRunSpecific + 608
36  Skype4Life                           0x0000000102a8edc4 +[RCTCxxBridge runRunLoop] (RCTCxxBridge.mm:336)
37  Foundation                           0x00000001a52dc544 __NSThread__start__ + 712
38  libsystem_pthread.dylib              0x000000020ad516b8 _pthread_start + 144
39  libsystem_pthread.dylib              0x000000020ad50b88 thread_start + 4

React Native Version

0.71.7

Output of npx react-native info

info Fetching system and libraries information...
System:
    OS: macOS 13.4
    CPU: (10) x64 Apple M1 Pro
    Memory: 26.28 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 14.21.3 - ~/.nvm/versions/node/v14.21.3/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 6.14.18 - ~/.nvm/versions/node/v14.21.3/bin/npm
    Watchman: 2023.04.10.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
  Languages:
    Java: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
info React Native v0.72.1 is now available (your project is running on v0.71.7).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.72.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.71.7
info For more info, check out "https://reactnative.dev/docs/upgrading".

Steps to reproduce

Check https://github.com/facebook/react-native/releases?page=2 and there is no hermes artifacts in v0.71.7

Snack, code example, screenshot, or link to a repository

image

@github-actions
Copy link

github-actions bot commented Jul 4, 2023

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.71.11. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@iCodeWoods
Copy link
Author

Even if we use the newer patch - 0.71.11, it's still don't have hermes artifacts in the assets.

image

@cortinico
Copy link
Contributor

For context, those artifacts are only for Android debug symbols. They've been removed from 0.71 as they're distributed on Maven Central alongside the React Native artifacts.

As for iOS, I'm unsure where the dSYM are stored (cc @cipolleschi).

@cipolleschi
Copy link
Contributor

hum... I don't think we are generating dSYM anymore, unfortunately. Probably due to some bug or unwanted changes.
I'll have to look into that more deeply.
@dmytrorykun, do you have more information about this?

@dmytrorykun
Copy link
Contributor

do you have more information about this?

@cipolleschi nope, looks like a bug to me.

@iCodeWoods
Copy link
Author

Hi @cortinico @cipolleschi @dmytrorykun Thanks for your reply.
The ultimate goal of wanting the dSYM for Hermes is to resolve crashes. Do you have any thoughts on the crash stack trace i provided earlier? It contains several Hermes stack frames, but symbolizing them may not be very helpful. I have encountered similar issues before where crashes triggered by bridge messages end up with stack traces within React Native, but it's difficult to determine which bridge specifically caused the issue. Do you have any suggestions or recommendations for addressing this?

@iCodeWoods
Copy link
Author

I understand that it's difficult to debug the issue without being able to reproduce it.

However, at least I would like to ask if there are any ideas regarding the crash triggered by +[RCTCxxBridge runRunLoop].

For example, should I fork a copy of the code and add some logs in this area? (But I think this may impact performance, so it may not be a good idea.)

@cipolleschi
Copy link
Contributor

Can you reproduce the crash locally in a Debug version of the app? Or are these crashes happening only in production?
If you manage to reproduce the crash locally, does it also happen if you disable Hermes? (to rule out that the problem is in hermes).

Some logs would help: for example, the app is calling something in Javascript that is then forwarded to native, as shown by lines 25 and 27 (JSIExecutor::callFunction) but we can't have the function invoked in the stacktrace...

@iCodeWoods
Copy link
Author

Hi @cipolleschi Thanks for your reply.

It's an issue that occurs in the production environment and cannot be reproduced locally. Before enabling Hermes, there was another issue in the production environment, but the quantity was only half of this one. After enabling Hermes, the previous issue disappeared, but this new issue appeared, with a quantity twice as much as before.

I would like to know if React Native has any commonly used or general solutions for this type of crash. Although the crash appears in the React Native stack trace, it may not indicate the specific cause, and it is possible that the issue is not related to React Native itself, but rather to the caller's code.

@cipolleschi
Copy link
Contributor

Yeah, I understand. If a crash is happening with both engines, it makes me think that it is either something in the app or in React Native.
Looking at these lines, it seems that the symbols for Hermes are actually created.

But then, here those symbols are stripped.
I think that the idea was to strip them from there and to create a separate .tar with them.

So, one thing you can do while we work to restore them is to:

  1. clone react-native repo
  2. checkout the branch 0.71-stable
  3. run yarn in the main folder
  4. cd packages/rn-tester
  5. bundle install
  6. bundle exec pod install --> this will download the right version of hermes locally
  7. cd ../react-native/sdks
  8. BUILD_TYPE="Release" ./utils/build-ios-framework.sh --> This should build hermes for iPhone, iPhoneSimulator, Catalyst.

This should build the framework in the /tmp/hermes/hermes-runtime-darwin/destroot/ folder and you can look whether there is a dSYM folder that you can use.
We never update Hermes after 71.4, so the latest you can build from 0.71 is the same you should have in prod.

I really hope this helps.

@iCodeWoods
Copy link
Author

Hi @cipolleschi Thanks for your help. I encountered some issues when using the command.

➜  hermes-engine git:(0.71-stable) BUILD_TYPE="Release" ./utils/build-ios-framework.sh
Building hermesc
CMake Error: The source directory "/Users/linzhennan/react-native/sdks/hermes-engine" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: Makefile: No such file or directory
make: *** No rule to make target `Makefile'.  Stop.
Host hermesc is required to build apple frameworks!
Building Release framework for iphoneos with architectures: arm64
CMake Error: The source directory "/Users/linzhennan/react-native/sdks/hermes-engine" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache
Building hermesc
CMake Error: The source directory "/Users/linzhennan/react-native/sdks/hermes-engine" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: Makefile: No such file or directory
make: *** No rule to make target `Makefile'.  Stop.
Host hermesc is required to build apple frameworks!
Building Release framework for iphonesimulator with architectures: x86_64;arm64
CMake Error: The source directory "/Users/linzhennan/react-native/sdks/hermes-engine" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache
Building hermesc
CMake Error: The source directory "/Users/linzhennan/react-native/sdks/hermes-engine" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: Makefile: No such file or directory
make: *** No rule to make target `Makefile'.  Stop.
Host hermesc is required to build apple frameworks!
Building Release framework for catalyst with architectures: x86_64;arm64
CMake Error: The source directory "/Users/linzhennan/react-native/sdks/hermes-engine" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache
/Users/linzhennan/react-native/sdks/hermes-engine/utils/build-apple-framework.sh: line 124: pushd: /Users/linzhennan/react-native/sdks/hermes-engine/utils/../destroot/Library/Frameworks: No such file or directory```

@cipolleschi
Copy link
Contributor

I think you are running the command from the wrong folder:

hermes-engine is a supporting folder, where react-native specifies the build logic for hermes
hermes is the folder that actually contains the hermes code.

So... if you run BUILD_TYPE="Release" ./utils/build-ios-framework.sh from sdks/hermes it should work.

Warning: it will take some time to build hermes, unfortunately... 😓

@cipolleschi
Copy link
Contributor

@iCodeWoods I make a test today and I can confirm that running

BUILD_TYPE="Release" ./utils/build-ios-framework.sh
BUILD_TYPE="Release" ./utils/build-mac-framework.sh

Creates also the dSYMs:

Screenshot 2023-07-07 at 18 46 12

I'll be on holiday the next week, and back the week after. Once back, I'll have a look at how to create the archive and ship the symbols!

@cipolleschi
Copy link
Contributor

Hey there, starting from 0.73, we are publishing the dSYMs for both Hermes in Release and Hermes in Debug.
You can find the link in the GitHub releases.

In any case, they follow the format (replace the <> with the proper value. All letters are lowercase):

https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/<version>/react-native-artifacts-<version>-hermes-framework-dSYM-<build_type>.tar.gz

We don't have dSYMs for versions lower than 0.72, unfortunately.

@danilobuerger
Copy link
Contributor

@cipolleschi are the hermes dsyms for 0.73.1 missing or not intended to be published?

@cipolleschi
Copy link
Contributor

Yes they have been published here: https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.73.1

Probably we forgot to update the release notes

@danilobuerger
Copy link
Contributor

@cipolleschi thats really weird. if you go to https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/ it doesn't show that folder...

@cipolleschi
Copy link
Contributor

Yeah.. that's weird. Perhaps sonatype is having issues in synching the indexes. That per of the infra is a bit out of our control... 🤷

@cortinico
Copy link
Contributor

if you go to repo1.maven.org/maven2/com/facebook/react/react-native-artifacts it doesn't show that folder...

I believe things were down over the NYE. Everything should be back to normal now 👍

@dgrover-spotnana
Copy link

dgrover-spotnana commented Apr 16, 2024

Hey @iCodeWoods , were you able to resolve or find the root cause of this issue ? We have a similar crash that got reported on our Instabug.

"react-native": "0.70.8"

SIGABRT: MyApp(1131,0x16e1b3000) malloc: Heap corruption detected, free list is damaged at 0x301f44d80 *** Incorrect guard value: 6091085824
com.facebook.react.JavaScript
0x1052eb7c8
Thread 9 com.facebook.react.JavaScript [Crashed]:

0    libsystem_kernel.dylib                   0x1dbbb2974     __pthread_kill + 8
1    libsystem_c.dylib                        0x19b603b80     abort + 179
2    libsystem_malloc.dylib                   0x1a382ec68     malloc_vreport + 895
3    libsystem_malloc.dylib                   0x1a382ef10     malloc_zone_error + 103
4    libsystem_malloc.dylib                   0x1a3824a44     nanov2_guard_corruption_detected + 43
5    libsystem_malloc.dylib                   0x1a380af84     nanov2_allocate_outlined + 403
6    libc++abi.dylib                          0x1ef556b84     operator new(unsigned long) + 51
7    hermes                                   0x1052eb7c8     0x105130000
8    hermes                                   0x1052d93e8     0x105130000
9    hermes                                   0x1052d967c     0x105130000
10   hermes                                   0x1052de6a4     0x105130000
11   hermes                                   0x1052de218     0x105130000
12   hermes                                   0x1052dec7c     0x105130000
13   hermes                                   0x1052de304     0x105130000
14   hermes                                   0x1052de528     0x105130000
15   hermes                                   0x1052e347c     0x105130000
16   hermes                                   0x1052e34f8     0x105130000
17   hermes                                   0x1052e616c     0x105130000
18   hermes                                   0x1052d8e7c     0x105130000
19   hermes                                   0x1052d7854     0x105130000
20   hermes                                   0x105159c34     0x105130000
21   hermes                                   0x105176dbc     0x105130000
22   hermes                                   0x10517618c     0x105130000
23   hermes                                   0x10515859c     0x105130000
24   hermes                                   0x105157e04     0x105130000
25   hermes                                   0x105176c94     0x105130000
26   hermes                                   0x10517618c     0x105130000
27   hermes                                   0x10515859c     0x105130000
28   hermes                                   0x105157e04     0x105130000
29   hermes                                   0x105176c94     0x105130000
30   hermes                                   0x10517618c     0x105130000
31   hermes                                   0x105158fcc     0x105130000
32   hermes                                   0x1051fcc6c     0x105130000
33   hermes                                   0x1051582f4     0x105130000
34   hermes                                   0x105176c70     0x105130000
35   hermes                                   0x10517618c     0x105130000
36   hermes                                   0x10515859c     0x105130000
37   hermes                                   0x105156eb0     0x105130000
38   hermes                                   0x105228704     0x105130000
39   hermes                                   0x1051582f4     0x105130000
40   hermes                                   0x105176c70     0x105130000
41   hermes                                   0x10517618c     0x105130000
42   hermes                                   0x10515859c     0x105130000
43   hermes                                   0x105157e04     0x105130000
44   hermes                                   0x105176c94     0x105130000
45   hermes                                   0x10517618c     0x105130000
46   hermes                                   0x10515859c     0x105130000
47   hermes                                   0x105157e04     0x105130000
48   hermes                                   0x10513cd58     0x105130000
49   MyApp                                    0x1024c2258     facebook::jsi::WithRuntimeDecorator<facebook::react::(anonymous namespace)::ReentrancyCheck, facebook::jsi::Runtime, facebook::jsi::Runtime>::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) (decorator.h:709)

cc: @cipolleschi

@cipolleschi
Copy link
Contributor

@dgrover-spotnana unfortunately, we don't have dSYMs for React Native 0.70 and that version is not supported anymore, so it's not possible to symbolicate Hermes symbols for that version.

@KajiTetsushi
Copy link

KajiTetsushi commented Aug 13, 2024

@cipolleschi Hi there. I've tried following the initial instructions to create the dSYMs, but then I got the same result where the script was unable to find CMakeLists.txt, so I switched to sdk/hermes as per the suggestion.

The thing with the next instruction is that ./utils/build-ios-framework.sh doesn't exist in sdks/hermes, so I duplicated the entire ./utils from sdks/hermes-engine into sdks/hermes, but I still ended up with the same results as before.

The way it looks to me: the build-ios-framework.sh script or its dependencies is supposed to create CMakeLists.txt, but it doesn't, so the script complains. To try and make it "succeed", I created an empty CMakeLists.txt file in sdks/hermes, and finally the script executes, but the builds shown here on my end don't have API/hermes/hermes.framework.dSYM.

What am I doing wrong here?

React Native 0.71.6 (brownfield project)

@cipolleschi
Copy link
Contributor

@KajiTetsushi 0.71 is not supported anymore. I strongly advise for you to migrate to a supported one, but skip 0.72 as it will go out of support tomorrow. For newer versions, we add the dSYM links in the github Release, so you don't have to build it yourself.

The scripts are not creating any CMakeLists file, actually.
How the build of hermes works is that:

  1. we download the hermes repo at a specific point in time. For stable version, there is a .hermesversion file that specify the git tag. The download is saved in a sdks/download folder and extracted in the sdks/hermes folder
  2. then we copy the hermes-engine folder into the hermes folder, overriding the hermes-engine.podspec and all the build scripts. In this way, React Native controls the build for hermes.
  3. at that point, the sdks/hermes folder should contain all the files needed to build the engine. However, it is very sensitive to the source folder from where the script is called. All the scripts must be invoked from the sdks/hermes folder

@KajiTetsushi
Copy link

@cipolleschi

The scripts are not creating any CMakeLists file, actually. How the build of hermes works is that:

  1. we download the hermes repo at a specific point in time. For stable version, there is a .hermesversion file that specify the git tag. The download is saved in a sdks/download folder and extracted in the sdks/hermes folder
  2. then we copy the hermes-engine folder into the hermes folder, overriding the hermes-engine.podspec and all the build scripts. In this way, React Native controls the build for hermes.
  3. at that point, the sdks/hermes folder should contain all the files needed to build the engine. However, it is very sensitive to the source folder from where the script is called. All the scripts must be invoked from the sdks/hermes folder

Is step 1 something ./utils/build-ios-framework.sh does out of the box or something that has to be done manually?

@cipolleschi
Copy link
Contributor

step 1 and 2 are done by this script.

Just comment out these lines:

async function main(isInCI) {
+ // if (!shouldBuildHermesFromSource(isInCI)) {
+ //  copyPodSpec();
+ //    return;
+ //  }
  downloadHermesSourceTarball();
  expandHermesSourceTarball();
  copyPodSpec();
  copyBuildScripts();

  if (shouldUsePrebuiltHermesC('macos')) {
    console.log('[Hermes] Using pre-built HermesC');
    configureMakeForPrebuiltHermesC();
  }
}

then you can run it as
node scripts/hermes/prepare-hermes-for-build.js

And it will download hermes in the right folder and it will also copy all the required files from hermes-engine to hermes

@KajiTetsushi
Copy link

KajiTetsushi commented Aug 16, 2024

@cipolleschi That did something! Awesome! I ran node prepare-hermes-for-build.js before BUILD_TYPE="Release" ./utils/build-ios-framework.sh.

However, it still errors out at the end looking for react-native/sdks/hermes/utils/../destroot/Library/Frameworks: "No such file or directory"

Is there still a step missing?

Here's the build log from running BUILD_TYPE="Release" ./utils/build-ios-framework.sh:

Building hermesc
CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test DEPRECATED_COPY_FLAG
-- Performing Test DEPRECATED_COPY_FLAG - Success
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test RANGE_ANALYSIS_FLAG
-- Performing Test RANGE_ANALYSIS_FLAG - Success
-- Found Python: /opt/homebrew/Frameworks/Python.framework/Versions/3.12/bin/python3.12 (found version "3.12.3") found components: Interpreter
-- Performing Test HAVE_COMPUTED_GOTO
-- Performing Test HAVE_COMPUTED_GOTO - Success
-- Performing Test HAVE_GC_SECTIONS
-- Performing Test HAVE_GC_SECTIONS - Failed
-- Performing Test HAVE_ICF
-- Performing Test HAVE_ICF - Failed
-- Performing Test CXX_SUPPORTS_SHORTEN_64_TO_32
-- Performing Test CXX_SUPPORTS_SHORTEN_64_TO_32 - Success
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for link.h
-- Looking for link.h - not found
-- Looking for malloc.h
-- Looking for malloc.h - not found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - found
-- Looking for histedit.h
-- Looking for histedit.h - found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Performing Test HAVE_CRASHREPORTER_INFO
-- Performing Test HAVE_CRASHREPORTER_INFO - Success
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for xar_open in xar
-- Looking for xar_open in xar - found
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - not found
-- Looking for lseek64
-- Looking for lseek64 - not found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - not found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Looking for sched_getaffinity
-- Looking for sched_getaffinity - not found
-- Looking for CPU_COUNT
-- Looking for CPU_COUNT - not found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_NO_PIE_FLAG
-- Performing Test SUPPORTS_NO_PIE_FLAG - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Found ld64 - /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- CMAKE_HOST_SYSTEM_NAME = Darwin
-- CMAKE_SYSTEM_NAME = Darwin
-- HERMES_APPLE_TARGET_PLATFORM = 
-- CMAKE_CROSSCOMPILING = FALSE
-- Looking for readline
-- Looking for readline - found
-- Configuring done (16.1s)
-- Generating done (0.8s)
-- Build files have been written to: /Users/kajitetsushi/react-native/sdks/hermes/build_host_hermesc
[  0%] Building C object external/zip/CMakeFiles/zip.dir/src/zip.c.o
[  0%] Building C object external/dtoa/CMakeFiles/dtoa.dir/g_fmt.c.o
[  0%] Building CXX object external/dtoa/CMakeFiles/dtoa.dir/locks.cpp.o
[  3%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/MicrosoftDemangleNodes.cpp.o
[  6%] Building C object external/dtoa/CMakeFiles/dtoa.dir/dtoa.c.o
[  6%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/ItaniumDemangle.cpp.o
[  6%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/MicrosoftDemangle.cpp.o
[  6%] Building CXX object public/hermes/Public/CMakeFiles/hermesPublic.dir/rtti.cpp.o
[ 10%] Linking C static library libzip.a
[ 10%] Built target zip
[ 10%] Linking CXX static library libdtoa.a
[ 10%] Built target dtoa
[ 10%] Linking CXX static library libhermesPublic.a
[ 10%] Built target hermesPublic
[ 10%] Linking CXX static library libLLVHDemangle.a
[ 10%] Built target LLVHDemangle
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Error.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ErrorHandling.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/circular_raw_ostream.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Errno.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ConvertUTF.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/APFloat.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/APInt.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/CommandLine.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Debug.cpp.o
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ConvertUTFWrapper.cpp.o
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/FileCheck.cpp.o
[ 16%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/GraphWriter.cpp.o
[ 16%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/FoldingSet.cpp.o
[ 16%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Hashing.cpp.o
[ 16%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Host.cpp.o
[ 16%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/InitLLVM.cpp.o
[ 16%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/LineIterator.cpp.o
[ 16%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Locale.cpp.o
[ 16%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ManagedStatic.cpp.o
[ 20%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/MD5.cpp.o
[ 20%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Memory.cpp.o
[ 20%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/MemoryBuffer.cpp.o
[ 20%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Mutex.cpp.o
[ 20%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Path.cpp.o
[ 20%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/NativeFormatting.cpp.o
[ 20%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/PrettyStackTrace.cpp.o
[ 23%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Process.cpp.o
[ 23%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Program.cpp.o
[ 23%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/raw_ostream.cpp.o
[ 23%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/raw_os_ostream.cpp.o
[ 23%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regcomp.c.o
[ 23%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regerror.c.o
[ 23%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regfree.c.o
[ 26%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Regex.cpp.o
[ 26%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regexec.c.o
[ 26%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regstrlcpy.c.o
[ 26%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Signals.cpp.o
[ 26%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SHA1.cpp.o
[ 26%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SmallVector.cpp.o
[ 26%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SmallPtrSet.cpp.o
[ 30%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SourceMgr.cpp.o
[ 30%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Statistic.cpp.o
[ 30%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringExtras.cpp.o
[ 30%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringMap.cpp.o
[ 30%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringRef.cpp.o
[ 30%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringSaver.cpp.o
[ 30%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/TargetParser.cpp.o
[ 33%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Threading.cpp.o
[ 33%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Timer.cpp.o
[ 33%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Triple.cpp.o
[ 33%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Twine.cpp.o
[ 33%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Unicode.cpp.o
[ 33%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Valgrind.cpp.o
[ 33%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Watchdog.cpp.o
[ 36%] Linking CXX static library libLLVHSupport.a
[ 36%] Built target LLVHSupport
[ 36%] Building CXX object lib/FrontEndDefs/CMakeFiles/hermesFrontEndDefs.dir/Builtins.cpp.o
[ 36%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeJava.cpp.o
[ 36%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/PassManager/Pipeline.cpp.o
[ 40%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/CharacterProperties.cpp.o
[ 40%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeEmscripten.cpp.o
[ 40%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeICU.cpp.o
[ 40%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/CSE.cpp.o
[ 40%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeLite.cpp.o
[ 40%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeCF.cpp.o
[ 40%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/SimplifyCFG.cpp.o
[ 40%] Linking CXX static library libhermesFrontEndDefs.a
[ 40%] Built target hermesFrontEndDefs
[ 40%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/CodeMotion.cpp.o
[ 40%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/DCE.cpp.o
[ 43%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Mem2Reg.cpp.o
[ 43%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/TypeInference.cpp.o
[ 43%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/StackPromotion.cpp.o
[ 43%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/InstSimplify.cpp.o
[ 43%] Linking CXX static library libhermesPlatformUnicode.a
[ 43%] Built target hermesPlatformUnicode
[ 43%] Building CXX object lib/Regex/CMakeFiles/hermesRegex.dir/RegexParser.cpp.o
[ 43%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Auditor.cpp.o
[ 43%] Building CXX object lib/Regex/CMakeFiles/hermesRegex.dir/Executor.cpp.o
[ 43%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Wasm/WasmSimplify.cpp.o
[ 46%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/SimpleCallGraphProvider.cpp.o
[ 46%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/ResolveStaticRequire.cpp.o
[ 46%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/FuncSigOpts.cpp.o
[ 46%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Utils.cpp.o
[ 46%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Inlining.cpp.o
[ 46%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/HoistStartGenerator.cpp.o
[ 46%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/InstructionEscapeAnalysis.cpp.o
[ 50%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/TDZDedup.cpp.o
[ 50%] Linking CXX static library libhermesRegex.a
[ 50%] Built target hermesRegex
[ 50%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/Allocator.cpp.o
[ 53%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/Base64.cpp.o
[ 53%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/IR/Analysis.cpp.o
[ 53%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/IR/IREval.cpp.o
[ 53%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/Base64vlq.cpp.o
[ 53%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/BigIntSupport.cpp.o
[ 53%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/CheckedMalloc.cpp.o
[ 53%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/Conversions.cpp.o
[ 53%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/ErrorHandling.cpp.o
[ 53%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/InternalIdentifierMaker.cpp.o
[ 56%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/JSONEmitter.cpp.o
[ 56%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/OSCompatEmscripten.cpp.o
[ 56%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/OSCompatPosix.cpp.o
[ 56%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/OSCompatWindows.cpp.o
[ 56%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/PageAccessTrackerPosix.cpp.o
[ 56%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/PerfSection.cpp.o
[ 56%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/RegExpSerialization.cpp.o
[ 60%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/Semaphore.cpp.o
[ 60%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/SHA1.cpp.o
[ 60%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/SNPrintfBuf.cpp.o
[ 60%] Building CXX object lib/Support/CMakeFiles/hermesSupport.dir/SourceErrorManager.cpp.o
/Users/kajitetsushi/react-native/sdks/hermes/lib/Support/Semaphore.cpp:35:3: error: use of undeclared identifier 'assert'
  assert(semPtr_ != nullptr && "sem_open should have succeeded");
  ^
1 error generated.
make[3]: *** [lib/Support/CMakeFiles/hermesSupport.dir/Semaphore.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 60%] Linking CXX static library libhermesOptimizer.a
[ 60%] Built target hermesOptimizer
make[2]: *** [lib/Support/CMakeFiles/hermesSupport.dir/all] Error 2
make[1]: *** [tools/hermesc/CMakeFiles/hermesc.dir/rule] Error 2
make: *** [hermesc] Error 2
Building Release framework for iphoneos with architectures: arm64
CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test DEPRECATED_COPY_FLAG
-- Performing Test DEPRECATED_COPY_FLAG - Success
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test RANGE_ANALYSIS_FLAG
-- Performing Test RANGE_ANALYSIS_FLAG - Success
-- Found Python: /opt/homebrew/Frameworks/Python.framework/Versions/3.12/bin/python3.12 (found version "3.12.3") found components: Interpreter
-- Performing Test HAVE_COMPUTED_GOTO
-- Performing Test HAVE_COMPUTED_GOTO - Success
-- Performing Test HAVE_GC_SECTIONS
-- Performing Test HAVE_GC_SECTIONS - Failed
-- Performing Test HAVE_ICF
-- Performing Test HAVE_ICF - Failed
-- Performing Test CXX_SUPPORTS_SHORTEN_64_TO_32
-- Performing Test CXX_SUPPORTS_SHORTEN_64_TO_32 - Success
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for link.h
-- Looking for link.h - not found
-- Looking for malloc.h
-- Looking for malloc.h - not found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - found
-- Looking for histedit.h
-- Looking for histedit.h - not found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Performing Test HAVE_CRASHREPORTER_INFO
-- Performing Test HAVE_CRASHREPORTER_INFO - Success
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk/usr/include
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - not found
-- Looking for lseek64
-- Looking for lseek64 - not found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - not found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Looking for sched_getaffinity
-- Looking for sched_getaffinity - not found
-- Looking for CPU_COUNT
-- Looking for CPU_COUNT - not found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_NO_PIE_FLAG
-- Performing Test SUPPORTS_NO_PIE_FLAG - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Found ld64 - /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- CMAKE_HOST_SYSTEM_NAME = Darwin
-- CMAKE_SYSTEM_NAME = Darwin
-- HERMES_APPLE_TARGET_PLATFORM = iphoneos
-- CMAKE_CROSSCOMPILING = TRUE
-- Configuring done (12.7s)
-- Generating done (0.4s)
CMake Warning:
  Manually-specified variables were not used by the project:

    HERMES_ENABLE_FUZZILLI
    HERMES_ENABLE_LIBFUZZER


-- Build files have been written to: /Users/kajitetsushi/react-native/sdks/hermes/build_iphoneos
[  0%] Building C object external/llvh/utils/count/CMakeFiles/count.dir/count.c.o
[  0%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/MicrosoftDemangleNodes.cpp.o
[  0%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/ItaniumDemangle.cpp.o
[  0%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/MicrosoftDemangle.cpp.o
[  0%] Building CXX object public/hermes/Public/CMakeFiles/hermesPublic.dir/rtti.cpp.o
[  0%] Building C object external/dtoa/CMakeFiles/dtoa.dir/dtoa.c.o
[  0%] Building CXX object jsi/CMakeFiles/jsi.dir/jsi.cpp.o
[  1%] Building C object external/dtoa/CMakeFiles/dtoa.dir/g_fmt.c.o
[  1%] Building CXX object external/dtoa/CMakeFiles/dtoa.dir/locks.cpp.o
[  1%] Building C object external/zip/CMakeFiles/zip.dir/src/zip.c.o
[  1%] Linking C executable ../../../../bin/count
ld: warning: -no_pie ignored for arm64*
ld: warning: -no_pie ignored for arm64
[  1%] Built target count
[  1%] Linking CXX static library libdtoa.a
[  1%] Built target dtoa
[  1%] Linking CXX static library libhermesPublic.a
[  1%] Built target hermesPublic
[  2%] Linking C static library libzip.a
[  2%] Built target zip
[  2%] Linking CXX static library libjsi.a
[  2%] Built target jsi
[  3%] Linking CXX static library libLLVHDemangle.a
[  3%] Built target LLVHDemangle
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/APInt.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/circular_raw_ostream.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/CommandLine.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/APFloat.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Error.cpp.o
[  4%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ErrorHandling.cpp.o
[  4%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ConvertUTFWrapper.cpp.o
[  4%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Errno.cpp.o
[  4%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Debug.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ConvertUTF.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/FileCheck.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/FoldingSet.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/GraphWriter.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Hashing.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Host.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/InitLLVM.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/LineIterator.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Locale.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ManagedStatic.cpp.o
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/MD5.cpp.o
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Memory.cpp.o
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/MemoryBuffer.cpp.o
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Mutex.cpp.o
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/NativeFormatting.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Path.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/PrettyStackTrace.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Process.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Program.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/raw_ostream.cpp.o
[  9%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/raw_os_ostream.cpp.o
[  9%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regcomp.c.o
[  9%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regerror.c.o
[  9%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regfree.c.o
[  9%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Regex.cpp.o
[ 10%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regexec.c.o
[ 10%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regstrlcpy.c.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SHA1.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SmallVector.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Signals.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SmallPtrSet.cpp.o
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SourceMgr.cpp.o
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Statistic.cpp.o
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringExtras.cpp.o
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringMap.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringRef.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringSaver.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/TargetParser.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Threading.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Timer.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Triple.cpp.o
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Twine.cpp.o
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Unicode.cpp.o
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Valgrind.cpp.o
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Watchdog.cpp.o
[ 13%] Linking CXX static library libLLVHSupport.a
[ 13%] Built target LLVHSupport
make[2]: *** No rule to make target `/Users/kajitetsushi/react-native/sdks/hermes/build_host_hermesc/bin/hermesc', needed by `lib/InternalBytecode/InternalBytecode.hbc'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 13%] Generating InternalBytecode.js
make[1]: *** [lib/InternalBytecode/CMakeFiles/hermesInternalBytecode.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 13%] Building CXX object external/llvh/utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o
[ 13%] Building CXX object external/llvh/utils/not/CMakeFiles/not.dir/not.cpp.o
[ 13%] Building CXX object external/llvh/utils/unittest/CMakeFiles/gtest.dir/googletest/src/gtest-all.cc.o
[ 13%] Building CXX object lib/Platform/CMakeFiles/hermesPlatform.dir/Logging.cpp.o
[ 13%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/SimplifyCFG.cpp.o
[ 13%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/PassManager/Pipeline.cpp.o
[ 14%] Building CXX object lib/FrontEndDefs/CMakeFiles/hermesFrontEndDefs.dir/Builtins.cpp.o
[ 15%] Building CXX object lib/Platform/Intl/CMakeFiles/hermesBCP47Parser.dir/BCP47Parser.cpp.o
[ 15%] Building CXX object API/hermes/CMakeFiles/compileJS.dir/CompileJS.cpp.o
[ 15%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeJava.cpp.o
[ 15%] Linking CXX static library libhermesFrontEndDefs.a
[ 15%] Built target hermesFrontEndDefs
[ 15%] Building CXX object external/llvh/utils/unittest/CMakeFiles/gtest.dir/googlemock/src/gmock-all.cc.o
[ 15%] Linking CXX static library libhermesPlatform.a
[ 15%] Built target hermesPlatform
[ 15%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/CSE.cpp.o
[ 15%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeCF.cpp.o
[ 15%] Linking CXX executable ../../../../bin/not
ld: warning: -no_pie ignored for arm64*
ld: warning: -no_pie ignored for arm64
[ 15%] Built target not
[ 15%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/CodeMotion.cpp.o
[ 15%] Linking CXX static library libhermesBCP47Parser.a
[ 15%] Built target hermesBCP47Parser
[ 15%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeICU.cpp.o
[ 15%] Linking CXX executable ../../../../bin/FileCheck
ld: warning: -no_pie ignored for arm64*
ld: warning: -no_pie ignored for arm64
[ 15%] Built target FileCheck
[ 16%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/DCE.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Mem2Reg.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/TypeInference.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/StackPromotion.cpp.o
[ 16%] Linking CXX static library libcompileJS.a
[ 16%] Built target compileJS
[ 16%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeLite.cpp.o
[ 17%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeEmscripten.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/InstSimplify.cpp.o
[ 17%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/CharacterProperties.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Auditor.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Wasm/WasmSimplify.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/SimpleCallGraphProvider.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/ResolveStaticRequire.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/FuncSigOpts.cpp.o
[ 19%] Linking CXX static library libgtest.a
[ 19%] Built target gtest
[ 19%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Utils.cpp.o
[ 19%] Linking CXX static library libhermesPlatformUnicode.a
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Inlining.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/HoistStartGenerator.cpp.o
[ 20%] Built target hermesPlatformUnicode
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/InstructionEscapeAnalysis.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/TDZDedup.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/IR/Analysis.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/IR/IREval.cpp.o
[ 21%] Linking CXX static library libhermesOptimizer.a
[ 21%] Built target hermesOptimizer
make: *** [all] Error 2
Building Release framework for iphonesimulator with architectures: x86_64;arm64
CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test DEPRECATED_COPY_FLAG
-- Performing Test DEPRECATED_COPY_FLAG - Success
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test RANGE_ANALYSIS_FLAG
-- Performing Test RANGE_ANALYSIS_FLAG - Success
-- Found Python: /opt/homebrew/Frameworks/Python.framework/Versions/3.12/bin/python3.12 (found version "3.12.3") found components: Interpreter
-- Performing Test HAVE_COMPUTED_GOTO
-- Performing Test HAVE_COMPUTED_GOTO - Success
-- Performing Test HAVE_GC_SECTIONS
-- Performing Test HAVE_GC_SECTIONS - Failed
-- Performing Test HAVE_ICF
-- Performing Test HAVE_ICF - Failed
-- Performing Test CXX_SUPPORTS_SHORTEN_64_TO_32
-- Performing Test CXX_SUPPORTS_SHORTEN_64_TO_32 - Success
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for link.h
-- Looking for link.h - not found
-- Looking for malloc.h
-- Looking for malloc.h - not found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - found
-- Looking for histedit.h
-- Looking for histedit.h - not found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Performing Test HAVE_CRASHREPORTER_INFO
-- Performing Test HAVE_CRASHREPORTER_INFO - Success
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk/usr/include
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - not found
-- Looking for lseek64
-- Looking for lseek64 - not found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - not found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Looking for sched_getaffinity
-- Looking for sched_getaffinity - not found
-- Looking for CPU_COUNT
-- Looking for CPU_COUNT - not found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_NO_PIE_FLAG
-- Performing Test SUPPORTS_NO_PIE_FLAG - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Found ld64 - /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- CMAKE_HOST_SYSTEM_NAME = Darwin
-- CMAKE_SYSTEM_NAME = Darwin
-- HERMES_APPLE_TARGET_PLATFORM = iphonesimulator
-- CMAKE_CROSSCOMPILING = TRUE
-- Configuring done (17.0s)
-- Generating done (0.4s)
CMake Warning:
  Manually-specified variables were not used by the project:

    HERMES_ENABLE_FUZZILLI
    HERMES_ENABLE_LIBFUZZER


-- Build files have been written to: /Users/kajitetsushi/react-native/sdks/hermes/build_iphonesimulator
[  0%] Building CXX object jsi/CMakeFiles/jsi.dir/jsi.cpp.o
[  1%] Building CXX object public/hermes/Public/CMakeFiles/hermesPublic.dir/rtti.cpp.o
[  1%] Building C object external/dtoa/CMakeFiles/dtoa.dir/g_fmt.c.o
[  1%] Building C object external/dtoa/CMakeFiles/dtoa.dir/dtoa.c.o
[  1%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/MicrosoftDemangleNodes.cpp.o
[  1%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/MicrosoftDemangle.cpp.o
[  1%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/ItaniumDemangle.cpp.o
[  1%] Building C object external/zip/CMakeFiles/zip.dir/src/zip.c.o
[  1%] Building C object external/llvh/utils/count/CMakeFiles/count.dir/count.c.o
[  1%] Building CXX object external/dtoa/CMakeFiles/dtoa.dir/locks.cpp.o
[  1%] Linking C executable ../../../../bin/count
ld: warning: -no_pie ignored for arm64*
ld: warning: -no_pie ignored for arm64
[  1%] Built target count
[  1%] Linking CXX static library libdtoa.a
[  1%] Built target dtoa
[  1%] Linking CXX static library libhermesPublic.a
[  1%] Built target hermesPublic
[  2%] Linking C static library libzip.a
[  2%] Built target zip
[  2%] Linking CXX static library libjsi.a
[  2%] Built target jsi
[  3%] Linking CXX static library libLLVHDemangle.a
[  3%] Built target LLVHDemangle
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/circular_raw_ostream.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/APInt.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Errno.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/APFloat.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Error.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/CommandLine.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Debug.cpp.o
[  4%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ConvertUTF.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ErrorHandling.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ConvertUTFWrapper.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/FileCheck.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/FoldingSet.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/GraphWriter.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Hashing.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/InitLLVM.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Host.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/LineIterator.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Locale.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ManagedStatic.cpp.o
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/MD5.cpp.o
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Memory.cpp.o
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/MemoryBuffer.cpp.o
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Mutex.cpp.o
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/NativeFormatting.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Path.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/PrettyStackTrace.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Process.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Program.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/raw_ostream.cpp.o
[  9%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/raw_os_ostream.cpp.o
[  9%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regcomp.c.o
[  9%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regerror.c.o
[  9%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regfree.c.o
[  9%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Regex.cpp.o
[ 10%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regexec.c.o
[ 10%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regstrlcpy.c.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SHA1.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Signals.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SmallVector.cpp.o
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SmallPtrSet.cpp.o
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SourceMgr.cpp.o
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Statistic.cpp.o
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringExtras.cpp.o
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringMap.cpp.o
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringRef.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringSaver.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/TargetParser.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Threading.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Timer.cpp.o
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Triple.cpp.o
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Twine.cpp.o
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Unicode.cpp.o
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Valgrind.cpp.o
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Watchdog.cpp.o
[ 13%] Linking CXX static library libLLVHSupport.a
[ 13%] Built target LLVHSupport
make[2]: *** No rule to make target `/Users/kajitetsushi/react-native/sdks/hermes/build_host_hermesc/bin/hermesc', needed by `lib/InternalBytecode/InternalBytecode.hbc'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 13%] Generating InternalBytecode.js
make[1]: *** [lib/InternalBytecode/CMakeFiles/hermesInternalBytecode.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 13%] Building CXX object external/llvh/utils/not/CMakeFiles/not.dir/not.cpp.o
[ 13%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeJava.cpp.o
[ 13%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/PassManager/Pipeline.cpp.o
[ 13%] Building CXX object external/llvh/utils/unittest/CMakeFiles/gtest.dir/googletest/src/gtest-all.cc.o
[ 14%] Building CXX object lib/FrontEndDefs/CMakeFiles/hermesFrontEndDefs.dir/Builtins.cpp.o
[ 14%] Building CXX object external/llvh/utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o
[ 15%] Building CXX object API/hermes/CMakeFiles/compileJS.dir/CompileJS.cpp.o
[ 15%] Building CXX object lib/Platform/Intl/CMakeFiles/hermesBCP47Parser.dir/BCP47Parser.cpp.o
[ 15%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/SimplifyCFG.cpp.o
[ 15%] Building CXX object lib/Platform/CMakeFiles/hermesPlatform.dir/Logging.cpp.o
[ 15%] Linking CXX static library libhermesFrontEndDefs.a
[ 15%] Built target hermesFrontEndDefs
[ 15%] Building CXX object external/llvh/utils/unittest/CMakeFiles/gtest.dir/googlemock/src/gmock-all.cc.o
[ 15%] Linking CXX static library libhermesPlatform.a
[ 15%] Built target hermesPlatform
[ 15%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeCF.cpp.o
[ 15%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeICU.cpp.o
[ 15%] Linking CXX executable ../../../../bin/not
ld: warning: -no_pie ignored for arm64*
ld: warning: -no_pie ignored for arm64
[ 15%] Built target not
[ 15%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/CSE.cpp.o
[ 15%] Linking CXX static library libhermesBCP47Parser.a
[ 15%] Built target hermesBCP47Parser
[ 15%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeLite.cpp.o
[ 15%] Linking CXX executable ../../../../bin/FileCheck
ld: warning: -no_pie ignored for arm64*
ld: warning: -no_pie ignored for arm64
[ 15%] Built target FileCheck
[ 15%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/CodeMotion.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/DCE.cpp.o
[ 17%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeEmscripten.cpp.o
[ 17%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/CharacterProperties.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Mem2Reg.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/TypeInference.cpp.o
[ 17%] Linking CXX static library libcompileJS.a
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/StackPromotion.cpp.o
[ 17%] Built target compileJS
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/InstSimplify.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Auditor.cpp.o
[ 17%] Linking CXX static library libhermesPlatformUnicode.a
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: libhermesPlatformUnicode.a(PlatformUnicodeJava.cpp.o) has no symbols
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: libhermesPlatformUnicode.a(PlatformUnicodeICU.cpp.o) has no symbols
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: libhermesPlatformUnicode.a(PlatformUnicodeLite.cpp.o) has no symbols
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: libhermesPlatformUnicode.a(PlatformUnicodeEmscripten.cpp.o) has no symbols
[ 17%] Built target hermesPlatformUnicode
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Wasm/WasmSimplify.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/SimpleCallGraphProvider.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/ResolveStaticRequire.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/FuncSigOpts.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Utils.cpp.o
[ 19%] Linking CXX static library libgtest.a
[ 19%] Built target gtest
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Inlining.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/HoistStartGenerator.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/InstructionEscapeAnalysis.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/TDZDedup.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/IR/Analysis.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/IR/IREval.cpp.o
[ 21%] Linking CXX static library libhermesOptimizer.a
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: libhermesOptimizer.a(WasmSimplify.cpp.o) has no symbols
[ 21%] Built target hermesOptimizer
make: *** [all] Error 2
Building Release framework for catalyst with architectures: x86_64;arm64
CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test DEPRECATED_COPY_FLAG
-- Performing Test DEPRECATED_COPY_FLAG - Success
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed
-- Performing Test RANGE_ANALYSIS_FLAG
-- Performing Test RANGE_ANALYSIS_FLAG - Success
-- Found Python: /opt/homebrew/Frameworks/Python.framework/Versions/3.12/bin/python3.12 (found version "3.12.3") found components: Interpreter
-- Performing Test HAVE_COMPUTED_GOTO
-- Performing Test HAVE_COMPUTED_GOTO - Success
-- Performing Test HAVE_GC_SECTIONS
-- Performing Test HAVE_GC_SECTIONS - Failed
-- Performing Test HAVE_ICF
-- Performing Test HAVE_ICF - Failed
-- Performing Test CXX_SUPPORTS_SHORTEN_64_TO_32
-- Performing Test CXX_SUPPORTS_SHORTEN_64_TO_32 - Success
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for link.h
-- Looking for link.h - not found
-- Looking for malloc.h
-- Looking for malloc.h - not found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - found
-- Looking for histedit.h
-- Looking for histedit.h - found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Performing Test HAVE_CRASHREPORTER_INFO
-- Performing Test HAVE_CRASHREPORTER_INFO - Success
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for xar_open in xar
-- Looking for xar_open in xar - found
-- Looking for arc4random
-- Looking for arc4random - found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - not found
-- Looking for lseek64
-- Looking for lseek64 - not found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - not found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Looking for sched_getaffinity
-- Looking for sched_getaffinity - not found
-- Looking for CPU_COUNT
-- Looking for CPU_COUNT - not found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_NO_PIE_FLAG
-- Performing Test SUPPORTS_NO_PIE_FLAG - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Found ld64 - /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- CMAKE_HOST_SYSTEM_NAME = Darwin
-- CMAKE_SYSTEM_NAME = Darwin
-- HERMES_APPLE_TARGET_PLATFORM = catalyst
-- CMAKE_CROSSCOMPILING = TRUE
-- Configuring done (19.0s)
-- Generating done (0.4s)
CMake Warning:
  Manually-specified variables were not used by the project:

    HERMES_ENABLE_FUZZILLI
    HERMES_ENABLE_LIBFUZZER


-- Build files have been written to: /Users/kajitetsushi/react-native/sdks/hermes/build_catalyst
[  0%] Building C object external/llvh/utils/count/CMakeFiles/count.dir/count.c.o
[  0%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/ItaniumDemangle.cpp.o
[  0%] Building CXX object public/hermes/Public/CMakeFiles/hermesPublic.dir/rtti.cpp.o
[  0%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/MicrosoftDemangleNodes.cpp.o
[  1%] Building C object external/dtoa/CMakeFiles/dtoa.dir/g_fmt.c.o
[  1%] Building C object external/dtoa/CMakeFiles/dtoa.dir/dtoa.c.o
[  1%] Building C object external/zip/CMakeFiles/zip.dir/src/zip.c.o
[  1%] Building CXX object external/llvh/lib/Demangle/CMakeFiles/LLVHDemangle.dir/MicrosoftDemangle.cpp.o
[  1%] Building CXX object external/dtoa/CMakeFiles/dtoa.dir/locks.cpp.o
[  1%] Building CXX object jsi/CMakeFiles/jsi.dir/jsi.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: clangoverriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]: 
warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  1%] Linking C executable ../../../../bin/count
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
ld: warning: -no_pie is deprecated when targeting new OS versions
ld: warning: -no_pie ignored for arm64*
ld: warning: -no_pie is deprecated when targeting new OS versions
ld: warning: -no_pie ignored for arm64
[  1%] Built target count
[  1%] Linking CXX static library libdtoa.a
[  1%] Built target dtoa
[  1%] Linking CXX static library libhermesPublic.a
[  1%] Built target hermesPublic
[  2%] Linking C static library libzip.a
[  2%] Built target zip
[  2%] Linking CXX static library libjsi.a
[  2%] Built target jsi
[  3%] Linking CXX static library libLLVHDemangle.a
[  3%] Built target LLVHDemangle
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/APInt.cpp.o
[  3%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Error.cpp.o
[  4%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Debug.cpp.o
[  4%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ErrorHandling.cpp.o
[  4%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/circular_raw_ostream.cpp.o
[  4%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Errno.cpp.o
[  4%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ConvertUTFWrapper.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ConvertUTF.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/CommandLine.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/APFloat.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: clangoverriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]: 
warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: clangwarning: : warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]

clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]

clang: warning: clang: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]warning: 
overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/FileCheck.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/FoldingSet.cpp.o
[  5%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/GraphWriter.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Host.cpp.o
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Hashing.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/InitLLVM.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/LineIterator.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Locale.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  6%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/ManagedStatic.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/MD5.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Memory.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/MemoryBuffer.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Mutex.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  7%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/NativeFormatting.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Path.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/PrettyStackTrace.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Program.cpp.o
[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Process.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clangclang: : warning: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]

[  8%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/raw_ostream.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  9%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/raw_os_ostream.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  9%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regcomp.c.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  9%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regerror.c.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  9%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regfree.c.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[  9%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Regex.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 10%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regexec.c.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 10%] Building C object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/regstrlcpy.c.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SHA1.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Signals.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SmallVector.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 10%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SmallPtrSet.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/SourceMgr.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Statistic.cpp.o
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringExtras.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringMap.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 11%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringRef.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/StringSaver.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/TargetParser.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Threading.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Timer.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 12%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Triple.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Twine.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Unicode.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Valgrind.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 13%] Building CXX object external/llvh/lib/Support/CMakeFiles/LLVHSupport.dir/Watchdog.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 13%] Linking CXX static library libLLVHSupport.a
[ 13%] Built target LLVHSupport
make[2]: *** No rule to make target `/Users/kajitetsushi/react-native/sdks/hermes/build_host_hermesc/bin/hermesc', needed by `lib/InternalBytecode/InternalBytecode.hbc'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 13%] Generating InternalBytecode.js
[ 13%] Building CXX object external/llvh/utils/unittest/CMakeFiles/gtest.dir/googletest/src/gtest-all.cc.o
[ 13%] Building CXX object lib/Platform/Intl/CMakeFiles/hermesBCP47Parser.dir/BCP47Parser.cpp.o
make[1]: *** [lib/InternalBytecode/CMakeFiles/hermesInternalBytecode.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 13%] Building CXX object external/llvh/utils/not/CMakeFiles/not.dir/not.cpp.o
[ 13%] Building CXX object external/llvh/utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o
[ 13%] Building CXX object lib/Platform/CMakeFiles/hermesPlatform.dir/Logging.cpp.o
[ 13%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/PassManager/Pipeline.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 14%] Building CXX object lib/FrontEndDefs/CMakeFiles/hermesFrontEndDefs.dir/Builtins.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 14%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeJava.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 15%] Building CXX object API/hermes/CMakeFiles/compileJS.dir/CompileJS.cpp.o
[ 15%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/SimplifyCFG.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]clang
: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clangclang: : warning: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]

clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 15%] Linking CXX static library libhermesFrontEndDefs.a
[ 15%] Built target hermesFrontEndDefs
[ 15%] Building CXX object external/llvh/utils/unittest/CMakeFiles/gtest.dir/googlemock/src/gmock-all.cc.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 15%] Linking CXX static library libhermesPlatform.a
[ 15%] Built target hermesPlatform
[ 15%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeCF.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 15%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeICU.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 15%] Linking CXX executable ../../../../bin/not
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
ld: warning: -no_pie is deprecated when targeting new OS versions
ld: warning: -no_pie ignored for arm64*
ld: warning: -no_pie is deprecated when targeting new OS versions
ld: warning: -no_pie ignored for arm64
[ 15%] Built target not
[ 15%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/CSE.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 15%] Linking CXX static library libhermesBCP47Parser.a
[ 15%] Built target hermesBCP47Parser
[ 15%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeLite.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 15%] Linking CXX executable ../../../../bin/FileCheck
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
ld: warning: -no_pie is deprecated when targeting new OS versions
ld: warning: -no_pie ignored for arm64*
ld: warning: -no_pie is deprecated when targeting new OS versions
ld: warning: -no_pie ignored for arm64
[ 15%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/CodeMotion.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 16%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/PlatformUnicodeEmscripten.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 16%] Building CXX object lib/Platform/Unicode/CMakeFiles/hermesPlatformUnicode.dir/CharacterProperties.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 16%] Built target FileCheck
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/DCE.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Mem2Reg.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/TypeInference.cpp.o
[ 17%] Linking CXX static library libcompileJS.a
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 17%] Built target compileJS
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/StackPromotion.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/InstSimplify.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 17%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Auditor.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 17%] Linking CXX static library libhermesPlatformUnicode.a
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: libhermesPlatformUnicode.a(PlatformUnicodeJava.cpp.o) has no symbols
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: libhermesPlatformUnicode.a(PlatformUnicodeICU.cpp.o) has no symbols
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: libhermesPlatformUnicode.a(PlatformUnicodeLite.cpp.o) has no symbols
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: libhermesPlatformUnicode.a(PlatformUnicodeEmscripten.cpp.o) has no symbols
[ 17%] Built target hermesPlatformUnicode
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Wasm/WasmSimplify.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/SimpleCallGraphProvider.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/ResolveStaticRequire.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 18%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/FuncSigOpts.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 19%] Linking CXX static library libgtest.a
[ 19%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Utils.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 19%] Built target gtest
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/Inlining.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/HoistStartGenerator.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/InstructionEscapeAnalysis.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/Optimizer/Scalar/TDZDedup.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 20%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/IR/Analysis.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 21%] Building CXX object lib/CMakeFiles/hermesOptimizer.dir/IR/IREval.cpp.o
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
clang: warning: overriding '-mmacosx-version-min=12.4' option with '-target x86_64-arm64-apple-ios14.0-macabi' [-Woverriding-t-option]
[ 21%] Linking CXX static library libhermesOptimizer.a
/Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: libhermesOptimizer.a(WasmSimplify.cpp.o) has no symbols
[ 21%] Built target hermesOptimizer
make: *** [all] Error 2
/Users/kajitetsushi/react-native/sdks/hermes/utils/build-apple-framework.sh: line 126: pushd: /Users/kajitetsushi/react-native/sdks/hermes/utils/../destroot/Library/Frameworks: No such file or directory

I noticed there are several make steps showing Error 2 a long the way as well. Could they be the root cause?


EDIT: I tried running the same command again. No dice.

Error 2s aside, it's very clear now the build scripts are looking for that Python modules pygments and yaml but couldn't find them. I've tried installing pygments via pip install Pygments to a venv directory somewhere else but the results are the same — the build script still wouldn't pick it up.

CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Found ld64 - /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- CMAKE_HOST_SYSTEM_NAME = Darwin
-- CMAKE_SYSTEM_NAME = Darwin
-- HERMES_APPLE_TARGET_PLATFORM = iphoneos
-- CMAKE_CROSSCOMPILING = TRUE
-- Configuring done (0.8s)
-- Generating done (0.5s)
-- Build files have been written to: /Users/kajitetsushi/react-native/sdks/hermes/build_iphoneos
[  0%] Built target count
[  1%] Built target zip
[  2%] Built target dtoa
[  2%] Built target hermesPublic
[  2%] Built target jsi
[  3%] Built target LLVHDemangle
[ 13%] Built target LLVHSupport
make[2]: *** No rule to make target `/Users/kajitetsushi/react-native/sdks/hermes/build_host_hermesc/bin/hermesc', needed by `lib/InternalBytecode/InternalBytecode.hbc'.  Stop.
make[1]: *** [lib/InternalBytecode/CMakeFiles/hermesInternalBytecode.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 14%] Built target hermesFrontEndDefs
[ 14%] Built target hermesPlatform
[ 14%] Built target not
[ 14%] Built target FileCheck
[ 14%] Built target hermesBCP47Parser
[ 15%] Built target compileJS
[ 16%] Built target gtest
[ 17%] Built target hermesPlatformUnicode
[ 21%] Built target hermesOptimizer
make: *** [all] Error 2
Building Release framework for iphonesimulator with architectures: x86_64;arm64
CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Found ld64 - /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- CMAKE_HOST_SYSTEM_NAME = Darwin
-- CMAKE_SYSTEM_NAME = Darwin
-- HERMES_APPLE_TARGET_PLATFORM = iphonesimulator
-- CMAKE_CROSSCOMPILING = TRUE
-- Configuring done (0.5s)
-- Generating done (0.7s)
-- Build files have been written to: /Users/kajitetsushi/react-native/sdks/hermes/build_iphonesimulator
[  0%] Built target count
[  1%] Built target zip
[  2%] Built target dtoa
[  2%] Built target hermesPublic
[  2%] Built target jsi
[  3%] Built target LLVHDemangle
[ 13%] Built target LLVHSupport
make[2]: *** No rule to make target `/Users/kajitetsushi/react-native/sdks/hermes/build_host_hermesc/bin/hermesc', needed by `lib/InternalBytecode/InternalBytecode.hbc'.  Stop.
make[1]: *** [lib/InternalBytecode/CMakeFiles/hermesInternalBytecode.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 14%] Built target hermesFrontEndDefs
[ 14%] Built target hermesPlatform
[ 14%] Built target hermesBCP47Parser
[ 14%] Built target FileCheck
[ 14%] Built target not
[ 15%] Built target compileJS
[ 16%] Built target gtest
[ 17%] Built target hermesPlatformUnicode
[ 21%] Built target hermesOptimizer
make: *** [all] Error 2
Building Release framework for catalyst with architectures: x86_64;arm64
CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Found ld64 - /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- CMAKE_HOST_SYSTEM_NAME = Darwin
-- CMAKE_SYSTEM_NAME = Darwin
-- HERMES_APPLE_TARGET_PLATFORM = catalyst
-- CMAKE_CROSSCOMPILING = TRUE
-- Configuring done (0.6s)
-- Generating done (0.6s)
-- Build files have been written to: /Users/kajitetsushi/react-native/sdks/hermes/build_catalyst
[  0%] Built target count
[  1%] Built target zip
[  2%] Built target dtoa
[  2%] Built target hermesPublic
[  2%] Built target jsi
[  3%] Built target LLVHDemangle
[ 13%] Built target LLVHSupport
make[2]: *** No rule to make target `/Users/kajitetsushi/react-native/sdks/hermes/build_host_hermesc/bin/hermesc', needed by `lib/InternalBytecode/InternalBytecode.hbc'.  Stop.
make[1]: *** [lib/InternalBytecode/CMakeFiles/hermesInternalBytecode.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 14%] Built target hermesFrontEndDefs
[ 14%] Built target hermesPlatform
[ 14%] Built target hermesBCP47Parser
[ 14%] Built target not
[ 14%] Built target FileCheck
[ 15%] Built target compileJS
[ 16%] Built target gtest
[ 17%] Built target hermesPlatformUnicode
[ 21%] Built target hermesOptimizer
make: *** [all] Error 2
/Users/kajitetsushi/react-native/sdks/hermes/utils/build-apple-framework.sh: line 126: pushd: /Users/kajitetsushi/react-native/sdks/hermes/utils/../destroot/Library/Frameworks: No such file or directory

@cipolleschi
Copy link
Contributor

Yeah, I'm seeing the same error.
The root cause is that the scripts fails to create the host_hermesc, which is the hermes compiler.

That library is needed to build hermes and to build the dsyms.
I really can't spend more time on this, as version 0.71 and 0.72 of React Native, and thus of Hermes, are out of support.

Can I ask what's blocking you from migrating to a supported version?

@KajiTetsushi
Copy link

KajiTetsushi commented Aug 25, 2024

@cipolleschi I'm working with a large monolithic mobile app project with dependencies that would have compatibility issues with React Native 0.73+ if we don't upgrade them together (i.e. React Native Reanimated 2.14, React Navigation 4).

My colleagues and I did start work on migration to keep up with the times. But a quarter prior, we were pulled into firefighting mode, so the migration was stalled.

I just so happened to stumble upon this issue because it seems to offer pointers to help us look more closely at the problems we are currently trying to fix. I was under the impression that the instructions would have helped move the needle closer.

Specifically, we're looking at a recent app launch performance issue, which was detected since earlier this year (we don't know what caused it, we're wild guessing here). One of the final places to look into for bottlenecks is in native code as the app launches. We found dSYMs for most of our 3rd-party SDKs — that helped us identify slow functions while profiling the app, but not for Hermes — without the dSYM for it, it's effectively a black box.

@cipolleschi
Copy link
Contributor

I understand. Unfortunately, I don't believe that, even if we find something slow in Hermes, we can actually do something about it in this specific case, especially for a version as old as 0.71.

If that's the last thing on your plates, than upgrading will likely mitigate your issues as the team has landed several perf improvements in Hermes in newer versions.

@greensoftstore
Copy link

When I upload the app to appstoreconnect, I faced this error.
The archive did not include a dSYM for the hermes.framework with the UUIDs [35FECC83-9599-34C1-813E-F020B2D0D382]. Ensure that the archive's dSYM folder includes a DWARF file for hermes.framework with the expected UUIDs.

Also when I run the app in debug mode, I encountered "App empty dSYM file detected, dSYM was created with an executable with no debug info."

I understand that these issues are related with hermes.framework. But I have no idea to fix this issue.
Can you guide me how to fix it?

@cipolleschi
Copy link
Contributor

@soft7store version 0.71 is deprecated. Please move to a newer version: we already solved these problem for all the versions starting from 0.72 as we build the dSYM there.

@greensoftstore
Copy link

Are you talking about react native version?

@greensoftstore
Copy link

I used react-native 0.73.6

@greensoftstore
Copy link

Untitled

@greensoftstore
Copy link

3

@cipolleschi
Copy link
Contributor

You can download the dSYMs from here: https://github.com/facebook/react-native/releases/tag/v0.73.6

@greensoftstore
Copy link

Can you explain a bit why I need to download this file and use? I can install npm with version on terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants