It looks like the latest (or commits within a day or so) has broken compilation on the new MacBook M1:
.../SDL/src/joystick/iphoneos/SDL_mfijoystick.m:1060:9: error: cannot create __weak
reference in file using manual reference counting
__weak typeof(self) weakSelf = self;
Let me know if I can help or test in any way.