Fix crash when using Xcode commit