Open jasongaare opened 3 years ago
got same issue while upgrading from 0.68.0 to 0.73.1 this is my pod file `# Resolve react_native_pods.rb with node to allow 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!
react-native-flipper
your iOS build will fail when NO_FLIPPER=1
is set.react-native-flipper
depends on (FlipperKit,...) that will be excluded#
react-native-flipper
using a react-native.config.js
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
linkage = ENV['USE_FRAMEWORKS'] if linkage != nil Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green use_frameworks! :linkage => linkage.to_sym end
target 'myapp' do config = use_native_modules!
use_react_native!( :path => config[:reactNativePath],
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
:flipper_configuration => flipper_config,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
target 'myappTests' do inherit! :complete
end
post_install do |installer|
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
end end`
please help
Same question. anyone help?
++
++
Environment
System: OS: macOS 11.1 CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz Memory: 6.30 GB / 32.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 12.22.0 - ~/.nvm/versions/node/v12.22.0/bin/node Yarn: 1.22.5 - /usr/local/bin/yarn npm: 6.14.11 - ~/.nvm/versions/node/v12.22.0/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: Not Found SDKs: iOS SDK: Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4 Android SDK: API Levels: 23, 25, 27, 28, 29 Build Tools: 28.0.3, 29.0.2 System Images: android-28 | Google Play Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 4.0 AI-193.6911.18.40.6514223 Xcode: 12.5/12E262 - /usr/bin/xcodebuild Languages: Java: 1.8.0_222 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.1 => 17.0.1 react-native: 0.64.1 => 0.64.1 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Things I’ve done to figure out my issue
Upgrading version
to: 0.64.1 from: 0.62.2
Description
I'm loving the much cleaner Podfile with the helpers for all the standard RN deps. However, I cannot get my pod install to complete with the post installer. This is the error I get:
Podfile
Here is the entire of my Podfile
I am not certain this is a RN-specific error, but I cannot get past this while upgrading, and haven't found much support else where online