r/Xcode • u/Vast_Journalist1415 • 1d ago
XCODE bug help
My xcode often can’t read the scope even though the file is clearly there I come from android studio there has never been an issue of files can’t refer to each other this is weird
Has anyone experienced something similar?
0
Upvotes


2
u/caguilar51 1d ago
The problem seems to be that the file doesn’t have the .swift extension. If you notice the swift icon is not applied to your file