Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Integration React Native in existing iOS project - CocoaPods error ENOENT - No such file or directory @ rb_sysopen

$
0
0

I try to follow this guide to add React Native in existing iOS project

I'm following the example with the 2024 game project but I got many errors and now I can't go forward from this one.

Analyzing dependencies

Fetching podspec for `DoubleConversion` from `./NumberTileGame/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`

Command

/usr/local/Cellar/cocoapods/1.9.1/libexec/bin/pod install

Stack

   CocoaPods : 1.9.1
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
    RubyGems : 3.0.3
        Host : Mac OS X 10.15.3 (19D76)
       Xcode : 11.3.1 (11C504)
         Git : git version 2.21.1 (Apple Git-122.3)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ 1c12956fe6982cfb446fb26b6cd5f272986833aa

               trunk - CDN - https://cdn.cocoapods.org/

Plugins

cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.1.0
cocoapods-trunk       : 1.4.1
cocoapods-try         : 1.1.0

Podfile

# The target name is most likely the name of your project.
target 'NumberTileGame' do

  # Your 'node_modules' directory is probably in the root of your project,
  # but if not, adjust the `:path` accordingly
  pod 'React', :path => '../NumberTileGame/node_modules/react-native/'
  pod 'React-Core', :path => '../NumberTileGame/node_modules/react-native'
  pod 'React-DevSupport', :path => '../NumberTileGame/node_modules/react-native/React'
  pod 'React-fishhook', :path => '../NumberTileGame/node_modules/react-native/Libraries/fishhook'
  pod 'React-RCTActionSheet', :path => '../NumberTileGame/node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => '../NumberTileGame/node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => '../NumberTileGame/node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => '../NumberTileGame/node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => '../NumberTileGame/node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => '../NumberTileGame/node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => '../NumberTileGame/node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => '../NumberTileGame/node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => '../NumberTileGame/node_modules/react-native/Libraries/Vibration'
  pod 'React-RCTWebSocket', :path => '../NumberTileGame/node_modules/react-native/Libraries/WebSocket'

  pod 'React-cxxreact', :path => '../NumberTileGame/node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => '../NumberTileGame/node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => '../NumberTileGame/node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => '../NumberTileGame/node_modules/react-native/ReactCommon/jsinspector'
  pod 'yoga', :path => '../NumberTileGame/node_modules/react-native/ReactCommon/yoga'

  pod 'DoubleConversion', :podspec => './NumberTileGame/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => './NumberTileGame/node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => './NumberTileGame/node_modules/react-native/third-party-podspecs/Folly.podspec'
end

Error

Errno::ENOENT - No such file or directory @ rb_sysopen - /Users/martinobonfiglioli/React/iOS-2048-master/NumberTileGame/NumberTileGame/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec

I don't get the problem, does anyone have any solution?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>