Hi everybody.
Could you guys help me understand?
The problem: Some error pops up, ("Cannot find 'SideMenuOptionView' in scope"), however, both my Canvas and Simulator display the view as I expected. Simulator can run the scketch as well.
https://github.com/Denis411/For-Community..git
I run Xcode on a 13-inch MacBook Pro 2020. The laptop is connected to an external display. I've tried to restart my Mac.
I'd really appreciate your help.
jonnguyen
(Jon Nguyen)
2
I just downloaded your project and it is working fine. I am able to build it successfully. No errors.
I assume there might be some problems with your file in Finder or the build Folder.
I think you can do this:
- Right click on the SideMenuOptionView file, and Show In Finder. Make sure the file is located inside the folder Side Menu.
or
- In XCode clean the build folder and derived data folder. You can google how to do these in xcode.
or
- Just delete the project on your drive and download the github repo like me to see if it solves the file organization problem.
Good luck!
2 Likes
It worked out. Thanks. I probably relocated my files while developing.