I upgraded to latest version of react native (0.74.2) and after that, i am getting this error after running pod install
[!] An error occurred while processing the post-install hook of the Podfile.undefined method `path' for nil:NilClass
Here is my post_install script
post_install do |installer| react_native_post_install( installer, config[:reactNativePath], :mac_catalyst_enabled => false, # :ccache_enabled => true ) end
To me everything seems fine. Also, my project used to work even after this error, but from last some days (not sure how this happened) build fails with the error, RCTAppDelegate.h not found
and i checked the path where it is supposed to be (i.e, Pods/headers/React-Core) and the whole React-core directory is missing, which clearly shows pod install command is having issues.
Also, pod install is not generating Podfile.lock
.