Unable to package mobile platforms (Undefined Symbols) due to steamworks

I am using Steamworks for the desktop version of my game. But for the mobile version, obviously I do not want to use steamworks. But since I do not know how to tell unreal to ignore steamworks unless I’m on desktop, if I package for any other platform, I get Undefined Symbol errors for everything steam related.

I’m assuming the fix is to disable steamworks for other platforms somehow, but I am unsure how to do that.

Did you ever figure this out? I’m in the same boat right now.