Skip to content

Tutorials:Installing Prerequisites on MacOS for MonoMac project

espes edited this page Mar 16, 2012 · 2 revisions

These are the installation steps you have to take if you want to port over your Windows XNA Game to MacOS using MonoGame + MonoMac

  1. Download the complete XCode developer toolset for Mac, Iphone and Ipad. The best place to get it is from https://developer.apple.com/downloads/index.action
    -In the downloads search bar, all the way on the left, type in XCode, then download the .dmg file for the latest version of XCode toolset which at this time is XCode 4.1 for Lion (3.1 gigs) and XCode 4.1 for Snow Leopard (4.6 gigs). This will ensure you have all the tools necessary, like Icon Composer and PackageMaker, to complete your project.
    -Double click the .dmg file once it's been downloaded and install with all default settings.

  2. Go to http://monodevelop.com/
    -From main page click on Download button->Choose MacOSX
    -At the time of this writing the lastest stable version is MonoDevelop 2.8.2 so download that package (.dmg file) and if you see any other required packages, which as of right now is Mono 2.10.5 + GTK#, click on the download link, you will be taken to a new page.
    -"Select Platform:" MacOSX
    -"Download Mono for MacOSX:" Click on the SDK link and download that .dmg file

  3. Install the MonoFramework by double clicking on the .dmg file which right now is MonoFramework-MDK-2.10.6_1.macos10.xamarin.x86.dmg
    -This launches installer, leave all default values, keep hitting Continue button then finally Install button, close when done.

  4. Install MonoDevelop by double clicking it's .dmg file which right now is MonoDevelop-2.8.2.dmg
    -Drag MonoDevelop icon into applications. Hit replace if upgrading from an older version. Wait till it's finished processing then close that window.

  5. Install the MonoMac plug in, by running MonoDevelop from Applications
    -MonoDevelop Menu Item->Add-In Manager->Gallery Tab
    -Make sure "All Repositories" is selected
    -Expand "Mac Development"
    -Highlight "MonoMac Development"
    -Hit "Install"
    -When it's installed, restart MonoDevelop
    -To confirm that it's installed go to File->New->Solution->C#->MonoMac and you should see 3 MonoMac templates
    -Close MonoDevelop

  6. Download the MonoGame framework that you will eventually add to your project:
    -Go to https://github.com/mono/MonoGame
    -There is a "Zip" button near the top, click on this and download it and unzip it