Clone Xcode function for AppCode