In my case, its because my objectVersion = 70 then i change it into 56 and its works to pod init and pod install.
You can find this objectVersion:
- Open finder, and open your project folder
- Find yourProject.xcodeproj
- Tap with 2 fingers/open the action windows
- Klik on Show Package Contents
- Open file project.pbxproj
- Change objectVersion into 56
- Save it, then open the terminal and you can try to pod init again