fix podspec
fix some warnings and podspec