It seems that when Xcode is updated, the short-cut function defined by ourself will be overwritten by the default short cut function defined by the new version of Xcode. In short, the short-cuts function defined by ourself will disappear, and we need to do it once again.
1.I added back the following code into /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist
to define the short-cuts function again.
<key>Customerized</key>
<dict>
<key>Insert new line in middle</key>
<string>moveToEndOfLine:, insertNewline:</string>
<key>Duplicate Current Line</key>
<string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string>
<key>Delete Current Line</key>
<string>deleteToBeginningOfLine:, moveToEndOfLine:, deleteToBeginningOfLine:, deleteBackward:, moveDown:, moveToBeginningOfLine:</string>
</dict>
2.Go to the key binding settings in Xcode, and type the new short-cut key for them.