Finally fixed this by changing name of my Xcode app from Xcode(12.3) to Xcode\_12\_3 so it seems that the problem was in characters that needs to be escaped. So if anyone has brackets or quotas in their path to Xcode, check this.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: