unreal engine cant recongize xcode when i use c++ am i doing something wrong?

at what unreal engine version and xcode version can i stably use it with ios 10.15.7 and it can recongize i have excode installed. on 4.25.4 it recongized it for installation but didnt when i needed to use xcode and for the 4.26-27 it just didnt recongize it at all