@persafani2 , try this.
Here are the steps to take to get the game to install on your Mac. Please note: Sims Medieval is a 32 bit game and will not run on Catalina. This only works for Mojave and earlier Mac OS.
I would uninstall Sims Medieval and reset Origin before trying these steps. Make sure to do a manual uninstall like Sims 3 as both games share a similar architecture. https://bluebellflora.com/how-to-do-a-clean-uninstall-and-reinstall-on-a-mac/
"You wanted to know the steps that @tygereyes812 took to fix their game. I have copied their response from their post and will break it out into steps for you.
"I was able to fix it by first installing everything, then repairing origin, and then installing the base game alone (which gave me a different error code frequently mentioned on the boards here). After that I repaired origin again, launched the game to get the error code, disabled origin in-game while the error code window was opened, closed the error window, repaired origin a third time, downloaded Pirates and Nobles to get the original "Unable to start game Service initialization failed (0x039e8474)" error code, repaired origin a 4th time, cleared the cache one last time, and launched the game successfully. "
1) Install the game.
2) Repair Origin. https://help.ea.com/en-us/help/origin/origin/how-to-reset-origin-on-mac/
3) Install Base game alone.
4) Repair Origin again.
5) Launch game, disable Origin In Game while Error code window is open and then close the Error code window. Also clear cache files from Documents > Electronic Arts > Sims Medieval.
6) Repair Origin for a third time.
7) Download and install Pirates and Nobles.
8) Repair Origin for a fourth time and clear the cache files one more time.
Note: Files to clear all end in "cache" and there should be three of them. "
Please let me know if this works for you.