@bugsnag/react-native - v7.17.1 error when running pod install (iOS)
See original GitHub issueDescribe the bug
Installing CocoaPods on a React Native project fails when using package version 7.17.1
It seems the release is missing files in directory packages/react-native/ios/vendor/bugsnag-cocoa
.
Steps to reproduce
- Go to a standard React Native project.
yarn add @bugsnag/react-native@7.17.1
cd ios && pod install
Environment
- Bugsnag version: 7.17.1
Workaround
- Downgrade to previous version
- With yarn
yarn add @bugsnag/react-native@7.17.0
- Or update package.json to use
"7.17.0"
and reinstall modules
- With yarn
Error messages:
[!] Invalid `Podfile` file:
[!] Invalid `BugsnagReactNative.podspec` file: No such file or directory @ rb_sysopen - /Users/xxx/Projects/xxx/node_modules/@bugsnag/react-native/ios/vendor/bugsnag-cocoa/Bugsnag.podspec.json.
# from /Users/xxx/Projects/xxx/node_modules/@bugsnag/react-native/BugsnagReactNative.podspec:3
# -------------------------------------------
# package = JSON.parse(File.read(File.join(__dir__, "package.json")))
> bugsnag_cocoa_podspec = JSON.parse(File.read(File.join(__dir__, "ios", "vendor", "bugsnag-cocoa", "Bugsnag.podspec.json")))
# bugsnag_cocoa_public_header_files = bugsnag_cocoa_podspec["public_header_files"]
# -------------------------------------------
.
# from /Users/xxx/Projects/xxx/ios/Podfile:20
# -------------------------------------------
# end
> config = use_native_modules!
# use_react_native!(:path => config["reactNativePath"])
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Error running pod install: How to solve this problem?
run this code on the terminal sudo arch -x86_64 gem install ffi. Next, go to the ios folder in your project, and open...
Read more >How to fix Flutter stuck at “running pod install…” when running ...
Open the terminal, go to ios folder directory and run Pod install . ... How to fix Flutter + Xcode error database is...
Read more >Installation | React Native Navigation - Open Source
After the the automatic scripts completed successfully, run pod install: ... .h and .m files in Xcode as the IDE will usually point...
Read more >pod install hangs indefinitely with no errors - Google Groups
I installed cocoapods, but having issues using it in the project. I also explained the issue on stack overflow, but haven't gotten any ......
Read more >Issues with Pod Install related to EXCLUDED_ARCHS
When I run pod install I get the following error: [!] Can't merge user_target_xcconfig for pod targets: ["Intercom", "NewRelicAgent"].
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @stawecki - thanks for reporting this, we’re investigating and will keep you updated on this thread.
FWIW 7.17.0 doesn’t have any issue