iOS app crashes on startup using Xamarin.iOS build host

This is a really odd issue, it was not happening before the last Xamarin updates (I am currently using xamarin 5.9 build 431 on the windows computer and Xamarin 5.9.1 on the Mac computer).

When trying to build the iOS version it installs the app in the simulator it opens a blank screen and then it crashes.

This is not happening if I copy the complete code and run it in the mac using Xamarin Studio.

I have check the logs but I do not understand them much. Any Ideas about this?

Log:

May 14 12:21:33 Zapopans-Mini CoreSimulatorBridge[335]: LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x7a056a60> com.X
May 14 12:21:33 Zapopans-Mini CoreSimulatorBridge[335]: LaunchServices: Not creating progress for <LSApplicationProxy: 0x7a056a60> com.X since it is not a placeholder.
May 14 12:21:33 Zapopans-Mini installd[322]: 0xb0115000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/Users/zapopan/Library/Caches/Xamarin/mtbs/builds/XiOS/f021d094fcc4095f5676c9b0bcd3f4f8/bin/iPhoneSimulator/Debug/XiOS.app" type Developer requested by CoreSimulatorBridge (pid 335)
May 14 12:21:33 Zapopans-Mini installd[322]: 0xb0115000 MDMCreateDeltaDirectory: calling MDMDirectoryDiff with:
    state->old_bundle: /Users/zapopan/Library/Developer/CoreSimulator/Devices/E2EA9690-D9FC-4EC6-8694-F98088A3E27F/data/Containers/Bundle/Application/207E369D-F7A8-45AF-A4F8-7F677F2CE38C/XiOS.app
    state->new_bundle: /Users/zapopan/Library/Caches/Xamarin/mtbs/builds/XiOS/f021d094fcc4095f5676c9b0bcd3f4f8/bin/iPhoneSimulator/Debug/XiOS.app
    state->dst_bundle: /Users/zapopan/Library/Developer/CoreSimulator/Devices/E2EA9690-D9FC-4EC6-8694-F98088A3E27F/data/Library/Caches/com.apple.mobile.installd.staging/temp.etLzYc/extracted/Payload//XiOS.app, binaryDiff flag: FALSE
        dst_ipa: /Users/zapopan/Library/Developer/CoreSimulator/Devices/E2EA9690-D9FC-4EC6-8694-F98088A3E27F/data/Library/Caches/com.apple.mobile.installd.staging/temp.etLzYc/extracted
May 14 12:21:33 Zapopans-Mini installd[322]: 0xb0115000 createDictFromFile: open failed for /Users/zapopan/Library/Developer/CoreSimulator/Devices/E2EA9690-D9FC-4EC6-8694-F98088A3E27F/data/Containers/Bundle/Application/207E369D-F7A8-45AF-A4F8-7F677F2CE38C/ManifestCache.plist : No such file or directory
May 14 12:21:33 Zapopans-Mini installd[322]: 0xb0219000 __MDMDirectoryDiff_block_invoke29: calling writeDictToFile with: /Users/zapopan/Library/Developer/CoreSimulator/Devices/E2EA9690-D9FC-4EC6-8694-F98088A3E27F/data/Library/Caches/com.apple.mobile.installd.staging/temp.etLzYc/extracted/ManifestCache.plist
May 14 12:21:33 Zapopans-Mini installd[322]: 0xb0219000 writeDictToFile: ==== Successfully wrote Manifest cache to /Users/zapopan/Library/Developer/CoreSimulator/Devices/E2EA9690-D9FC-4EC6-8694-F98088A3E27F/data/Library/Caches/com.apple.mobile.installd.staging/temp.etLzYc/extracted/ManifestCache.plist
May 14 12:21:33 Zapopans-Mini installd[322]: 0xb0115000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundlePatch ID=com.X; Version=01, ShortVersion=3.13>
May 14 12:21:33 Zapopans-Mini installd[322]: 0xb0115000 -[MIInstallableBundlePatch applyPatchWithError:]: Attempting patch update of com.X from 01 (3.13) to 01 (3.13)
May 14 12:21:33 Zapopans-Mini SpringBoard[327]: Killing com.X for termination assertion
May 14 12:21:33 Zapopans-Mini pkd[350]: releasing plug-in hold 7E4C76EA-7B11-4808-A8F7-206E3325F07C for dead client pid 327
May 14 12:21:33 Zapopans-Mini installd[322]: 0xb0115000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for com.X is now at /Users/zapopan/Library/Developer/CoreSimulator/Devices/E2EA9690-D9FC-4EC6-8694-F98088A3E27F/data/Containers/Data/Application/0760A29F-D12B-4535-B044-B2DB3EEDAFC2
May 14 12:21:33 Zapopans-Mini installd[322]: 0xb0115000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.X at /Users/zapopan/Library/Developer/CoreSimulator/Devices/E2EA9690-D9FC-4EC6-8694-F98088A3E27F/data/Containers/Bundle/Application/EA050EDD-752D-4722-B869-117E125AE43C
May 14 12:21:33 Zapopans-Mini installd[322]: 0xb0115000 -[MIInstaller performInstallationWithError:]: Staging: 0.03s; Waiting: 0.00s; Installation: 0.06s; Overall: 0.09s
May 14 12:21:33 Zapopans-Mini CoreSimulatorBridge[335]: LaunchServices: NotifiedObservers <LSApplicationProxy: 0x79e343e0> com.X was installed
May 14 12:21:33 Zapopans-Mini lsd[359]: LaunchServices: Updating identifier store
May 14 12:21:33 Zapopans-Mini /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libexec/lsd[359]: LaunchServices: Failed to set the data protection class for /Users/zapopan/Library/Developer/CoreSimulator/Devices/E2EA9690-D9FC-4EC6-8694-F98088A3E27F/data/tmp/com.apple.IconsCache/[email protected][email protected][email protected][email protected]
May 14 12:21:33 Zapopans-Mini SpringBoard[327]: Installed apps did change.
    Added: {(
    )}
    Removed: {(
    )}
    Modified: {(
        "com.X"
    )}
May 14 12:21:34 Zapopans-Mini assertiond[331]: assertion failed: 14B25 12F69: assertiond + 14647 [D82D8D7B-5253-3300-B083-B6F739F68355]: 0x1
May 14 12:21:34 Zapopans-Mini splashboardd[1095]: *** Assertion failure in -[UINib initWithNibName:directory:bundle:], /SourceCache/UIKit_Sim/UIKit-3347.44/UINib.m:98
May 14 12:21:34 Zapopans-Mini splashboardd[1095]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: (name != nil) && ([name length] > 0)'
    *** First throw call stack:
    (
        0   CoreFoundation                      0x02229746 __exceptionPreprocess + 182
        1   libobjc.A.dylib                     0x01e84a97 objc_exception_throw + 44
        2   CoreFoundation                      0x022295da +[NSException raise:format:arguments:] + 138
        3   Foundation                          0x01a49720 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
        4   UIKit                               0x00ae2b22 -[UINib initWithNibName:directory:bundle:] + 174
        5   UIKit                               0x00ae2c50 +[UINib nibWithNibName:bundle:] + 79
        6   splashboardd                        0x000ad792 splashboardd + 6034
        7   libdispatch.dylib                   0x02a7aecf _dispatch_client_callout + 14
        8   libdispatch.dylib                   0x02a65e96 _dispatch_barrier_sync_f_slow_invoke + 54
        9   libdispatch.dylib                   0x02a7aecf _dispatch_client_callout + 14
        10  libdispatch.dylib                   0x02a63ee3 _dispatch_main_queue_callback_4CF + 677
        11  CoreFoundation                      0x021828ee __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
        12  CoreFoundation                      0x021405f0 __CFRunLoopRun + 2256
        13  CoreFoundation                      0x0213fa5b CFRunLoopRunSpecific + 443
        14  CoreFoundation                      0x0213f88b CFRunLoopRunInMode + 123
        15  Foundation                          0x019de2d8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 309
        16  Foundation                          0x01a7c80b -[NSRunLoop(NSRunLoop) run] + 82
        17  splashboardd                        0x000ade17 splashboardd + 7703
        18  libdyld.dylib                       0x02aa0ac9 start + 1
    )
May 14 12:21:34 Zapopans-Mini SpringBoard[327]: BSXPCMessage received error for message: Connection interrupted
May 14 12:21:34 Zapopans-Mini com.apple.CoreSimulator.SimDevice.E2EA9690-D9FC-4EC6-8694-F98088A3E27F.launchd_sim[274] (com.apple.splashboard.F8F3E08F-9612-4747-8F2F-19663B091A18[1095]): Service exited due to signal: Abort trap: 6
May 14 12:21:36 Zapopans-Mini XiOS[1094]: WARNING: The runtime version supported by this application is unavailable.
May 14 12:21:36 Zapopans-Mini XiOS[1094]: Using default runtime: v4.0.30319
May 14 12:21:37 Zapopans-Mini XiOS[1094]: assertion failed: 14B25 12F69: libxpc.dylib + 69007 [21968CDD-4DA7-390D-9264-D74A6FA6AF2B]: 0x7d
May 14 12:21:37 Zapopans-Mini assertiond[331]: assertion failed: 14B25 12F69: assertiond + 14647 [D82D8D7B-5253-3300-B083-B6F739F68355]: 0x1
May 14 12:21:37 Zapopans-Mini SpringBoard[327]: [MPUSystemMediaControls] Updating supported commands for now playing application.

Posts

  • NarcisCalvetNarcisCalvet USMember

    @15mgm15 I came across a similar problem and looks like to be bug number 29211, which has been fixed.

  • DannyNLDannyNL USUniversity ✭✭

    Same issue here, but it seems the bug has not yet been resolved in available channels. The linkskip workaround however as mentioned in bug 29211 works for me (though I had issues referencing System.Threading.Tasks instead of System.IO.Compression...

Sign In or Register to comment.