Skip to content

Instantly share code, notes, and snippets.

@powext
Created June 10, 2024 23:22
Show Gist options
  • Save powext/404171ac080a4d6ee2b98253f4ca863c to your computer and use it in GitHub Desktop.
Save powext/404171ac080a4d6ee2b98253f4ca863c to your computer and use it in GitHub Desktop.
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: 1FBF2F37-DD83-4FAE-83DB-1D5F939BD929
CrashReporter Key: 55C78E54-2CEA-D459-836B-B208E2242DA6
Hardware Model: MacBookPro18,1
Process: iPhone Mirroring [2896]
Path: /System/Applications/iPhone Mirroring.app/Contents/MacOS/iPhone Mirroring
Identifier: com.apple.ScreenContinuity
Version: 1.0 (1)
Code Type: ARM-64 (Native)
Role: Unspecified
Parent Process: Exited process [2006]
Coalition: com.apple.Terminal [1402]
Responsible Process: Terminal [1969]
Date/Time: 2024-06-11 01:13:11.7904 +0200
Launch Time: 2024-06-11 01:13:11.7893 +0200
OS Version: macOS 15.0 (24A5264n)
Release Type: User
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 4 Launch Constraint Violation
Triggered by Thread: 0
Thread 0 Crashed:
0 0x1006b0b30 _dyld_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000000000000000
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000
x16: 0x0000000000000000 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x0000000000000000 x21: 0x0000000000000000 x22: 0x0000000000000000 x23: 0x0000000000000000
x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x0000000000000000 lr: 0x0000000000000000
sp: 0x000000016fb6efb8 pc: 0x00000001006b0b30 cpsr: 0x00001000
far: 0x0000000000000000 esr: 0x00000000 Address size fault
Binary Images:
0x1006ac000 - 0x10072ffff (*) <94556bf3-ffa8-3dc8-aeae-d3d3a12c7f02> ???
0x100290000 - 0x10029ffff (*) <5c4c80fd-f4b3-3817-b770-fb0e97a16ccc> ???
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed
EOF
-----------
Full Report
-----------
{"app_name":"iPhone Mirroring","timestamp":"2024-06-11 01:13:12.00 +0200","app_version":"1.0","slice_uuid":"5c4c80fd-f4b3-3817-b770-fb0e97a16ccc","build_version":"1","platform":0,"bundleID":"com.apple.ScreenContinuity","share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 15.0 (24A5264n)","roots_installed":0,"name":"iPhone Mirroring","incident_id":"1FBF2F37-DD83-4FAE-83DB-1D5F939BD929"}
{
"uptime" : 270,
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,1",
"coalitionID" : 1402,
"osVersion" : {
"train" : "macOS 15.0",
"build" : "24A5264n",
"releaseType" : "User"
},
"captureTime" : "2024-06-11 01:13:11.7904 +0200",
"codeSigningMonitor" : 1,
"incident" : "1FBF2F37-DD83-4FAE-83DB-1D5F939BD929",
"pid" : 2896,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-06-11 01:13:11.7893 +0200",
"procStartAbsTime" : 6647673006,
"procExitAbsTime" : 6647693845,
"procName" : "iPhone Mirroring",
"procPath" : "\/System\/Applications\/iPhone Mirroring.app\/Contents\/MacOS\/iPhone Mirroring",
"bundleInfo" : {"CFBundleShortVersionString":"1.0","CFBundleVersion":"1","CFBundleIdentifier":"com.apple.ScreenContinuity"},
"buildInfo" : {"ProjectName":"ScreenSharingKit_macOS","SourceVersion":"21002000000000","BuildVersion":"1"},
"storeInfo" : {"deviceIdentifierForVendor":"67C5C06F-D24E-54A9-96AC-1EF02B69DD26"},
"parentProc" : "Exited process",
"parentPid" : 2006,
"coalitionName" : "com.apple.Terminal",
"crashReporterKey" : "55C78E54-2CEA-D459-836B-B208E2242DA6",
"responsiblePid" : 1969,
"responsibleProc" : "Terminal",
"codeSigningID" : "com.apple.ScreenContinuity",
"codeSigningTeamID" : "",
"codeSigningFlags" : 587299585,
"codeSigningValidationCategory" : 1,
"codeSigningTrustLevel" : 4294967295,
"instructionByteStream" : {"beforePC":"4AMA+cEDALAhUAyR4AMUqtZvAZQoAIBSaAIAOfH\/\/xcAAAAAAAAAAA==","atPC":"4AMAkR\/sfJIdAIDSHgCA0gcDABQfAACRYAAf1n8jA9X0T76p\/XsBqQ=="},
"bootSessionUUID" : "13A539E0-BC25-4919-B554-89C06DD4FD9D",
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
"termination" : {"flags":66,"code":4,"namespace":"CODESIGNING","indicator":"Launch Constraint Violation"},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":24117,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6169227192},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":4301982512,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":19248,"symbol":"_dyld_start","symbolLocation":0,"imageIndex":0}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 4301963264,
"size" : 540672,
"uuid" : "94556bf3-ffa8-3dc8-aeae-d3d3a12c7f02",
"name" : ""
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4297654272,
"size" : 65536,
"uuid" : "5c4c80fd-f4b3-3817-b770-fb0e97a16ccc",
"name" : ""
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
}
],
"vmSummary" : "ReadOnly portion of Libraries: Total=960K resident=0K(0%) swapped_out_or_unallocated=960K(100%)\nWritable regions: Total=8240K written=64K(1%) resident=64K(1%) swapped_out=0K(0%) unallocated=8176K(99%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nVM_ALLOCATE 16K 1 \n__DATA 32K 2 \n__DATA_CONST 48K 2 \n__DATA_DIRTY 16K 1 \n__LINKEDIT 368K 2 \n__TEXT 592K 2 \n__TPRO_CONST 288K 1 \nmapped file 4.2G 13 \npage table in kernel 64K 1 \n=========== ======= ======= \nTOTAL 4.3G 27 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"logWritingSignature" : "7020116c4239aeacceb60b8a148163c09d88118e",
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "645eb1d0417dab722a215927",
"factorPackIds" : {
},
"deploymentId" : 250000003
},
{
"rolloutId" : "63fe4dd2238e7b23a1f3067d",
"factorPackIds" : {
"SIRI_UNDERSTANDING_CAM_AB_TESTING" : "643938cae7268460c2e35a16"
},
"deploymentId" : 250000004
}
],
"experiments" : [
{
"treatmentId" : "c47ab4cc-c9c3-4b5d-a87c-e2433ce02597",
"experimentId" : "6639bc6ba73d460582162323",
"deploymentId" : 500000005
}
]
},
"reportNotes" : [
"dyld_process_snapshot_get_shared_cache failed"
]
}
@samdenty
Copy link

CleanShot 2024-06-11 at 18 57 50@2x

@jcevo
Copy link

jcevo commented Jun 12, 2024

CleanShot 2024-06-11 at 18 57 50@2x

me too

@jcevo
Copy link

jcevo commented Jun 12, 2024

image When I run those, I get this

@jocxfin Check System Settings -> Privacy and Security, there should be an allow button for the app made by "unknown developer"

Have you tested successfully?

@jaco
Copy link

jaco commented Jun 12, 2024

The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x600002e81560 {Error Domain=NSPOSIXErrorDomain Code=162 "Unknown error: 162" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}

@BlueFalconHD
Copy link

Can you try: sudo cp -r /System/Applications/iPhone\ Mirroring.app /Applications/iPhone\ Mirroring 2.app sudo codesign --force --deep --sign - /Applications/iPhone\ Mirroring 2.app sudo xattr -cr /Applications/iPhone\ Mirroring\ 2.app And run iPhone Mirroring 2.app, see if it works?

I resigned the application, and ran it successfully. I have SIP disabled so that might be why it ran. Even though it did run, nothing seemed to happen, other than the application successfully registering its docktileplugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment