Add 3.1 spec for CatalogFoundation, fix CocoaPods issue.