Fix deprecated warnings for Yosemite
Add podspec