It worked fine when I have downloaded Beta from the Apple developers. Since it was working fine, i downloaded the actual Xcode 12.0.1 from the App store. Then I am seeing this issue. I have to revert back to the Apple developers and download from there and see what happens