Add .podspec file
Fixes to podspec and one compiler problem for xcodebuild