Fix all warnings reported by xcode
And update the podspec