Greetings people,
Maybe somebody encountered similar error.
Had same issue on main project but was able to replicate it on completely new project...
How I ended up here, was updating React-Native version for my project and once all dependencies were with latest versions this is what I've encountered after trying to run pod install in ~/ios folder. Similar error is encountered with Facebook sdk dependency. Im suspecting maybe it is my Mac's setup 🤔 even though I tried to wipe out my Mac and install all new.
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
What happened?
Greetings people, Maybe somebody encountered similar error.
Had same issue on main project but was able to replicate it on completely new project... How I ended up here, was updating React-Native version for my project and once all dependencies were with latest versions this is what I've encountered after trying to run pod install in ~/ios folder. Similar error is encountered with Facebook sdk dependency. Im suspecting maybe it is my Mac's setup 🤔 even though I tried to wipe out my Mac and install all new.
Here is the error: `### Error
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=Failed+to+parse+JSON+at+file%3A+%27%2FUsers%2Frokasgegzna%2F.cocoapods%2Frepos%2Ftrunk%2FSpecs%2Fd%2F7%2Fe%2FHMSegmentedControl%2F1.5.6%2FHMSegmentedControl.podspec.json%27.%0A%0Aunexpected+token+at+%27%27&type=Issues
If none exists, create a ticket, with the template displayed above, on: https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
Podspec validation failed due to a segmentation fault 😞 https://github.com/CocoaPods/CocoaPods/issues/6413 [closed] [4 comments] 17 Jan 2017
Removing a pod causes linker error in project. https://github.com/CocoaPods/CocoaPods/issues/6429 [closed] [0 comments] 23 Jan 2017
pod lib create doesn't pass the lint for ObjC only pod https://github.com/CocoaPods/CocoaPods/issues/6428 [closed] [11 comments] 12 Oct 2017
and 11950 more at: https://github.com/cocoapods/cocoapods/search?q=Failed%20to%20parse%20JSON%20at%20file%3A%20%27%2FUsers%2Frokasgegzna%2F.cocoapods%2Frepos%2Ftrunk%2FSpecs%2Fd%2F7%2Fe%2FHMSegmentedControl%2F1.5.6%2FHMSegmentedControl.podspec.json%27.%0A%0Aunexpected%20token%20at%20%27%27&type=Issues&utf8=✓ `
What was the expected behaviour?
pod install to go smoothly on new project
Was it tested on latest react-native-navigation?
Help us reproduce this issue!
No response
In what environment did this happen?
React Native Navigation version: ^7.37.1 React Native version: 0.72.6 Has Fabric (React Native's new rendering system) enabled: (yes/no) no? Node version: v21.1.0 Device model: iPhone 14 Pro iOS version: 17 ruby -v: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin23] pod --version: 1.14.2 macOS: 14.0 Intel Xcode: Version 15.0.1 (15A507)