New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid RNFBAnalytics.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json.
#4101
Comments
The installation instructions indicate the app module is required, it will work if you install it |
You should to add @react-native-firebase/app, so run
|
Unrelated to this project, but: This error also occurs when organizing a react-native project with yarn workspaces. To fix it add the react_native_post_install(
installer,
react_native_path = "../../../node_modules/react-native",
# Set `mac_catalyst_enabled` to `true` in order to apply patches
# necessary for Mac Catalyst builds
:mac_catalyst_enabled => false
) Im commenting this here because this thread is ranked high on google, best case it saves somebody time in the future 😄 |
This helped me! Thanks for sharing it @lauhon |
Future saved. Mission successful! |
I was facing this issue, and the problem was related to react_native_path! |
Running following command:
user@192-168-1-109 ios % pod install --repo-update
getting this:
[!] Invalid
Podfile
file:[!] Invalid
RNFBAnalytics.podspec
file: No such file or directory @ rb_sysopen - ../app/package.json.from ShelemCounter/node_modules/@react-native-firebase/analytics/RNFBAnalytics.podspec:3
package = JSON.parse(File.read(File.join(dir, 'package.json')))
Running:
"@react-native-firebase/analytics": "^7.4.2",
"react": "16.13.1",
"react-native": "0.63.2",
The text was updated successfully, but these errors were encountered: