question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RN 0.70 puts 1.5G+ hermes binaries into ios/Pods

See original GitHub issue

Description

After upgrading to 0.70 I’ve noticed that ios/Pods now includes huge hermes binaries in ios/Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework One is ~1GB, another is ~500MB. We store ios/Pods in VCS, so can’t afford to push huge binaries like these. Is this approach going to stay?

image

Version

0.70

Output of npx react-native info

System: OS: macOS 12.4 CPU: (12) x64 Intel® Core™ i7-9750H CPU @ 2.60GHz Memory: 185.20 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 16.15.1 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.11.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /Users/denyskniazhev/.rvm/gems/ruby-2.6.5/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: API Levels: 28, 30, 31 Build Tools: 28.0.2, 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0, 33.0.0 System Images: android-30 | Google Play Intel x86 Atom, android-31 | Google APIs Intel x86 Atom_64 Android NDK: Not Found IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8815526 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 11.0.8 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.0 => 0.70.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

Upgrade to 0.70 cd ios/ run pod install check files in ios/Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework

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

see Steps to reproduce

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
denisk20commented, Sep 9, 2022

@iBotPeaches No, node_modules can be platform- or environment-dependent, while Pods contain source files which are always the same, thus it’s eligible for storing in VCS. In fact, this is what cocoapods docs recommend. I highly doubt that your node_modules is that big because of 1GB+ binaries inside.

0reactions
cortinicocommented, Nov 25, 2022

Any update?

There are no updates to be given here. That’s behaving as expected. We can update the docs if needed to make it clear for users that this is the intended behavior

Read more comments on GitHub >

github_iconTop Results From Across the Web

high filling factor: Topics by Science.gov
In the present study, the emphasis is put on the influence of the volume filling factor of metallic clusters on poling-assisted bleaching.
Read more >
high density plastic: Topics by WorldWideScience.org
Athermal steady-state plastic flows were simulated for the Kob-Andersen binary Lennard-Jones system and its repulsive version in which the sign of the ...
Read more >
Pelagic biogeography ICoPB II: proceedings of the 2nd ...
Zooplankton variability and copepod assemblage in the coastal and estuarine waters of Goa ... We now put three questions afore: 1) Was there...
Read more >
Green Technologies and Environmental Sustainability by Ritu ...
dos Santos V, Claro EMT, Montagnolli RN et al (2013) Constructed wetland system as ... These reclaimed parcels of land can again be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found