Fix issues in iOS6 and non-arc. Added cocoapodspecs