microsoftconnect/intune-app-wrapping-tool-ios

Wrapped App Crashing after Initial login

livetoautomate opened this issue · 4 comments

Describe the bug:
A custom mobile app crashes after Intune/MSAL login during first launch.

The iOS app was compiled with Xcode 14 and wrapped with wrapping tool (v17.3.2). There were no errors in the logs from the wrapping process.

To Reproduce
Steps to reproduce the behavior:

  1. Install Mobile App (Success)
  2. Launch Mobile App (Sign-In with Microsoft Login)
  3. App shows "Your organization is now managing...", Click Ok
  4. When launching app, it repeatedly crashes.

Expected behavior:
After the app closes (step 3, above), the app should launch and enforce app protection policies and display the standard app landing page.

Screenshots and logs:
_App Crash Log Below. Sanitized. _

{"app_name":"Mobile","timestamp":"2023-03-28 08:34:23.00 -0500","app_version":"4.0.1.0","slice_uuid":"5b5514f2-3285-363f-a294-453375253953","build_version":"20230329.4.3.0","platform":2,"bundleID":"com.","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"iPhone OS 15.6.1 (19G82)","incident_id":"A377F961-9B21-4564-A397-7D6CAE67E7CF","name":"Mobile"}
{
"uptime" : 6300,
"procLaunch" : "2023-03-28 08:34:22.7807 -0500",
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "iPhone13,2",
"procStartAbsTime" : 152762159273,
"coalitionID" : 633,
"osVersion" : {
"isEmbedded" : true,
"train" : "iPhone OS 15.6.1",
"releaseType" : "User",
"build" : "19G82"
},
"captureTime" : "2023-03-28 08:34:22.9658 -0500",
"incident" : "A377F961-9B21-4564-A397-7D6CAE67E7CF",
"bug_type" : "309",
"pid" : 1415,
"procExitAbsTime" : 152766526356,
"cpuType" : "ARM-64",
"procName" : "Mobile",
"procPath" : "/private/var/containers/Bundle/Application/03757669-AB0C-4B30-9A13-4811040F557A/Mobile.app/Mobile",
"bundleInfo" : {"CFBundleShortVersionString":"4.0.1.0","CFBundleVersion":"20230329.4.3.0","CFBundleIdentifier":"com.","DTAppStoreToolsBuild":"14A309"},
"storeInfo" : {"deviceIdentifierForVendor":"F3DFBCE6-E58D-4733-9E7E-F6D0B864B0C6","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.",
"crashReporterKey" : "d87c49920f076f84ef3b5374b1070e323d98d8a5",
"basebandVersion" : "2.70.01",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"asi" : {"libsystem_c.dylib":["abort() called"]},
"lastExceptionBacktrace" : [{"imageOffset":627336,"symbol":"__exceptionPreprocess","symbolLocation":220,"imageIndex":9},{"imageOffset":91972,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":18},{"imageOffset":1535936,"symbol":"+[NSObject(NSObject) _copyDescription]","symbolLocation":0,"imageIndex":9},{"imageOffset":188056,"symbol":"forwarding","symbolLocation":1764,"imageIndex":9},{"imageOffset":184176,"symbol":"_CF_forwarding_prep_0","symbolLocation":96,"imageIndex":9},{"imageOffset":118548,"symbol":"-[MSALAccount initWithMSIDAccount:createTenantProfile:]","symbolLocation":92,"imageIndex":21},{"imageOffset":139500,"symbol":"-[MSALAccountsProvider msalAccountsFromMSIDAccounts:externalAccounts:]","symbolLocation":284,"imageIndex":21},{"imageOffset":139116,"symbol":"-[MSALAccountsProvider filteredAccountsForParameters:msidAccounts:includeExternalAccounts:]","symbolLocation":896,"imageIndex":21},{"imageOffset":138072,"symbol":"-[MSALAccountsProvider accountsForParameters:authority:brokerAccounts:error:]","symbolLocation":864,"imageIndex":21},{"imageOffset":137168,"symbol":"-[MSALAccountsProvider accountsForParameters:authority:error:]","symbolLocation":72,"imageIndex":21},{"imageOffset":61744,"symbol":"-[MSALPublicClientApplication accountsForParameters:error:]","symbolLocation":764,"imageIndex":21},{"imageOffset":1002192,"imageIndex":6},{"imageOffset":1000952,"imageIndex":6},{"imageOffset":998184,"imageIndex":6},{"imageOffset":2620636,"imageIndex":6},{"imageOffset":2862968,"imageIndex":6},{"imageOffset":2863616,"imageIndex":6},{"imageOffset":1485076,"imageIndex":6},{"imageOffset":1487668,"imageIndex":6},{"imageOffset":7788,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":1},{"imageOffset":14896,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":1},{"imageOffset":45348,"symbol":"_dispatch_lane_serial_drain","symbolLocation":668,"imageIndex":1},{"imageOffset":48256,"symbol":"_dispatch_lane_invoke","symbolLocation":392,"imageIndex":1},{"imageOffset":91392,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":648,"imageIndex":1},{"imageOffset":4284,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":13},{"imageOffset":3676,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":13}],
"faultingThread" : 4,
"threads" : [{"id":153095,"queue":"com.apple.main-thread","frames":[{"imageOffset":5280,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":6884,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":124536,"symbol":"_dispatch_mach_send_and_wait_for_reply","symbolLocation":540,"imageIndex":1},{"imageOffset":125440,"symbol":"dispatch_mach_send_with_result_and_wait_for_reply","symbolLocation":60,"imageIndex":1},{"imageOffset":57100,"symbol":"xpc_connection_send_message_with_reply_sync","symbolLocation":240,"imageIndex":2},{"imageOffset":261196,"symbol":"NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY","symbolLocation":16,"imageIndex":3},{"imageOffset":285980,"symbol":"-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]","symbolLocation":2540,"imageIndex":3},{"imageOffset":794596,"symbol":"-[NSXPCConnection _sendSelector:withProxy:arg1:arg2:arg3:arg4:]","symbolLocation":160,"imageIndex":3},{"imageOffset":562604,"symbol":"_NSXPCDistantObjectSimpleMessageSend4","symbolLocation":92,"imageIndex":3},{"imageOffset":195800,"symbol":"__44-[TKRemoteSEPKey computeSharedSecret:error:]_block_invoke","symbolLocation":328,"imageIndex":4},{"imageOffset":13428,"symbol":"-[TKRemoteSEPKey withError:invoke:]","symbolLocation":484,"imageIndex":4},{"imageOffset":195404,"symbol":"-[TKRemoteSEPKey computeSharedSecret:error:]","symbolLocation":148,"imageIndex":4},{"imageOffset":132308,"symbol":"__69-[TKSEPClientTokenObject operation:data:algorithms:parameters:error:]_block_invoke","symbolLocation":1684,"imageIndex":4},{"imageOffset":128444,"symbol":"-[TKSEPClientTokenObject withError:invoke:]","symbolLocation":220,"imageIndex":4},{"imageOffset":130520,"symbol":"-[TKSEPClientTokenObject operation:data:algorithms:parameters:error:]","symbolLocation":220,"imageIndex":4},{"imageOffset":673976,"symbol":"SecCTKKeyCopyOperationResult","symbolLocation":292,"imageIndex":5},{"imageOffset":98744,"symbol":"SecKeyRunAlgorithmAndCopyResult","symbolLocation":324,"imageIndex":5},{"imageOffset":796760,"symbol":"SecKeyECDHCopyX963Result","symbolLocation":68,"imageIndex":5},{"imageOffset":99616,"symbol":"SecKeyRunAlgorithmAndCopyResult","symbolLocation":1196,"imageIndex":5},{"imageOffset":801052,"symbol":"SecKeyECIESKeyExchangeKDFX963CopyResult","symbolLocation":528,"imageIndex":5},{"imageOffset":798616,"symbol":"SecKeyECIESCopyDecryptedData","symbolLocation":376,"imageIndex":5},{"imageOffset":99616,"symbol":"SecKeyRunAlgorithmAndCopyResult","symbolLocation":1196,"imageIndex":5},{"imageOffset":790828,"symbol":"SecKeyCreateDecryptedDataWithParameters","symbolLocation":148,"imageIndex":5},{"imageOffset":1140632,"imageIndex":6},{"imageOffset":1134636,"imageIndex":6},{"imageOffset":1123276,"imageIndex":6},{"imageOffset":2697388,"imageIndex":6},{"imageOffset":2702092,"imageIndex":6},{"imageOffset":563864,"imageIndex":6},{"imageOffset":564980,"imageIndex":6},{"imageOffset":560988,"imageIndex":6},{"imageOffset":560920,"imageIndex":6},{"imageOffset":2551880,"imageIndex":6},{"imageOffset":674356,"imageIndex":6},{"imageOffset":2673676,"imageIndex":6},{"imageOffset":3299908,"symbol":"-[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:]","symbolLocation":340,"imageIndex":7},{"imageOffset":5294712,"symbol":"-[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:]","symbolLocation":3572,"imageIndex":7},{"imageOffset":5199480,"symbol":"-[UIApplication _runWithMainScene:transitionContext:completion:]","symbolLocation":1180,"imageIndex":7},{"imageOffset":3486120,"symbol":"-[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:]","symbolLocation":152,"imageIndex":7},{"imageOffset":1758588,"symbol":"_UIScenePerformActionsWithLifecycleActionMask","symbolLocation":104,"imageIndex":7},{"imageOffset":2982032,"symbol":"__101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke","symbolLocation":216,"imageIndex":7},{"imageOffset":4161504,"symbol":"-[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]","symbolLocation":248,"imageIndex":7},{"imageOffset":6515800,"symbol":"-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]","symbolLocation":772,"imageIndex":7},{"imageOffset":6037984,"symbol":"-[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]","symbolLocation":340,"imageIndex":7},{"imageOffset":1762152,"symbol":"__186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke","symbolLocation":196,"imageIndex":7},{"imageOffset":2548672,"symbol":"+[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:]","symbolLocation":892,"imageIndex":7},{"imageOffset":1770092,"symbol":"_UISceneSettingsDiffActionPerformChangesWithTransitionContext","symbolLocation":276,"imageIndex":7},{"imageOffset":2729284,"symbol":"-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]","symbolLocation":384,"imageIndex":7},{"imageOffset":7467584,"symbol":"__64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.615","symbolLocation":776,"imageIndex":7},{"imageOffset":1959500,"symbol":"-[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:]","symbolLocation":256,"imageIndex":7},{"imageOffset":2236332,"symbol":"-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]","symbolLocation":288,"imageIndex":7},{"imageOffset":3506092,"symbol":"-[UIApplication workspace:didCreateScene:withTransitionContext:completion:]","symbolLocation":584,"imageIndex":7},{"imageOffset":2721800,"symbol":"-[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:]","symbolLocation":388,"imageIndex":7},{"imageOffset":168596,"symbol":"-[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:]","symbolLocation":440,"imageIndex":8},{"imageOffset":323728,"symbol":"__94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.215","symbolLocation":128,"imageIndex":8},{"imageOffset":41736,"symbol":"-[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]","symbolLocation":240,"imageIndex":8},{"imageOffset":47448,"symbol":"__94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke","symbolLocation":372,"imageIndex":8},{"imageOffset":14896,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":1},{"imageOffset":29920,"symbol":"_dispatch_block_invoke_direct","symbolLocation":264,"imageIndex":1},{"imageOffset":48240,"symbol":"FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK","symbolLocation":48,"imageIndex":8},{"imageOffset":45120,"symbol":"-[FBSSerialQueue _targetQueue_performNextIfPossible]","symbolLocation":220,"imageIndex":8},{"imageOffset":63232,"symbol":"-[FBSSerialQueue _performNextFromRunLoopSource]","symbolLocation":28,"imageIndex":8},{"imageOffset":766996,"symbol":"CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION","symbolLocation":28,"imageIndex":9},{"imageOffset":836000,"symbol":"__CFRunLoopDoSource0","symbolLocation":208,"imageIndex":9},{"imageOffset":22164,"symbol":"__CFRunLoopDoSources0","symbolLocation":268,"imageIndex":9},{"imageOffset":45148,"symbol":"__CFRunLoopRun","symbolLocation":828,"imageIndex":9},{"imageOffset":125896,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":9},{"imageOffset":4980,"symbol":"GSEventRunModal","symbolLocation":164,"imageIndex":10},{"imageOffset":5327704,"symbol":"-[UIApplication _run]","symbolLocation":1100,"imageIndex":7},{"imageOffset":2711696,"symbol":"UIApplicationMain","symbolLocation":364,"imageIndex":7},{"imageOffset":2595392,"imageIndex":6},{"imageOffset":86284,"imageIndex":11},{"imageOffset":105892,"symbol":"start","symbolLocation":520,"imageIndex":12}]},{"id":153096,"queue":"com.apple.UIKit.KeyboardManagement","frames":[{"imageOffset":8504,"symbol":"__ulock_wait","symbolLocation":8,"imageIndex":0},{"imageOffset":17440,"symbol":"_dlock_wait","symbolLocation":56,"imageIndex":1},{"imageOffset":16852,"symbol":"_dispatch_thread_event_wait_slow","symbolLocation":56,"imageIndex":1},{"imageOffset":77680,"symbol":"DISPATCH_WAIT_FOR_QUEUE","symbolLocation":356,"imageIndex":1},{"imageOffset":76584,"symbol":"_dispatch_sync_f_slow","symbolLocation":144,"imageIndex":1},{"imageOffset":3598880,"symbol":"__37-[_UIRemoteKeyboards startConnection]block_invoke_3","symbolLocation":136,"imageIndex":7},{"imageOffset":138020,"symbol":"invoking","symbolLocation":148,"imageIndex":9},{"imageOffset":259600,"symbol":"-[NSInvocation invoke]","symbolLocation":468,"imageIndex":9},{"imageOffset":219416,"symbol":"NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK","symbolLocation":24,"imageIndex":3},{"imageOffset":356180,"symbol":"-[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:]","symbolLocation":572,"imageIndex":3},{"imageOffset":201824,"symbol":"__88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3","symbolLocation":212,"imageIndex":3},{"imageOffset":112300,"symbol":"_xpc_connection_reply_callout","symbolLocation":124,"imageIndex":2},{"imageOffset":60364,"symbol":"_xpc_connection_call_reply_async","symbolLocation":88,"imageIndex":2},{"imageOffset":15024,"symbol":"_dispatch_client_callout3","symbolLocation":20,"imageIndex":1},{"imageOffset":135700,"symbol":"_dispatch_mach_msg_async_reply_invoke","symbolLocation":340,"imageIndex":1},{"imageOffset":45056,"symbol":"_dispatch_lane_serial_drain","symbolLocation":376,"imageIndex":1},{"imageOffset":48308,"symbol":"_dispatch_lane_invoke","symbolLocation":444,"imageIndex":1},{"imageOffset":91392,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":648,"imageIndex":1},{"imageOffset":4284,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":13},{"imageOffset":3676,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":13}]},{"id":153097,"name":"JavaScriptCore libpas scavenger","frames":[{"imageOffset":7972,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":33432,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":13},{"imageOffset":962888,"symbol":"scavenger_thread_main","symbolLocation":1232,"imageIndex":14},{"imageOffset":6572,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":13},{"imageOffset":3688,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":153098,"name":"WebThread","frames":[{"imageOffset":5280,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":6884,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":27952,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":9},{"imageOffset":45500,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":9},{"imageOffset":125896,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":9},{"imageOffset":12492188,"symbol":"RunWebThread(void*)","symbolLocation":760,"imageIndex":15},{"imageOffset":6572,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":13},{"imageOffset":3688,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"triggered":true,"id":153099,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":8352219381},{"value":6139520048},{"value":110},{"value":1536},{"value":9252249252504914295},{"value":9252249257406921079},{"value":512},{"value":11},{"value":11},{"value":7938026143},{"value":8352219419},{"value":0},{"value":328},{"value":6139523072},{"value":0},{"value":6},{"value":11531},{"value":6139523296},{"value":0},{"value":6139523296},{"value":0},{"value":10780200552},{"value":276},{"value":0},{"value":10758326400}],"flavor":"ARM_THREAD_STATE64","lr":{"value":9840325564},"cpsr":{"value":1073745920},"fp":{"value":6139519904},"sp":{"value":6139519872},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8869944120,"matchesCrashFrame":1},"far":{"value":9391598336}},"queue":"com.microsoft.intune.mam.telemetry","frames":[{"imageOffset":31544,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":29628,"symbol":"pthread_kill","symbolLocation":268,"imageIndex":13},{"imageOffset":132388,"symbol":"abort","symbolLocation":168,"imageIndex":16},{"imageOffset":72572,"symbol":"abort_message","symbolLocation":132,"imageIndex":17},{"imageOffset":6596,"symbol":"demangling_terminate_handler()","symbolLocation":336,"imageIndex":17},{"imageOffset":117864,"symbol":"_objc_terminate()","symbolLocation":144,"imageIndex":18},{"imageOffset":69400,"symbol":"std::__terminate(void ()())","symbolLocation":20,"imageIndex":17},{"imageOffset":69300,"symbol":"std::terminate()","symbolLocation":64,"imageIndex":17},{"imageOffset":14916,"symbol":"_dispatch_client_callout","symbolLocation":40,"imageIndex":1},{"imageOffset":45348,"symbol":"_dispatch_lane_serial_drain","symbolLocation":668,"imageIndex":1},{"imageOffset":48256,"symbol":"_dispatch_lane_invoke","symbolLocation":392,"imageIndex":1},{"imageOffset":91392,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":648,"imageIndex":1},{"imageOffset":4284,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":13},{"imageOffset":3676,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":13}]},{"id":153102,"frames":[{"imageOffset":3668,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":13}]},{"id":153103,"queue":"com.microsoft.intune.mam.logging","frames":[{"imageOffset":9440,"symbol":"pthread_mutex_unlock","symbolLocation":0,"imageIndex":13},{"imageOffset":61948,"symbol":"std::__1::mutex::unlock()","symbolLocation":16,"imageIndex":19},{"imageOffset":784688,"imageIndex":20},{"imageOffset":773048,"symbol":"ures_getByKeyWithFallback","symbolLocation":292,"imageIndex":20},{"imageOffset":585024,"symbol":"ucurr_getName","symbolLocation":1264,"imageIndex":20},{"imageOffset":589276,"symbol":"uprv_getStaticCurrencyName","symbolLocation":56,"imageIndex":20},{"imageOffset":1157452,"symbol":"icu::DecimalFormatSymbols::setCurrency(char16_t const, UErrorCode&)","symbolLocation":144,"imageIndex":20},{"imageOffset":1152856,"symbol":"icu::DecimalFormatSymbols::initialize(icu::Locale const&, UErrorCode&, signed char, icu::NumberingSystem const*)","symbolLocation":1304,"imageIndex":20},{"imageOffset":1154076,"symbol":"icu::DecimalFormatSymbols::DecimalFormatSymbols(icu::Locale const&, icu::NumberingSystem const&, UErrorCode&)","symbolLocation":332,"imageIndex":20},{"imageOffset":1569120,"imageIndex":20},{"imageOffset":1565916,"imageIndex":20},{"imageOffset":1562720,"symbol":"icu::number::LocalizedNumberFormatter::formatImpl(icu::number::impl::UFormattedNumberData*, UErrorCode&) const","symbolLocation":132,"imageIndex":20},{"imageOffset":2019776,"symbol":"icu::SimpleDateFormat::zeroPaddingNumber(icu::NumberFormat const*, icu::UnicodeString&, int, int, int) const","symbolLocation":756,"imageIndex":20},{"imageOffset":2013380,"symbol":"icu::SimpleDateFormat::subFormat(icu::UnicodeString&, char16_t, int, UDisplayContext, int, char16_t, icu::FieldPositionHandler&, icu::Calendar&, UErrorCode&) const","symbolLocation":1668,"imageIndex":20},{"imageOffset":2011228,"symbol":"icu::SimpleDateFormat::_format(icu::Calendar&, icu::UnicodeString&, icu::FieldPositionHandler&, UErrorCode&) const","symbolLocation":520,"imageIndex":20},{"imageOffset":2010676,"symbol":"icu::SimpleDateFormat::format(icu::Calendar&, icu::UnicodeString&, icu::FieldPosition&) const","symbolLocation":84,"imageIndex":20},{"imageOffset":1140560,"symbol":"icu::DateFormat::format(double, icu::UnicodeString&, icu::FieldPosition&) const","symbolLocation":176,"imageIndex":20},{"imageOffset":2230112,"symbol":"udat_format","symbolLocation":352,"imageIndex":20},{"imageOffset":256952,"symbol":"__cficu_udat_format","symbolLocation":68,"imageIndex":9},{"imageOffset":313880,"symbol":"CFDateFormatterCreateStringWithAbsoluteTime","symbolLocation":172,"imageIndex":9},{"imageOffset":164328,"symbol":"-[NSDateFormatter stringForObjectValue:]","symbolLocation":180,"imageIndex":3},{"imageOffset":1029116,"imageIndex":6},{"imageOffset":728136,"imageIndex":6},{"imageOffset":2481056,"imageIndex":6},{"imageOffset":2482652,"imageIndex":6},{"imageOffset":2482252,"imageIndex":6},{"imageOffset":7788,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":1},{"imageOffset":14896,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":1},{"imageOffset":45348,"symbol":"_dispatch_lane_serial_drain","symbolLocation":668,"imageIndex":1},{"imageOffset":48256,"symbol":"_dispatch_lane_invoke","symbolLocation":392,"imageIndex":1},{"imageOffset":91392,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":648,"imageIndex":1},{"imageOffset":4284,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":13},{"imageOffset":3676,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":13}]},{"id":153104,"frames":[{"imageOffset":6700,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":0},{"imageOffset":20708,"symbol":"nanosleep","symbolLocation":220,"imageIndex":16},{"imageOffset":507112,"symbol":"+[NSThread sleepForTimeInterval:]","symbolLocation":160,"imageIndex":3},{"imageOffset":1505016,"imageIndex":6},{"imageOffset":14896,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":1},{"imageOffset":21168,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":1},{"imageOffset":2297352,"imageIndex":6},{"imageOffset":7788,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":1},{"imageOffset":14896,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":1},{"imageOffset":45348,"symbol":"_dispatch_lane_serial_drain","symbolLocation":668,"imageIndex":1},{"imageOffset":48256,"symbol":"_dispatch_lane_invoke","symbolLocation":392,"imageIndex":1},{"imageOffset":91392,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":648,"imageIndex":1},{"imageOffset":4284,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":13},{"imageOffset":3676,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":13}]},{"id":153105,"name":"com.apple.uikit.eventfetch-thread","frames":[{"imageOffset":5280,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":6884,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":27952,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":9},{"imageOffset":45500,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":9},{"imageOffset":125896,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":9},{"imageOffset":103492,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":236,"imageIndex":3},{"imageOffset":372236,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":92,"imageIndex":3},{"imageOffset":4779204,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":524,"imageIndex":7},{"imageOffset":431132,"symbol":"NSThread__start","symbolLocation":808,"imageIndex":3},{"imageOffset":6572,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":13},{"imageOffset":3688,"symbol":"thread_start","symbolLocation":8,"imageIndex":13}]},{"id":153106,"frames":[{"imageOffset":3668,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":13}]},{"id":153107,"frames":[{"imageOffset":3668,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":13}]},{"id":153108,"frames":[{"imageOffset":3668,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":13}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 8869912576,
"size" : 221184,
"uuid" : "1fb39303-587b-320e-aeb8-e51a54c8a4a9",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7930843136,
"size" : 286720,
"uuid" : "e3ea4f63-5d11-342a-af19-9f58dbc8e259",
"path" : "/usr/lib/system/libdispatch.dylib",
"name" : "libdispatch.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 9840406528,
"size" : 249856,
"uuid" : "b1832133-79dc-3e42-b704-ef71f75a577e",
"path" : "/usr/lib/system/libxpc.dylib",
"name" : "libxpc.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7959134208,
"size" : 3190784,
"uuid" : "ee1abaf2-3d71-37fb-9067-15aa79528619",
"path" : "/System/Library/Frameworks/Foundation.framework/Foundation",
"name" : "Foundation"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8472641536,
"size" : 385024,
"uuid" : "e1fde3c2-8253-31a3-8e9a-1047433421c5",
"path" : "/System/Library/Frameworks/CryptoTokenKit.framework/CryptoTokenKit",
"name" : "CryptoTokenKit"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8085377024,
"size" : 1536000,
"uuid" : "c1632a45-171a-367e-99a1-05c7f5142b19",
"path" : "/System/Library/Frameworks/Security.framework/Security",
"name" : "Security"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4347379712,
"size" : 3948544,
"uuid" : "aee68403-dcbe-3d30-9c60-2ac7f722e5ca",
"path" : "/private/var/containers/Bundle/Application/03757669-AB0C-4B30-9A13-4811040F557A/Mobile.app/Frameworks/IntuneMAMSwift.framework/IntuneMAMSwift",
"name" : "IntuneMAMSwift"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7972265984,
"size" : 25812992,
"uuid" : "137a95aa-da6d-332c-bc01-e13bb9b6e317",
"path" : "/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore",
"name" : "UIKitCore"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8238743552,
"size" : 708608,
"uuid" : "a314664d-1369-370a-b222-a180669b4f11",
"path" : "/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices",
"name" : "FrontBoardServices"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7934001152,
"size" : 4546560,
"uuid" : "6b22dd81-3585-3be6-bc77-ba19810ec0f2",
"path" : "/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation",
"name" : "CoreFoundation"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8405372928,
"size" : 36864,
"uuid" : "a094e7b5-1d40-37c5-9027-56d86988ec4b",
"path" : "/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices",
"name" : "GraphicsServices"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4329930752,
"size" : 12353536,
"uuid" : "5b5514f2-3285-363f-a294-453375253953",
"path" : "/private/var/containers/Bundle/Application/03757669-AB0C-4B30-9A13-4811040F557A/Mobile.app/Mobile",
"name" : "Mobile"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4343709696,
"size" : 360448,
"uuid" : "66e1fb26-68f8-379b-a052-eb8b8291b5e1",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 9840295936,
"size" : 49152,
"uuid" : "adc41700-002e-3a2b-b4a1-eb5fbf575770",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8121053184,
"size" : 21516288,
"uuid" : "e76b377f-c862-395a-9439-d12b09a59e07",
"path" : "/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore",
"name" : "JavaScriptCore"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8194207744,
"size" : 39231488,
"uuid" : "46356aa1-0f25-3215-915e-dbc81e3b4699",
"path" : "/System/Library/PrivateFrameworks/WebCore.framework/WebCore",
"name" : "WebCore"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8120168448,
"size" : 524288,
"uuid" : "86a1a24a-ce35-3769-ba69-60f28353281e",
"path" : "/usr/lib/system/libsystem_c.dylib",
"name" : "libsystem_c.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8352133120,
"size" : 98304,
"uuid" : "d00067b2-0a7a-3cb9-b4d4-07b160da261b",
"path" : "/usr/lib/libc++abi.dylib",
"name" : "libc++abi.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8351019008,
"size" : 249856,
"uuid" : "f6368be9-109b-3405-b282-624040529afd",
"path" : "/usr/lib/libobjc.A.dylib",
"name" : "libobjc.A.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 8351711232,
"size" : 421888,
"uuid" : "17cea4f6-e393-3bea-b897-1bf33851a14b",
"path" : "/usr/lib/libc++.1.dylib",
"name" : "libc++.1.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7931183104,
"size" : 2818048,
"uuid" : "642d2a48-fbff-3faf-b8db-483216b87dd3",
"path" : "/usr/lib/libicucore.A.dylib",
"name" : "libicucore.A.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4345446400,
"size" : 1032192,
"uuid" : "8d1a4086-0833-32a3-81d2-3dd816974e5b",
"path" : "/private/var/containers/Bundle/Application/03757669-AB0C-4B30-9A13-4811040F557A/Mobile.app/Frameworks/MSAL.framework/MSAL",
"name" : "MSAL"
}
],
"sharedCache" : {
"base" : 7930511360,
"size" : 2573058048,
"uuid" : "004ddbdb-1a9c-3f9c-9d17-1d9ec4e68e5d"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=836.9M resident=0K(0%) swapped_out_or_unallocated=836.9M(100%)\nWritable regions: Total=744.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=744.3M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 32K 2 \nCoreAnimation 16K 1 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 576.6M 39 \nMALLOC guard page 128K 8 \nSTACK GUARD 192K 12 \nStack 7280K 12 \nVM_ALLOCATE 144K 1 \nWebKit Malloc 160.0M 4 \n__AUTH 4476K 499 \n__AUTH_CONST 24.9M 655 \n__CTF 756 1 \n__DATA 17.4M 650 \n__DATA_CONST 25.6M 665 \n__DATA_DIRTY 2740K 553 \n__FONT_DATA 4K 1 \n__LINKEDIT 188.0M 8 \n__OBJC_CONST 6144K 452 \n__OBJC_RO 92.2M 1 \n__OBJC_RW 3536K 1 \n__TEXT 649.0M 675 \n__UNICODE 592K 1 \ndyld private memory 1024K 1 \nmapped file 29.8M 5 \nshared memory 48K 3 \n=========== ======= ======= \nTOTAL 1.7G 4253 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.microsoft.intune.mam.telemetry"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "60186475825c62000ccf5450",
"factorPackIds" : {
"SIRI_VALUE_INFERENCE_CONTACT_RESOLUTION" : "6297dea983aafb67ec2c9c2f"
},
"deploymentId" : 240000026
},
{
"rolloutId" : "61301e3a61217b3110231469",
"factorPackIds" : {
"SIRI_FIND_MY_CONFIGURATION_FILES" : "6348493aa52bb16adc4e4d06"
},
"deploymentId" : 240000023
}
],
"experiments" : [

]
}
}

Smartphone (please complete the following information):

  • Device: iPhone 12
  • OS: 15.6.1
  • The app crashes on newer hardware with more recent iOS, too.

Intune app wrapping tool (please complete the following information):

  • What version of the wrapper are you using? Are you using the latest version? Latest, 17.3.2
  • What platform is your app based in (Java, Xamarin based, Cordova, etc)?
  • For pre-wrapping errors, does the app build without being wrapped? Yes
  • For post-wrapping errors, does the app launch without being wrapped? Yes
  • Who is the customer?
  • Do you see a trend with it only being reproduced on a specific device? No, It occurs on multiple devices and customers. The 3rd party that developed the app reported [to us] a separate customer has reported the same issue.

Additional context:
The same unwrapped app on the same device (different bundleid) launches without issue.

@darosal - Any thoughts on this?

Hi @bsmith05, thanks for reaching out! I'm looking into this now. Nothing immediately jumped out at me about the crash but it seems to be getting triggered by MSAL specific code that we call so I'm following up with them.

Hi @darosal - Any feedback from the PG for MSAL?

Thanks!

Developers noted that the app was originally compiled with the MSAL library. The note above "...but it seems to be getting triggered by MSAL specific code" prompted dev's to remove the MSAL library and compile again. After wrapping the new app, the crashing stopped.

This might be an opportunity to enhance the wrapping tool to check for MSAL before injecting it during wrapping.

Closing...