fix crash on iOS 6
add podspec