I just ported my game from 5.5.4 to 5.7.1 and it works perfectly in the editor and builds without a hitch inside Rider but when I get to Xcode I have 128 errors along the lines of APawn, AActor, USkeletalMeshComponent and all other internal UE other classes being incomplete types.
AArcherPatrollingAI* OwnerAI = Cast<AArcherPatrollingAI>(OwnerComp.GetAIOwner());
UBlackboardComponent* BBC = OwnerAI->GetBlackboardComponent();
When I do this, for example, it says “no matching member function for call to ;GetBlackboardComponent’” but by tracing the source it is a static public function that is obviously, clearly right there
What can be causing this? The code is obviously right because the game runs perfectly in 5.5. Unfortunately, under Tahoe the built project hangs on the device right at startup and from my research the problem seems to be an Apple VS UE issue and the solution is to upgrade to 5.7.1 so that is what I am attempting to do but, like I said, runs, compiles and builds under 5.5 but under 5.7 I have 129 errors about basic internal classes being incomplete
I have tried regenerating the project - check
I have tried deleting the intermediate, build, binaries folders - check
I have tried deleting the .sln file - check
I am THINKING that perhaps I just need to set a path somewhere in Xcode but where to set what to what I have no clue. Apart from this I have no idea what could be causing this. Any assistance would be greatly appreciated
Thank you in advance