Search Unity

MonoDevelop not starting up on Mac

Discussion in 'Editor & General Support' started by Jibidiah, Nov 15, 2011.

  1. Jibidiah

    Jibidiah

    Joined:
    Oct 17, 2011
    Posts:
    76
    MonoDevelop isn't starting up on my Mac. I can try to open a script with it and the MonoDevelop icon shows up in the Dock and just flashes like 5 times then disappears. I tried just opening up MonoDevelop and it does the same thing.

    Anybody have a solution?
     
    Vishvesh8 likes this.
  2. Jibidiah

    Jibidiah

    Joined:
    Oct 17, 2011
    Posts:
    76
    I would really like some help with this because it's happening on all the macs in my teacher's class and we really don't want to use Unitron
     
    Vishvesh8 likes this.
  3. GuySmiley

    GuySmiley

    Joined:
    Mar 3, 2011
    Posts:
    2
    Same here.

    It happens whether I start it from within Unity or click on the monodevelop icon in the Unity applications folder.

    I checked to make sure I'm up-to-date with the latest Unity (3.4.2f3).

    Anyone have any idea how to fix this?

    Thanks.
     
    Vishvesh8 likes this.
  4. MCorrin

    MCorrin

    Joined:
    Nov 11, 2010
    Posts:
    4
    I am having the same problem. Monodevelop will open from the root account where it was installed but not from any others.
     
  5. j2games

    j2games

    Joined:
    Feb 18, 2012
    Posts:
    1
    Same issue here, driving me nuts!
     
  6. Sammer

    Sammer

    Joined:
    May 1, 2009
    Posts:
    49
    It looks like it's a permissions thing...

    Right click on MonoDevelop in the Finder and select 'Show Package Contents", right click on the 'Contents' folder and select "Get Info" down at the bottom of the info window, for 'Everyone' change the 'Sharing and Permissions' from 'read only' to 'read and write'. Finally click the wheel icon at the very bottom and choose 'Apply to enclosed Items'.

    Hth,

    Sam
     
  7. Seven

    Seven

    Joined:
    Apr 23, 2012
    Posts:
    111
    Just had a similar problem on a first time install on a mac.

    Can vouch for the permissions theory, i found setting the account I was attempting to open MonoDevelop in to admin status worked fully. Sammer's solution allowed me to open the program, however it only displayed the graphics correctly, all the text displayed as gibberish.
     
    spivey56 likes this.
  8. alechko03

    alechko03

    Joined:
    Oct 9, 2008
    Posts:
    1
    Hey Sammer your solution worked like a charm..thank you!
     
  9. Martin SHP

    Martin SHP

    Joined:
    Aug 6, 2012
    Posts:
    4
    We just had the same issue in our Mac lab. Managed accounts fail to run Monodevelop, while Standard accounts on all machines (OS X 10.6) launch the app, but with all font display missing (screens show squares in place of each character)

    Setting the Contents folder to Read/Write for everyone as described above fixed it, though I've had to change the account management on all of my machines to bypass Parental Controls.
     
  10. GlorySimba

    GlorySimba

    Joined:
    Apr 18, 2013
    Posts:
    10
    Thanks a lot!
     
  11. unity_bang

    unity_bang

    Joined:
    Oct 16, 2013
    Posts:
    4
    Thank you Sammer, your solution works :eek:

     
  12. benjaminstrike

    benjaminstrike

    Joined:
    Mar 21, 2014
    Posts:
    14

    OMG IT WORKS!!!!!!!!

    BTW: Don't forget to click on the weel thingy!
     
  13. markfrancombe

    markfrancombe

    Joined:
    May 26, 2009
    Posts:
    149
    One more thing... if none of the above work.
    Same fix really but if you only have "everyone" in the sharing and permissions box, then click plus + sign, and add your name, change to read and write and then cog "Apply to all enclosed".
    do this for both the app itself and the contents folder.
     
  14. Florensie

    Florensie

    Joined:
    Oct 12, 2014
    Posts:
    2
    Wow, thank you so much. It really helped. This is so much better.
     
  15. mtalbott

    mtalbott

    Joined:
    Dec 21, 2011
    Posts:
    108
    Unfortunately, the permissions fix did not work for me.

    here's my situation: On OSX 10.9 This issue started after I stupidly changed the name of the MonoDevelop.app. I changed it back but the damage is done. I've corrected the permissions, I've uninstalled and reinstalled several different versions of Unity. I'm tried to delete every remained Cache, Preference, and Log that I can find related to Unity or MonoDevelop but nothing has worked.

    heres the log from when I launch MonoDevelop:
    Starting MonoDevelop-Unity
    ERROR: Add-in cache directory could not be created (Sharing violation on path /Volumes/SHARED/Users/Mike/Library/Caches/MonoDevelop-Unity-2.8/addin-db-001/addin-data/842601751)
    System.NullReferenceException: Object reference not set to an instance of an object
    at MonoDevelop.Core.Setup.AddinSetupService.GetMainRepositoryUrl (UpdateLevel level) [0x00030] in /BuildAgent/work/cdfd0d7b6e2d2330/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Setup/AddinSetupService.cs:68
    at MonoDevelop.Core.Runtime.<RegisterAddinRepositories>m__20 (UpdateLevel v) [0x00000] in /BuildAgent/work/cdfd0d7b6e2d2330/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Runtime.cs:117
    at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator27`2[MonoDevelop.Core.Setup.UpdateLevel,System.String].MoveNext () [0x00000] in <filename unknown>:0
    at System.Collections.Generic.List`1[System.String].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
    at System.Collections.Generic.List`1[System.String]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
    at System.Linq.Enumerable.ToList[String] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
    at MonoDevelop.Core.Runtime.RegisterAddinRepositories () [0x00000] in /BuildAgent/work/cdfd0d7b6e2d2330/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Runtime.cs:117
    at MonoDevelop.Core.Runtime.Initialize (Boolean updateAddinRegistry) [0x0015c] in /BuildAgent/work/cdfd0d7b6e2d2330/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/Runtime.cs:97
    FATAL ERROR [2014-10-16 08:25:30Z]: MonoDevelop-Unity failed to start. Some of the assemblies required to run MonoDevelop (for example gtk-sharp, gnome-sharp or gtkhtml-sharp) may not be properly installed in the GAC.
    System.InvalidOperationException: Extension node not found in path: /MonoDevelop/Core/PlatformService
    at Mono.Addins.ExtensionContext.GetExtensionObjects (System.String path, System.Type arrayElementType, Boolean reuseCachedInstance) [0x00000] in <filename unknown>:0
    at Mono.Addins.ExtensionContext.GetExtensionObjects (System.String path) [0x00000] in <filename unknown>:0
    at Mono.Addins.AddinManager.GetExtensionObjects (System.String path) [0x00000] in <filename unknown>:0
    at MonoDevelop.Ide.DesktopService.Initialize () [0x0000b] in /BuildAgent/work/cdfd0d7b6e2d2330/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DesktopService.cs:44
    at MonoDevelop.Ide.IdeStartup.Run (System.String[] args) [0x00319] in /BuildAgent/work/cdfd0d7b6e2d2330/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:163
    at MonoDevelop.Ide.IdeStartup.Main (System.String[] args) [0x00017] in /BuildAgent/work/cdfd0d7b6e2d2330/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:551

    anythoughts?
     
  16. Vishvesh8

    Vishvesh8

    Joined:
    Oct 23, 2014
    Posts:
    1
    You are really a genius,Sammer.
    I am thankful to you.
    Once again thnx...
     
    qazwfwv likes this.
  17. AustinusTheMighty

    AustinusTheMighty

    Joined:
    Nov 27, 2014
    Posts:
    1
    Thanks Sam Helped A Lot!!!! :):)
     
    qazwfwv likes this.
  18. PawelSandra

    PawelSandra

    Joined:
    Dec 14, 2014
    Posts:
    1
    How can thing like this still be a problem after so many people wrote messages about this on forum? Anyway, Sammer's answer worked for me.
     
  19. _Prime_

    _Prime_

    Joined:
    Feb 28, 2015
    Posts:
    1
    Thanks Sam your solution worked perfectly.
    I appreciate the help you have given to me.

    once again Thanks.

    Flynn
     
    qazwfwv likes this.
  20. Anhvuive

    Anhvuive

    Joined:
    Jun 19, 2014
    Posts:
    4
    Thank you so much! It worked!
     
    qazwfwv likes this.
  21. springof

    springof

    Joined:
    May 5, 2015
    Posts:
    1
    Sammer solution is good, it is really permission problem.Thanks very much.
    But I do not find Apply to enclosed Items', instead I use "sudo chmod -R 777 *" in shell with command.

    Sorry for my poor Chinenglish.
     
    qazwfwv likes this.
  22. Thomas-Ceule

    Thomas-Ceule

    Joined:
    May 22, 2015
    Posts:
    1
    sammer thank you very much
     
    qazwfwv likes this.
  23. qazwfwv

    qazwfwv

    Joined:
    May 7, 2014
    Posts:
    1
    SOLVED, it was permission problem.

    Thanks sam.

     
  24. smitprit

    smitprit

    Joined:
    Apr 9, 2015
    Posts:
    1
    wait what wheel icon?
     
  25. Jonas Breider

    Jonas Breider

    Joined:
    Jul 19, 2015
    Posts:
    1
    Works perfekt !!
     
  26. Churbow

    Churbow

    Joined:
    Aug 18, 2015
    Posts:
    1
    Thank you so much. This worked, it's been driving me crazy! ;)
     
  27. drewmeredith

    drewmeredith

    Joined:
    Oct 21, 2015
    Posts:
    2
    Another thing you can do is drag monodevelop to your desktop then right click and click compress then wait and use the monodevelop that pops up with the icon not the zip file.
     
  28. macchine

    macchine

    Joined:
    Jul 13, 2012
    Posts:
    1
    Thank you!!!!
     
  29. Thrawn75

    Thrawn75

    Joined:
    Nov 16, 2014
    Posts:
    2,262
  30. cannedsanchez

    cannedsanchez

    Joined:
    Nov 21, 2017
    Posts:
    1
    the settings cog like icon
     
  31. waqas_haxhmi

    waqas_haxhmi

    Joined:
    Jun 15, 2016
    Posts:
    9
    If not resolve then try to remove folder ~/Library/Prefrence/MonoDevelop-Unity-5.0
     
  32. TheCyanCreeper

    TheCyanCreeper

    Joined:
    May 20, 2018
    Posts:
    1
    it's still not working for me after all things suggested
     
  33. pamigia

    pamigia

    Joined:
    Feb 12, 2017
    Posts:
    2
    MonoDevelop-Unity quit unexpectedly.
    Click Reopen to open the application again. Click Report to see more detailed information and send a report to Apple.
     
  34. pamigia

    pamigia

    Joined:
    Feb 12, 2017
    Posts:
    2
    i can't open MonoDevelop-Unity quit unexpectedly - and just flashes like then disappears.
    help me! pix error
     
  35. mengyang0726

    mengyang0726

    Joined:
    Jan 18, 2019
    Posts:
    2
    Hi Sammer, I followed exactly all steps that you wrote, while Im still not able to open MonoDevelop. Im using Mojave 10.14.1
     
  36. mengyang0726

    mengyang0726

    Joined:
    Jan 18, 2019
    Posts:
    2
    I think Monodevelop doesn't support Mac High Sierra version and above, can change the "preference" -> "external tools" -> "external script editor" to Visual Studio Code, which is an alternative solution for this issue.
     
  37. saqibhayatgss

    saqibhayatgss

    Joined:
    Oct 6, 2017
    Posts:
    2
    Tried all the solutions and nothing worked, then restarting a PC worked for me :p