Download

Does ios supports c++ class?

My c++ class architecture is this something like this:


UCLASS() 
class AProceduralMaze : public AActor {
	GENERATED_BODY()

}

This class is not getting compiled during ios packaging.
So does ue4 support c++ class for ios?

try adding GENERATED_BODY() macro to it first

i already did that. just did not post that on 1st post.

Did u get success to port c++ class to iphone?

nope, my mates using BP only for all mobile stuff. sorry.

AFAIK, you need to use the GitHub version to be able to compile additional C++ code for iOS.

Also, did you add that class using the “Create new C++ class” option inside the editor? Just creating a CPP file and placing it in the source folder won’t do anything.