In the Finder window, go to Applications and select The Sims 3 folder.
If asked, enter your administrator password. Double-click the plumbob icon to run the super-patcher.
When the patch is ready to install you’ll see a green plumbob icon. Wait for the patch to extract (this can take a little time). Since patch 1.12.7 for the base game and patch 2.7.7 for World Adventures are essentially the same patch, The Sims Wiki has chosen to name the patches. The first represents the games' chronological release, the second is the order the patches have been released in and the third is the version of the patch, only used internally by EA. EA numbers their The Sims 3 patches with three integers.