How to get linker errors back in MinimalAPI

I am experimenting with a UClass(MinimalAPI) and need to test whether or not my code will cause linker problems when somebody tries to build it without having built the UE4 Source code.

Unfortunately, I have built the source code, thus I don’t get linker errors when I violate the API. Is there a way I can get
these errors back again?

I’m on XCode/Mac!