r/Xcode • • Sep 10 '26

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

9 comments sorted by

View all comments

Show parent comment

1

u/cdnrt Sep 10 '26

It’s not an Xcode bug. The pbx tree is an odd thing to get used to. One option is to find the file in finder and redrag into the folder in Xcode. Or you could go to the build phases and see id the file is part of the compiled sources list.