Since version 0.17 CocoaPods support the YAML format for specifications. The YAML format is similar to the Ruby DSL with some minor adaptations.
To convert the Master repo we need your help to ensure that the transition is smooth. Please follow the below presented steps to help us identify any issue.
To test the changes you need to use the experimental yaml_podspecs
branch.
$ cd ~/.cocoapods/master
$ git checkout origin/yaml_podspecs -b yaml_podspecs
Now that you are using the experimental branch you can test with a project integrated with CocoaPods that an installation succeeds. Please test also that the project builds as there should be no changes introduced by the experimental brach.
$ cd project_path
$ pod install
Finally, don't forget to checkout the master branch in the master repo otherwise you will miss any update.
$ cd ~/.cocoapods/master
$ git checkout master
$ rm -rf ~/.cocoapods/master/Specs
Incase people are interested why we're moving to a YAML based spec version, at its simplest we want to make it so that cocoapods does not run code downloaded from the specs repo on your computer. Instead it will work with a serialised format that requires no
eval
ing.