MacOSx Unity crash on xCode project creation

Hi,
I met that trouble on 5.5.0p2, updated to 5.5.0p3, but that didn’t help.
Crash happens on last step, when xCode started (screenshot) but do not start project execution.
Here is Editor.log last entries.
System - 10.12.2, xCode 8.2.1
NOTE! Sometimes (1/5) the project creation finished successfully

2017-01-04 15:22:14.091 Unity[3243:138087] *** Assertion failure in -[EditorApplicationPrincipalClass _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:], /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.76/AppKit.subproj/NSApplication.m:4140
2017-01-04 15:22:14.105 Unity[3243:138087] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modal session requires modal window'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff8aa9de7b __exceptionPreprocess + 171
    1   libobjc.A.dylib                     0x00007fff9f688cad objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff8aaa2b82 +[NSException raise:format:arguments:] + 98
    3   Foundation                          0x00007fff8c4ecd50 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
    4   AppKit                              0x00007fff88799aac -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:] + 317
    5   AppKit                              0x00007fff88799969 -[NSApplication beginModalSessionForWindow:] + 37
    6   Unity                               0x00000001026d2a8e -[GlobalProgressbarController setProgressbar:andText:andTitle:canCancel:] + 510
    7   Unity                               0x00000001026d31d0 _Z18DisplayProgressbarRKSsS0_fb + 336
    8   Unity                               0x0000000100f609b1 _ZL23DoBuildPlayer_PostBuildRSs18BuildPlayerOptionsP10MonoObject19BuildTargetPlatformRN14BuildReporting11BuildReportE + 6177
    9   Unity                               0x0000000100f5edf8 _Z13DoBuildPlayerRK16BuildPlayerSetupRSt6vectorIN18EditorSceneManager11SceneBackupE13stl_allocatorIS4_L18MemLabelIdentifier94ELi16EEESsS2_I8UnityStrSaISA_EEbRN14BuildReporting11BuildReportE + 2648
    10  Unity                               0x0000000100f63a39 _Z11BuildPlayerRK16BuildPlayerSetupRN14BuildReporting11BuildReportE + 1545
    11  Unity                               0x00000001020d52c1 _Z47BuildPipeline_CUSTOM_BuildPlayerInternalNoCheckP9MonoArrayP10MonoStringS2_19BuildTargetPlatform18BuildPlayerOptionsh + 673
    12  ???                                 0x000000011fbd187a 0x0 + 4827453562
    13  ???                                 0x000000011fbcd672 0x0 + 4827436658
    14  ???                                 0x000000011fbcbee8 0x0 + 4827430632
    15  ???                                 0x000000011fbcbd56 0x0 + 4827430230
    16  ???                                 0x0000000124909916 0x0 + 4908423446
    17  libmono.0.dylib                     0x000000010ab4685e mono_get_runtime_build_info + 3654
    18  libmono.0.dylib                     0x000000010ac7111e mono_runtime_invoke + 117
    19  Unity                               0x0000000101de921e _Z20CallStaticMonoMethodPKcS0_PPvPP13MonoException + 126
    20  Unity                               0x0000000101de9191 _Z20CallStaticMonoMethodPKcS0_PPv + 17
    21  Unity                               0x00000001026c8449 -[EditorApplication CompileSceneAutomatic:] + 9
    22  libsystem_trace.dylib               0x00007fffa019ec3d _os_activity_initiate + 61
    23  AppKit                              0x00007fff88cc2150 -[NSApplication(NSResponder) sendAction:to:from:] + 456
    24  AppKit                              0x00007fff8879632e -[NSMenuItem _corePerformAction] + 324
    25  AppKit                              0x00007fff8879609a -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
    26  libsystem_trace.dylib               0x00007fffa019ec3d _os_activity_initiate + 61
    27  AppKit                              0x00007fff8881f619 -[NSMenu performActionForItemAtIndex:] + 121
    28  AppKit                              0x00007fff8881f590 -[NSMenu _internalPerformActionForItemAtIndex:] + 94
    29  AppKit                              0x00007fff8881f3bd -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 107
    30  AppKit                              0x00007fff886d6630 NSSLMMenuEventHandler + 986
    31  HIToolbox                           0x00007fff89f77b85 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1708
    32  HIToolbox                           0x00007fff89f76df6 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 428
    33  HIToolbox                           0x00007fff89f8c924 SendEventToEventTarget + 40
    34  HIToolbox                           0x00007fff89fd8da6 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 411
    35  HIToolbox                           0x00007fff8a0043bb SendMenuCommandWithContextAndModifiers + 59
    36  HIToolbox                           0x00007fff8a00436a SendMenuItemSelectedEvent + 188
    37  HIToolbox                           0x00007fff8a00423d _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 96
    38  HIToolbox                           0x00007fff8a004c77 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 702
    39  HIToolbox                           0x00007fff8a004926 _HandleMenuSelection2 + 460
    40  AppKit                              0x00007fff886c63fa _NSHandleCarbonMenuEvent + 239
    41  AppKit                              0x00007fff889402e6 _DPSEventHandledByCarbon + 54
    42  AppKit                              0x00007fff88cbfaf6 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 956
    43  AppKit                              0x00007fff8853a465 -[NSApplication run] + 926
    44  AppKit                              0x00007fff88504d80 NSApplicationMain + 1237
    45  Unity                               0x00000001026e10d8 _Z10EditorMainiPPKc + 1512
    46  Unity                               0x00000001026e18e9 main + 9
    47  Unity                               0x00000001000028b4 start + 52
    48  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Stacktrace:

  at (wrapper managed-to-native) UnityEditor.BuildPipeline.BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTarget,UnityEditor.BuildOptions,bool) <IL 0x00013, 0x000ca>
  at (wrapper managed-to-native) UnityEditor.BuildPipeline.BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTarget,UnityEditor.BuildOptions,bool) <IL 0x00013, 0x000ca>
  at UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (bool,UnityEditor.BuildOptions,bool) [0x0038c] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:464
  at UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (bool,UnityEditor.BuildOptions) [0x00004] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:321
  at UnityEditor.BuildPlayerWindow.BuildPlayerAndRun () [0x00003] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:298
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <IL 0x0001b, 0x000f5>

Native stacktrace:

    0   libsystem_kernel.dylib              0x00007fffa009add6 __pthread_kill + 10
    1   libsystem_c.dylib                   0x00007fffa0000420 abort + 129
    2   libc++abi.dylib                     0x00007fff9eb5b85a __cxa_bad_cast + 0
    3   libc++abi.dylib                     0x00007fff9eb80c4f _ZL26default_unexpected_handlerv + 0
    4   libobjc.A.dylib                     0x00007fff9f68af1e _ZL15_objc_terminatev + 103
    5   libc++abi.dylib                     0x00007fff9eb7dd69 _ZSt11__terminatePFvvE + 8
    6   libc++abi.dylib                     0x00007fff9eb7d7de _ZN10__cxxabiv1L22exception_cleanup_funcE19_Unwind_Reason_CodeP17_Unwind_Exception + 0
    7   libobjc.A.dylib                     0x00007fff9f688dd6 objc_exception_throw + 345
    8   CoreFoundation                      0x00007fff8aaa2b82 +[NSException raise:format:arguments:] + 98
    9   Foundation                          0x00007fff8c4ecd50 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
    10  AppKit                              0x00007fff88799aac -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:] + 317
    11  AppKit                              0x00007fff88799969 -[NSApplication beginModalSessionForWindow:] + 37
    12  Unity                               0x00000001026d2a8e -[GlobalProgressbarController setProgressbar:andText:andTitle:canCancel:] + 510
    13  Unity                               0x00000001026d31d0 _Z18DisplayProgressbarRKSsS0_fb + 336
    14  Unity                               0x0000000100f609b1 _ZL23DoBuildPlayer_PostBuildRSs18BuildPlayerOptionsP10MonoObject19BuildTargetPlatformRN14BuildReporting11BuildReportE + 6177
    15  Unity                               0x0000000100f5edf8 _Z13DoBuildPlayerRK16BuildPlayerSetupRSt6vectorIN18EditorSceneManager11SceneBackupE13stl_allocatorIS4_L18MemLabelIdentifier94ELi16EEESsS2_I8UnityStrSaISA_EEbRN14BuildReporting11BuildReportE + 2648
    16  Unity                               0x0000000100f63a39 _Z11BuildPlayerRK16BuildPlayerSetupRN14BuildReporting11BuildReportE + 1545
    17  Unity                               0x00000001020d52c1 _Z47BuildPipeline_CUSTOM_BuildPlayerInternalNoCheckP9MonoArrayP10MonoStringS2_19BuildTargetPlatform18BuildPlayerOptionsh + 673
    18  ???                                 0x000000011fbd187a 0x0 + 4827453562
    19  ???                                 0x000000011fbcd672 0x0 + 4827436658
    20  ???                                 0x000000011fbcbee8 0x0 + 4827430632
    21  ???                                 0x000000011fbcbd56 0x0 + 4827430230
    22  ???                                 0x0000000124909916 0x0 + 4908423446
    23  libmono.0.dylib                     0x000000010ab4685e mono_get_runtime_build_info + 3654
    24  libmono.0.dylib                     0x000000010ac7111e mono_runtime_invoke + 117
    25  Unity                               0x0000000101de921e _Z20CallStaticMonoMethodPKcS0_PPvPP13MonoException + 126
    26  Unity                               0x0000000101de9191 _Z20CallStaticMonoMethodPKcS0_PPv + 17
    27  Unity                               0x00000001026c8449 -[EditorApplication CompileSceneAutomatic:] + 9
    28  libsystem_trace.dylib               0x00007fffa019ec3d _os_activity_initiate + 61
    29  AppKit                              0x00007fff88cc2150 -[NSApplication(NSResponder) sendAction:to:from:] + 456
    30  AppKit                              0x00007fff8879632e -[NSMenuItem _corePerformAction] + 324
    31  AppKit                              0x00007fff8879609a -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
    32  libsystem_trace.dylib               0x00007fffa019ec3d _os_activity_initiate + 61
    33  AppKit                              0x00007fff8881f619 -[NSMenu performActionForItemAtIndex:] + 121
    34  AppKit                              0x00007fff8881f590 -[NSMenu _internalPerformActionForItemAtIndex:] + 94
    35  AppKit                              0x00007fff8881f3bd -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 107
    36  AppKit                              0x00007fff886d6630 NSSLMMenuEventHandler + 986
    37  HIToolbox                           0x00007fff89f77b85 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1708
    38  HIToolbox                           0x00007fff89f76df6 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 428
    39  HIToolbox                           0x00007fff89f8c924 SendEventToEventTarget + 40
    40  HIToolbox                           0x00007fff89fd8da6 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 411
    41  HIToolbox                           0x00007fff8a0043bb SendMenuCommandWithContextAndModifiers + 59
    42  HIToolbox                           0x00007fff8a00436a SendMenuItemSelectedEvent + 188
    43  HIToolbox                           0x00007fff8a00423d _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 96
    44  HIToolbox                           0x00007fff8a004c77 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 702
    45  HIToolbox                           0x00007fff8a004926 _HandleMenuSelection2 + 460
    46  AppKit                              0x00007fff886c63fa _NSHandleCarbonMenuEvent + 239
    47  AppKit                              0x00007fff889402e6 _DPSEventHandledByCarbon + 54
    48  AppKit                              0x00007fff88cbfaf6 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 956
    49  AppKit                              0x00007fff8853a465 -[NSApplication run] + 926
    50  AppKit                              0x00007fff88504d80 NSApplicationMain + 1237
    51  Unity                               0x00000001026e10d8 _Z10EditorMainiPPKc + 1512
    52  Unity                               0x00000001026e18e9 main + 9
    53  Unity                               0x00000001000028b4 start + 52

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

[0104/152214:FATAL:platform_thread_posix.cc(235)] Check failed: 0 == pthread_join(thread_handle.handle_, __null) (0 vs. 3)

Hey, Same problem when I try to Build and Run on Android with Mac OS X 10.0.3
Did you found a workaround?

Nope. Looks like it’s version bug. Didn’t try 5.5.1 yet, but should be fixed there