When I run brew doctor It says
Warning: Your Xcode (6.4) is outdated Please update to Xcode 7.3.1. Xcode can be updated from the App Store.
While I already have latest XCode cli, which I found out by running
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables which says:
package-id: com.apple.pkg.CLTools_Executables version: 18.104.22.168.1.1461711523 volume: / location: / install-time: 1466534515 groups: com.apple.FindSystemFiles.pkg-group com.apple.DevToolsBoth.pkg-group com.apple.DevToolsNonRelocatableShared.pkg-group
How to I fix it ?