Detect Xcode version from AppCode

https://github.com/DyCI/dyci-main/pull/63

This one is original one :+1: