/Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h
Checks whether this platform will allow development objects to be cooked. This is separate from AllowsEditorObjects because cooked editors can be shipped with editor objects but still need to remove development assets.
true if this platform allows development objects to be cooked, false otherwise.
bool AllowsDevelopmentObjects() const