'Pod issue -: Nanaimo::Reader::ParseError - [!] Array missing ',' in between objects

I'm getting issue during install pod in react-native project

Nanaimo::Reader::ParseError - [!] Array missing ',' in between objects please help me if anyone have idea about that.

enter image description here



Solution 1:[1]

The error is basically telling that you have a syntax mistake in the file. In my case while using "React Native Upgrade Guide" I was pasting the changed line and forgot to add a comma. Make sure you have no trailing commas and you are closing the lines with semicolons!

P.S. The line of code which was pointed at in the terminal wasn't the exact line where the mistake was made in my case but the comma was missing 3-4 lines before so be careful, it might be misleading...

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Viktor