Cocos studio for mac won't work anymore

I have a project which was developed via cocos3.10. Lots of UI was created by cocos studio.
But I updated the OSX or other components. Now the cocos studio could not launched.
If I start it from the terminal. I see the exceptions:
Any solutions?

++ basename ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/CocosStudio’

  • exeName=CocosStudio.exe
  • export ‘ACLOCAL_FLAGS=-I /Library/Frameworks/Mono.framework/Versions/Current/share/aclocal’
  • ACLOCAL_FLAGS=’-I /Library/Frameworks/Mono.framework/Versions/Current/share/aclocal’
  • export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/Users/knuth/anaconda/envs/cocos/bin:/Users/knuth/anaconda/bin:/Users/knuth/cocos:/Users/knuth/cocos/cocos2d-x-3.16/templates:/Users/knuth/Mongodb/mongodb-osx-x86_64-3.0.6/bin:/Applications/Cocos/tools/ant/bin:/Applications/Cocos/frameworks:/Users/knuth/cocos/cocos2d-x-3.16/tools/cocos2d-console/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/knuth/.rvm/bin
  • PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/Users/knuth/anaconda/envs/cocos/bin:/Users/knuth/anaconda/bin:/Users/knuth/cocos:/Users/knuth/cocos/cocos2d-x-3.16/templates:/Users/knuth/Mongodb/mongodb-osx-x86_64-3.0.6/bin:/Applications/Cocos/tools/ant/bin:/Applications/Cocos/frameworks:/Users/knuth/cocos/cocos2d-x-3.16/tools/cocos2d-console/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/knuth/.rvm/bin
  • export DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib
  • DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib
    +++ dirname ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/CocosStudio’
    ++ cd ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS’
    ++ pwd
  • DIR=’/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS’
  • FilePath=’/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/…/…/…/Library/CocosStudio.exe’
  • exec mono ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/…/…/…/Library/CocosStudio.exe’ ‘’
    INFO [2017-12-28 15:31:44Z]: Did not find previous version from which to migrate data
    INFO [2017-12-28 15:31:44Z]: Initializing Runtime Mono 5.4.1.6
    2017-12-28 15:31:44.395 mono[886:8872] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
    2017-12-28 15:31:44,472 [ERROR] [Thrd:1] CocoStudio.Basic.CSLogger.Error(:0) - Initialize PlatformService failed.
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Exception: Mac integration is not yet 64-bit safe
    at MonoDevelop.MacIntegration.MacPlatformService…ctor () [0x0003b] in <25a4362effd844e7a17c3c87730b1a42>:0
    at CocoStudio.MacPlatform.CSMacPlatformService…ctor () [0x00000] in <96777f5c8b16431ab1270a38e0266c30>:0
    at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    — End of inner exception stack trace —
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.Activator.CreateInstance (System.Type type) [0x00000] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00006] in <2ffc224e044142dcb4bf7f824bd84e0b>:0
    at CocoStudio.Core.PlatformAdapter.Initialize () [0x00048] in <0b405dd02fcc4f12b213290a55ab534c>:0
    2017-12-28 15:31:44,501 [INFO ] [Thrd:1] CocoStudio.Basic.CSLogger.Info(:0) - 传入参数指定的文件不存在
    INFO [2017-12-28 15:31:44Z]: Framework .NETPortable,Version=v4.6 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 15:31:44Z]: Framework .NETPortable,Version=v4.6,Profile=Profile151 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 15:31:44Z]: Framework .NETPortable,Version=v4.6,Profile=Profile44 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 15:31:44Z]: Framework .NETPortable,Version=v5.0 has unknown RuntimeVersion 5.0

Unhandled Exception:
AppKit.AppKitThreadAccessException: AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
at AppKit.NSApplication.EnsureUIThread () [0x0001f] in <144b4394887a49a181525267bcf3308c>:0
at AppKit.NSEvent.AddLocalMonitorForEventsMatchingMask (AppKit.NSEventMask mask, AppKit.LocalEventHandler handler) [0x00001] in <144b4394887a49a181525267bcf3308c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor (Gtk.Window root) [0x000bf] in <8624976a07c1424abcce94db55e7d33c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor () [0x00000] in <8624976a07c1424abcce94db55e7d33c>:0
at CocoStudio.Core.Services.Initialize () [0x00005] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.MainWindow.Initialize () [0x00000] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.View.Workbench.Initialize (MonoDevelop.Core.IProgressMonitor monitor) [0x00020] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.Starter.Run () [0x0000c] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.UI.Program.Main (System.String[] args) [0x0003a] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: AppKit.AppKitThreadAccessException: AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
at AppKit.NSApplication.EnsureUIThread () [0x0001f] in <144b4394887a49a181525267bcf3308c>:0
at AppKit.NSEvent.AddLocalMonitorForEventsMatchingMask (AppKit.NSEventMask mask, AppKit.LocalEventHandler handler) [0x00001] in <144b4394887a49a181525267bcf3308c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor (Gtk.Window root) [0x000bf] in <8624976a07c1424abcce94db55e7d33c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor () [0x00000] in <8624976a07c1424abcce94db55e7d33c>:0
at CocoStudio.Core.Services.Initialize () [0x00005] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.MainWindow.Initialize () [0x00000] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.View.Workbench.Initialize (MonoDevelop.Core.IProgressMonitor monitor) [0x00020] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.Starter.Run () [0x0000c] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.UI.Program.Main (System.String[] args) [0x0003a] in :0
(cocos) DandingMAC:Cocos knuth$ /Applications/Cocos/Cocos\ Studio\ 2.app/Contents/MacOS/CocosStudio
++ basename ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/CocosStudio’

  • exeName=CocosStudio.exe
  • export ‘ACLOCAL_FLAGS=-I /Library/Frameworks/Mono.framework/Versions/Current/share/aclocal’
  • ACLOCAL_FLAGS=’-I /Library/Frameworks/Mono.framework/Versions/Current/share/aclocal’
  • export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/Users/knuth/anaconda/envs/cocos/bin:/Users/knuth/anaconda/bin:/Users/knuth/cocos:/Users/knuth/cocos/cocos2d-x-3.16/templates:/Users/knuth/Mongodb/mongodb-osx-x86_64-3.0.6/bin:/Applications/Cocos/tools/ant/bin:/Applications/Cocos/frameworks:/Users/knuth/cocos/cocos2d-x-3.16/tools/cocos2d-console/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/knuth/.rvm/bin
  • PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/Users/knuth/anaconda/envs/cocos/bin:/Users/knuth/anaconda/bin:/Users/knuth/cocos:/Users/knuth/cocos/cocos2d-x-3.16/templates:/Users/knuth/Mongodb/mongodb-osx-x86_64-3.0.6/bin:/Applications/Cocos/tools/ant/bin:/Applications/Cocos/frameworks:/Users/knuth/cocos/cocos2d-x-3.16/tools/cocos2d-console/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/knuth/.rvm/bin
  • export DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib
  • DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib
    +++ dirname ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/CocosStudio’
    ++ cd ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS’
    ++ pwd
  • DIR=’/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS’
  • FilePath=’/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/…/…/…/Library/CocosStudio.exe’
  • exec mono ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/…/…/…/Library/CocosStudio.exe’ ‘’
    INFO [2017-12-28 16:30:00Z]: Did not find previous version from which to migrate data
    INFO [2017-12-28 16:30:00Z]: Initializing Runtime Mono 5.4.1.6
    2017-12-28 16:30:00.135 mono[1192:33149] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
    2017-12-28 16:30:00,216 [ERROR] [Thrd:1] CocoStudio.Basic.CSLogger.Error(:0) - Initialize PlatformService failed.
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Exception: Mac integration is not yet 64-bit safe
    at MonoDevelop.MacIntegration.MacPlatformService…ctor () [0x0003b] in <25a4362effd844e7a17c3c87730b1a42>:0
    at CocoStudio.MacPlatform.CSMacPlatformService…ctor () [0x00000] in <96777f5c8b16431ab1270a38e0266c30>:0
    at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    — End of inner exception stack trace —
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.Activator.CreateInstance (System.Type type) [0x00000] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00006] in <2ffc224e044142dcb4bf7f824bd84e0b>:0
    at CocoStudio.Core.PlatformAdapter.Initialize () [0x00048] in <0b405dd02fcc4f12b213290a55ab534c>:0
    2017-12-28 16:30:00,244 [INFO ] [Thrd:1] CocoStudio.Basic.CSLogger.Info(:0) - 传入参数指定的文件不存在
    INFO [2017-12-28 16:30:00Z]: Framework .NETPortable,Version=v4.6 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 16:30:00Z]: Framework .NETPortable,Version=v4.6,Profile=Profile151 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 16:30:00Z]: Framework .NETPortable,Version=v4.6,Profile=Profile44 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 16:30:00Z]: Framework .NETPortable,Version=v5.0 has unknown RuntimeVersion 5.0

Unhandled Exception:
AppKit.AppKitThreadAccessException: AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
at AppKit.NSApplication.EnsureUIThread () [0x0001f] in <144b4394887a49a181525267bcf3308c>:0
at AppKit.NSEvent.AddLocalMonitorForEventsMatchingMask (AppKit.NSEventMask mask, AppKit.LocalEventHandler handler) [0x00001] in <144b4394887a49a181525267bcf3308c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor (Gtk.Window root) [0x000bf] in <8624976a07c1424abcce94db55e7d33c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor () [0x00000] in <8624976a07c1424abcce94db55e7d33c>:0
at CocoStudio.Core.Services.Initialize () [0x00005] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.MainWindow.Initialize () [0x00000] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.View.Workbench.Initialize (MonoDevelop.Core.IProgressMonitor monitor) [0x00020] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.Starter.Run () [0x0000c] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.UI.Program.Main (System.String[] args) [0x0003a] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: AppKit.AppKitThreadAccessException: AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
at AppKit.NSApplication.EnsureUIThread () [0x0001f] in <144b4394887a49a181525267bcf3308c>:0
at AppKit.NSEvent.AddLocalMonitorForEventsMatchingMask (AppKit.NSEventMask mask, AppKit.LocalEventHandler handler) [0x00001] in <144b4394887a49a181525267bcf3308c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor (Gtk.Window root) [0x000bf] in <8624976a07c1424abcce94db55e7d33c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor () [0x00000] in <8624976a07c1424abcce94db55e7d33c>:0
at CocoStudio.Core.Services.Initialize () [0x00005] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.MainWindow.Initialize () [0x00000] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.View.Workbench.Initialize (MonoDevelop.Core.IProgressMonitor monitor) [0x00020] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.Starter.Run () [0x0000c] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.UI.Program.Main (System.String[] args) [0x0003a] in :0
(cocos) DandingMAC:Cocos knuth$ vbbvvbg gfhb dfg1234v m325bo≈
(cocos) DandingMAC:Cocos knuth$ /Applications/Cocos/Cocos\ Studio\ 2.app/Contents/MacOS/CocosStudio
++ basename ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/CocosStudio’

  • exeName=CocosStudio.exe
  • export ‘ACLOCAL_FLAGS=-I /Library/Frameworks/Mono.framework/Versions/Current/share/aclocal’
  • ACLOCAL_FLAGS=’-I /Library/Frameworks/Mono.framework/Versions/Current/share/aclocal’
  • export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/Users/knuth/anaconda/envs/cocos/bin:/Users/knuth/anaconda/bin:/Users/knuth/cocos:/Users/knuth/cocos/cocos2d-x-3.16/templates:/Users/knuth/Mongodb/mongodb-osx-x86_64-3.0.6/bin:/Applications/Cocos/tools/ant/bin:/Applications/Cocos/frameworks:/Users/knuth/cocos/cocos2d-x-3.16/tools/cocos2d-console/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/knuth/.rvm/bin
  • PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/Users/knuth/anaconda/envs/cocos/bin:/Users/knuth/anaconda/bin:/Users/knuth/cocos:/Users/knuth/cocos/cocos2d-x-3.16/templates:/Users/knuth/Mongodb/mongodb-osx-x86_64-3.0.6/bin:/Applications/Cocos/tools/ant/bin:/Applications/Cocos/frameworks:/Users/knuth/cocos/cocos2d-x-3.16/tools/cocos2d-console/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/knuth/.rvm/bin
  • export DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib
  • DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib
    +++ dirname ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/CocosStudio’
    ++ cd ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS’
    ++ pwd
  • DIR=’/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS’
  • FilePath=’/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/…/…/…/Library/CocosStudio.exe’
  • exec mono ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/…/…/…/Library/CocosStudio.exe’ ‘’
    INFO [2017-12-28 19:21:55Z]: Did not find previous version from which to migrate data
    INFO [2017-12-28 19:21:55Z]: Initializing Runtime Mono 5.4.1.6
    2017-12-28 19:21:55.871 mono[1952:117231] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
    2017-12-28 19:21:55,950 [ERROR] [Thrd:1] CocoStudio.Basic.CSLogger.Error(:0) - Initialize PlatformService failed.
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Exception: Mac integration is not yet 64-bit safe
    at MonoDevelop.MacIntegration.MacPlatformService…ctor () [0x0003b] in <25a4362effd844e7a17c3c87730b1a42>:0
    at CocoStudio.MacPlatform.CSMacPlatformService…ctor () [0x00000] in <96777f5c8b16431ab1270a38e0266c30>:0
    at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    — End of inner exception stack trace —
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.Activator.CreateInstance (System.Type type) [0x00000] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00006] in <2ffc224e044142dcb4bf7f824bd84e0b>:0
    at CocoStudio.Core.PlatformAdapter.Initialize () [0x00048] in <0b405dd02fcc4f12b213290a55ab534c>:0
    2017-12-28 19:21:55,976 [INFO ] [Thrd:1] CocoStudio.Basic.CSLogger.Info(:0) - 传入参数指定的文件不存在
    INFO [2017-12-28 19:21:56Z]: Framework .NETPortable,Version=v4.6 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 19:21:56Z]: Framework .NETPortable,Version=v4.6,Profile=Profile151 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 19:21:56Z]: Framework .NETPortable,Version=v4.6,Profile=Profile44 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 19:21:56Z]: Framework .NETPortable,Version=v5.0 has unknown RuntimeVersion 5.0

Unhandled Exception:
AppKit.AppKitThreadAccessException: AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
at AppKit.NSApplication.EnsureUIThread () [0x0001f] in <144b4394887a49a181525267bcf3308c>:0
at AppKit.NSEvent.AddLocalMonitorForEventsMatchingMask (AppKit.NSEventMask mask, AppKit.LocalEventHandler handler) [0x00001] in <144b4394887a49a181525267bcf3308c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor (Gtk.Window root) [0x000bf] in <8624976a07c1424abcce94db55e7d33c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor () [0x00000] in <8624976a07c1424abcce94db55e7d33c>:0
at CocoStudio.Core.Services.Initialize () [0x00005] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.MainWindow.Initialize () [0x00000] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.View.Workbench.Initialize (MonoDevelop.Core.IProgressMonitor monitor) [0x00020] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.Starter.Run () [0x0000c] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.UI.Program.Main (System.String[] args) [0x0003a] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: AppKit.AppKitThreadAccessException: AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
at AppKit.NSApplication.EnsureUIThread () [0x0001f] in <144b4394887a49a181525267bcf3308c>:0
at AppKit.NSEvent.AddLocalMonitorForEventsMatchingMask (AppKit.NSEventMask mask, AppKit.LocalEventHandler handler) [0x00001] in <144b4394887a49a181525267bcf3308c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor (Gtk.Window root) [0x000bf] in <8624976a07c1424abcce94db55e7d33c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor () [0x00000] in <8624976a07c1424abcce94db55e7d33c>:0
at CocoStudio.Core.Services.Initialize () [0x00005] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.MainWindow.Initialize () [0x00000] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.View.Workbench.Initialize (MonoDevelop.Core.IProgressMonitor monitor) [0x00020] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.Starter.Run () [0x0000c] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.UI.Program.Main (System.String[] args) [0x0003a] in :0
(cocos) DandingMAC:Cocos knuth$
(cocos) DandingMAC:Cocos knuth$ /Applications/Cocos/Cocos\ Studio\ 2.app/Contents/MacOS/CocosStudio
++ basename ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/CocosStudio’

  • exeName=CocosStudio.exe
  • export ‘ACLOCAL_FLAGS=-I /Library/Frameworks/Mono.framework/Versions/Current/share/aclocal’
  • ACLOCAL_FLAGS=’-I /Library/Frameworks/Mono.framework/Versions/Current/share/aclocal’
  • export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/Users/knuth/anaconda/envs/cocos/bin:/Users/knuth/anaconda/bin:/Users/knuth/cocos:/Users/knuth/cocos/cocos2d-x-3.16/templates:/Users/knuth/Mongodb/mongodb-osx-x86_64-3.0.6/bin:/Applications/Cocos/tools/ant/bin:/Applications/Cocos/frameworks:/Users/knuth/cocos/cocos2d-x-3.16/tools/cocos2d-console/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/knuth/.rvm/bin
  • PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:/Users/knuth/anaconda/envs/cocos/bin:/Users/knuth/anaconda/bin:/Users/knuth/cocos:/Users/knuth/cocos/cocos2d-x-3.16/templates:/Users/knuth/Mongodb/mongodb-osx-x86_64-3.0.6/bin:/Applications/Cocos/tools/ant/bin:/Applications/Cocos/frameworks:/Users/knuth/cocos/cocos2d-x-3.16/tools/cocos2d-console/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Users/knuth/.rvm/bin
  • export DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib
  • DYLD_FALLBACK_LIBRARY_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib
    +++ dirname ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/CocosStudio’
    ++ cd ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS’
    ++ pwd
  • DIR=’/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS’
  • FilePath=’/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/…/…/…/Library/CocosStudio.exe’
  • exec mono ‘/Applications/Cocos/Cocos Studio 2.app/Contents/MacOS/…/…/…/Library/CocosStudio.exe’ ‘’
    INFO [2017-12-28 19:46:02Z]: Did not find previous version from which to migrate data
    INFO [2017-12-28 19:46:02Z]: Initializing Runtime Mono 5.4.1.6
    2017-12-28 19:46:02.267 mono[2084:132885] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
    2017-12-28 19:46:02,352 [ERROR] [Thrd:1] CocoStudio.Basic.CSLogger.Error(:0) - Initialize PlatformService failed.
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Exception: Mac integration is not yet 64-bit safe
    at MonoDevelop.MacIntegration.MacPlatformService…ctor () [0x0003b] in <25a4362effd844e7a17c3c87730b1a42>:0
    at CocoStudio.MacPlatform.CSMacPlatformService…ctor () [0x00000] in <96777f5c8b16431ab1270a38e0266c30>:0
    at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    — End of inner exception stack trace —
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at System.Activator.CreateInstance (System.Type type) [0x00000] in <4fdc5ed61a074cafb49fa42deb20d521>:0
    at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00006] in <2ffc224e044142dcb4bf7f824bd84e0b>:0
    at CocoStudio.Core.PlatformAdapter.Initialize () [0x00048] in <0b405dd02fcc4f12b213290a55ab534c>:0
    2017-12-28 19:46:02,379 [INFO ] [Thrd:1] CocoStudio.Basic.CSLogger.Info(:0) - 传入参数指定的文件不存在
    INFO [2017-12-28 19:46:02Z]: Framework .NETPortable,Version=v4.6 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 19:46:02Z]: Framework .NETPortable,Version=v4.6,Profile=Profile151 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 19:46:02Z]: Framework .NETPortable,Version=v4.6,Profile=Profile44 has unknown RuntimeVersion 4.6
    INFO [2017-12-28 19:46:02Z]: Framework .NETPortable,Version=v5.0 has unknown RuntimeVersion 5.0

Unhandled Exception:
AppKit.AppKitThreadAccessException: AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
at AppKit.NSApplication.EnsureUIThread () [0x0001f] in <144b4394887a49a181525267bcf3308c>:0
at AppKit.NSEvent.AddLocalMonitorForEventsMatchingMask (AppKit.NSEventMask mask, AppKit.LocalEventHandler handler) [0x00001] in <144b4394887a49a181525267bcf3308c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor (Gtk.Window root) [0x000bf] in <8624976a07c1424abcce94db55e7d33c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor () [0x00000] in <8624976a07c1424abcce94db55e7d33c>:0
at CocoStudio.Core.Services.Initialize () [0x00005] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.MainWindow.Initialize () [0x00000] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.View.Workbench.Initialize (MonoDevelop.Core.IProgressMonitor monitor) [0x00020] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.Starter.Run () [0x0000c] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.UI.Program.Main (System.String[] args) [0x0003a] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: AppKit.AppKitThreadAccessException: AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
at AppKit.NSApplication.EnsureUIThread () [0x0001f] in <144b4394887a49a181525267bcf3308c>:0
at AppKit.NSEvent.AddLocalMonitorForEventsMatchingMask (AppKit.NSEventMask mask, AppKit.LocalEventHandler handler) [0x00001] in <144b4394887a49a181525267bcf3308c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor (Gtk.Window root) [0x000bf] in <8624976a07c1424abcce94db55e7d33c>:0
at MonoDevelop.Components.Commands.CommandManager…ctor () [0x00000] in <8624976a07c1424abcce94db55e7d33c>:0
at CocoStudio.Core.Services.Initialize () [0x00005] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.MainWindow.Initialize () [0x00000] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.View.Workbench.Initialize (MonoDevelop.Core.IProgressMonitor monitor) [0x00020] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.Core.Starter.Run () [0x0000c] in <0b405dd02fcc4f12b213290a55ab534c>:0
at CocoStudio.UI.Program.Main (System.String[] args) [0x0003a] in :0

After I removing the Xamrin and mono framework.
And reinstall the cocos for Mac. It works again.

1 Like

It does, I had the same problem :slight_smile: