I face this subject and I would not have any clue about what’s trigger the issue.
It is a few React Native App, I did not set up something from days or change code. It is occur from the second I replace my macOS Ventura to Sonoma.
[VisionCamera] node modules discovered at /Customers/[USER]/[PROJECT]/node_modules/react-native/..
[VisionCamera] react-native-worklets-core not discovered, Body Processors disabled!
Auto-linking React Native modules for goal `ReactNativeMobile`: BVLinearGradient, RNCAsyncStorage, RNCClipboard, RNLocalize, RNReanimated, RNSVG, RNScreens, RNSha256, VisionCamera, react-native-config, react-native-get-random-values, react-native-passkey, react-native-quick-crypto, react-native-safe-area-context, react-native-splash-screen, and react-native-webview
Framework construct kind is static library
[Codegen] Producing ./construct/generated/ios/React-Codegen.podspec.json
[Codegen] producing an empty RCTThirdPartyFabricComponentsProvider
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Discovered FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
[Codegen] Discovered rncore
[VisionCamera] node modules discovered at /Customers/[USER]/[PROJECT]/node_modules/react-native/..
[VisionCamera] react-native-worklets-core not discovered, Body Processors disabled!
Fetching podspec for `increase` from `../node_modules/react-native/third-party-podspecs/increase.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Utilizing launch tarball from URL: https://repo1.maven.org/maven2/com/fb/react/react-native-artifacts/0.73.1/react-native-artifacts-0.73.1-hermes-ios-debug.tar.gz
Downloading dependencies
Putting in BVLinearGradient (2.8.3)
Putting in CocoaAsyncSocket (7.6.5)
Putting in DoubleConversion (1.1.6)
Putting in FBLazyVector (0.73.1)
Putting in FBReactNativeSpec (0.73.1)
Putting in Flipper (0.201.0)
Putting in Flipper-Enhance-iOSX (1.76.0.1.11)
Putting in Flipper-DoubleConversion (3.2.0.1)
Putting in Flipper-Fmt (7.1.7)
Putting in Flipper-Folly (2.6.10)
Putting in Flipper-Glog (0.5.0.5)
Putting in Flipper-PeerTalk (0.0.4)
Putting in FlipperKit (0.201.0)
Putting in OpenSSL-Common (1.1.1100)
Putting in RCT-Folly (2022.05.16.00)
Putting in RCTRequired (0.73.1)
Putting in RCTTypeSafety (0.73.1)
Putting in RNCAsyncStorage (1.21.0)
Putting in RNCClipboard (1.13.2)
// HERE WAS MORE
Putting in React-runtimeexecutor (0.73.1)
Putting in React-runtimescheduler (0.73.1)
Putting in React-utils (0.73.1)
Putting in ReactCommon (0.73.1)
Putting in SocketRocket (0.6.1)
Putting in VisionCamera (3.8.2)
Putting in Yoga (1.14.0)
Putting in increase (1.83.0)
Putting in fmt (6.2.1)
Putting in glog (0.3.5)
Putting in hermes-engine (0.73.1)
[!] Error putting in hermes-engine
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
### Command
```
/usr/native/bin/pod set up
```
### Report
* What did you do?
* What did you count on to occur?
* What occurred as a substitute?
### Stack
```
CocoaPods : 1.15.0
Ruby : ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23]
RubyGems : 3.0.3.1
Host : macOS 14.3 (******)
Xcode : 15.2 (******)
Git : git model 2.39.3 (Apple Git-145)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/
```
### Plugins
```
cocoapods-deintegrate : 1.0.5
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.1
cocoapods-trunk : 1.6.0
cocoapods-try : 1.2.0
```
### Podfile
```ruby
# Resolve react_native_pods.rb with node to permit for hoisting
require Pod::Executable.execute_command('node', ['-p',
'require.resolve(
"react-native/scripts/react_native_pods.rb",
{paths: [process.argv[1]]},
)', __dir__]).strip
platform :ios, min_ios_version_supported
prepare_react_native_project!
# In case you are utilizing a `react-native-flipper` your iOS construct will fail when `NO_FLIPPER=1` is ready.
# as a result of `react-native-flipper` depends upon (FlipperKit,...) that will probably be excluded
#
# To repair this you may also exclude `react-native-flipper` utilizing a `react-native.config.js`
# ```js
# module.exports = {
# dependencies: {
# ...(course of.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.enabled : FlipperConfiguration.enabled
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.places "Configuring Pod with #{linkage}ally linked Frameworks".inexperienced
use_frameworks! :linkage => linkage.to_sym
finish
goal 'ReactNativeMobile' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# Permits Flipper.
#
# Observe that when you have use_frameworks! enabled, Flipper is not going to work and
# it's best to disable the following line.
:flipper_configuration => flipper_config,
# An absolute path to your software root.
:app_path => "#{Pod::Config.occasion.installation_root}/.."
)
goal 'ReactNativeMobileTests' do
inherit! :full
# Pods for testing
finish
post_install do |installer|
# https://github.com/fb/react-native/blob/predominant/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
finish
finish
```
### Error
```
Errno::EEXIST - File exists @ syserr_fail2_in - /Customers/[USER]/Library/Caches/CocoaPods/Pods/Exterior/hermes-engine/0e37d787f1d5a7b711e72349208731c3-34df9/destroot/Library/Frameworks/common/hermes.xcframework/ios-arm64_x86_64-maccatalyst/hermes.framework/Assets
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1365:in `symlink'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1365:in `copy'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:478:in `block in copy_entry'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1485:in `wrap_traverse'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1488:in `block in wrap_traverse'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1487:in `every'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1487:in `wrap_traverse'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:475:in `copy_entry'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:453:in `block in cp_r'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1558:in `block in fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1567:in `block in fu_each_src_dest0'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1565:in `every'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1565:in `fu_each_src_dest0'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1556:in `fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Variations/2.6/usr/lib/ruby/2.6.0/fileutils.rb:452:in `cp_r'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:343:in `block (2 ranges) in copy_files'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:341:in `every'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:341:in `block in copy_files'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:128:in `lock'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:99:in `write_lock'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:332:in `copy_files'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:269:in `block (2 ranges) in uncached_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:265:in `every'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:265:in `block in uncached_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:291:in `in_tmpdir'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:238:in `uncached_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader/cache.rb:33:in `download_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/downloader.rb:42:in `obtain'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer/pod_source_downloader.rb:69:in `obtain!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer/pod_source_installer.rb:117:in `download_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer/pod_source_installer.rb:67:in `set up!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:621:in `install_source_of_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:539:in `block (2 ranges) in install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/user_interface.rb:86:in `titled_section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:538:in `block in install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:535:in `every'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:535:in `install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:258:in `block in download_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/user_interface.rb:64:in `part'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:257:in `download_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/installer.rb:163:in `set up!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/command/set up.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.0/bin/pod:55:in `<prime (required)>'
/usr/native/bin/pod:23:in `load'
/usr/native/bin/pod:23:in `<predominant>'
```
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Seek for present GitHub points much like yours:
https://github.com/CocoaPods/CocoaPods/search?q=File+exists+%40+syserr_fail2_in+-+%2FUserspercent2F[USER]%2FLibrarypercent2FCachespercent2FCocoaPodspercent2FPodspercent2FExternalpercent2Fhermes-enginepercent2F0e37d787f1d5a7b711e72349208731c3-34df9percent2Fdestrootpercent2FLibrarypercent2FFrameworkspercent2Funiversalpercent2Fhermes.xcframeworkpercent2Fios-arm64_x86_64-maccatalystpercent2Fhermes.frameworkpercent2FResources&kind=Points
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/points/new
Remember to first learn the contributing information for particulars on the best way to correctly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/grasp/CONTRIBUTING.md
Do not forget to anonymize any non-public information!
In search of associated points on cocoapods/cocoapods...
Discovered no comparable points. To create a brand new subject, please go to:
https://github.com/cocoapods/cocoapods/points/new
I attempted clear the cache of Node, delete the node_module and package-lock then reinstall the whole lot.
I attempted the identical with Cocoapods.
I appeared on Google.
Nothing assist me to discovered a approach.
And now StackOverflow continu to ask me so as to add some particulars as a result of I’ve to a lot code on my textual content… Because of make me life dangerous. So I delete some bundle from the listing, sorry.
Thanks on your assist.