I am trying to make an installer file for mac for my application, and I can't find a way to do this. I am using Xamarin STudio and mono (not monomac), classic windows forms.
So here is what I did:
a)I created in Visual Studio on Windows a hello world app, with a simple window and a button
b)I installed Xamarin Studio in my VMWare mac os X image
c)I open the SLN from windows PC with xamarin studio
Everything is good. The solution opens, if I press run it runs on Mac using mono. Now my problem. How do I compile and make the setup for Mac Os X so I can distribute my file (not in the store)?
I tried with right click on solution->tools->create package . But i Have no option to make a mac os x file. How can I do that?
***EDIT I managed to compile and run the software on mac. I use the following code:
export PATH=/Library/Frameworks/Mono.framework/Commands:$PATH
export AS="as -arch i386"
export CC="cc -arch i386 -lobjc -liconv -framework Foundation"
# Build: --static
mkbundle "/VOLUMES/C/Proiecte/TestMono3/TestMono3/bin/Release/TestMono3.exe" --deps -o hello3
When I open hello3, it opens a terminal. Can this be avoided? Also, if I don't use --static in mkbundle, can I still distribute the software without the user needing to install mono?
Thanks!