Add i386 to valid archs to allow building for simulator using xcodebuild.

This might have been just a user error but I couldn't make it work without this. It's weird since building from inside Xcode works just fine without these.
Add CocoaPods pod spec
Disable "treat warnings as errors"; new xcode version is quite strict