Xcode Not Immediately Recognizing New Classes (iOS)

前端 未结 5 1033
陌清茗
陌清茗 2021-02-12 19:23

I\'ve been working with Xcode for about 5 months now and I just recently ran across a problem when I add a new class. If I add a new class, say for example \"CustomCell\" and I

5条回答
  •  情深已故
    2021-02-12 19:33

    Close all your projects, open the organizer (from the window menu), make sure the correct project is selected, then opposite 'derived data' click delete.

    After that, close xcode, re-open it, open your project, clean it, and everything should work okay.

提交回复
热议问题