Xcode 'CCTexture2D.h file not found'

XCode is being poop. I build clean, closed out and reopened, yet when I try…

#include “CCTexture2D.h”
#include “base/CCTexture2D.h”
#include “renderer/CCTexture2D.h”
#include <CCTexture2D.h>

It always returns “CCTexture2D.h file not found”. When I don’t bother including CCTexture2D.h (maybe it’s included in USING_NS_CC?). The function I want to use is Texture2D::initWithData(). Oddly enough, when I right click->go to Definition, it directs me to SkeletonRenderer::initWithData(). Any ideas what the heck is going on?

I should have created a Texture2D() first. Don’t “#include CCTexture.h”, it must be included in USING_NS_CC as I assumed

What version of Cocos2d-x? How did you obtain Cocos2d-x? .zip or cloning our repo?

v3.16 and .zip off the website I believe. Regardless, I got it working! I’ll likely migrate over to v3.17 this week. I’m excited to share progress with my sprite making app once it’s far enough along! :grin: Should be in the next few weeks.