![]() LoadError - dlopen(/Users/shaonahmed/dev/astrazeneca-test/AwesomeProject/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried: '/Users/shaonahmed/dev/astrazeneca-test/AwesomeProject/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/ffi_c.bundle' (no such file), '/usr/lib/ffi_c.bundle' (no such file) - /Users/shaonahmed/dev/astrazeneca-test/AwesomeProject/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi_c.bundle React_native_post_install ( installer, # Set `mac_catalyst_enabled` to `true` in order to apply patches # necessary for Mac Catalyst builds :mac_catalyst_enabled => false ) _apply_Xcode_12_5_M1_post_install_workaround ( installer ) end end Error :app_path => " #/." ) target 'AwesomeProjectTests' do inherit! :complete # Pods for testing end post_install do | installer| enabled, # An absolute path to your application root. :flipper_configuration => FlipperConfiguration. # Note that if you have use_frameworks! enabled, Flipper will not work and # you should disable the next line. :hermes_enabled => true, :fabric_enabled => flags, # Enables Flipper. # Upcoming versions of React Native may rely on get_default_flags(), but # we make it explicit here to aid in the React Native upgrade process. flags = get_default_flags ( ) use_react_native! ( :path => config, # Hermes is now enabled by default. Require_relative './node_modules/react-native/scripts/react_native_pods' require_relative platform :ios, '12.4' install! 'cocoapods', :deterministic_uuids => false target 'AwesomeProject' do config = use_native_modules! # Flags change depending on the env values. node_modules/react-native/sdks/hermes/hermes-engine.podspec ![]() node_modules/react-native/third-party-podspecs/glog.podspecįetching podspec for hermes-engine from. node_modules/react-native/third-party-podspecs/boost.podspecįetching podspec for glog from. ![]() node_modules/react-native/third-party-podspecs/RCT-Folly.podspecįetching podspec for boost from. node_modules/react-native/third-party-podspecs/DoubleConversion.podspecįetching podspec for RCT-Folly from. gitįetching podspec for DoubleConversion from. build/generated/ios/įatal: not a git repository (or any of the parent directories). If you would like to select a different one, you can configure it via "". Warn Multiple Podfiles were found: ios/Podfile,vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/Podfile. Please go to and follow the React Native CLI QuickStart guide for macOS and iOS.` ✖ Installing CocoaPods dependencies (this may take a few minutes)Įrror Error: Looks like your iOS environment is not properly set. You can learn more about it here: Searching for inspections failed: undefined method map' for nil:NilClass When trying to install pods when creating a new RN project, i get the following:Įrror warn Multiple Podfiles were found: ios/Podfile,vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/Podfile. After changing Ruby version using rbenv or rvm it get the following error when trying to install pods to the project. When getting to the "installing dependencies" step, it fails telling me Your Ruby version is 2.6.3, but your Gemfile specified 2.7.5. When trying to initialize a new React Native project using npx react-native init AwesomeProject
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |