Fix capturing uninitialized promise var error.
Make target iOS 7.0.