Path of Building for Mac! 3.25-ready

I also encountered the libbrotlicommon.1.dylib can't be found issue in my M1 Max MBP. It's fixed in my side by copy the file form `/opt/homebrew/lib/libbrotlicommon.1.dylib` to `PathOfBuilding.app/Contents/Frameworks` folder manually in my machine. POB is working well in my side now.

I also rebuilt the new POB app in my local side, due to the libbrotlicommon.1.dylib in my machine is arm64 version, cannot use in the app from https://github.com/hsource/pobfrontend/releases/download/v2.21.1/PathOfBuilding.zip which is intel based.
Last edited by xrcc_poe on Dec 8, 2022, 4:23:02 AM
I've had the brotli related error, then after installing it via brew, I have another one. Any ideas?
I'm sitting on ventura with m1 chip.
"
w1zardd wrote:
I've had the brotli related error, then after installing it via brew, I have another one. Any ideas?
I'm sitting on ventura with m1 chip.


Looks like same as issue in my side. Install broti via brew cannot fix the issue. Copy the missing file to the application frameworks folder will fix it. I upload a copy of PoB in my side to here:

https://github.com/amlovey/PoBForM1/releases/download/2.21.1/PathOfBuilding.zip

You may try it to see if it works on your side.

If you ecnounter `App is s damaged and can’t be opened` error, fix the error by execute below command.

"
sudo xattr -d com.apple.quarantine [your path of PathOfBuilding.app]
Last edited by xrcc_poe on Dec 8, 2022, 8:44:22 AM
Same Issue here and did not understand
"
Looks like same as issue in my side. Install broti via brew cannot fix the issue. Copy the missing file to the application frameworks folder will fix it. I upload a copy of PoB in my side to here:

https://github.com/amlovey/PoBForM1/releases/download/2.21.1/PathOfBuilding.zip

You may try it to see if it works on your side.

If you ecnounter `App is s damaged and can’t be opened` error, fix the error by execute below command.

"
sudo xattr -d com.apple.quarantine [your path of PathOfBuilding.app]
I don't know how to quote on the forum, first time there.
It just crashed.
Here are logs. I erased UUIDs
Any chance it can be fixed until leaguestart?

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process: PathOfBuilding [58206]
Path: /Users/USER/Downloads/PathOfBuilding 2.app/Contents/MacOS/PathOfBuilding
Identifier: PathOfBuilding
Version: ???
Code Type: ARM-64 (Native)
Parent Process: Exited process [58205]
User ID: 501

Date/Time: 2022-12-08 18:08:21.2740 +0400
OS Version: macOS 13.0 (22A380)
Report Version: 12
Anonymous UUID: ***

Sleep/Wake UUID: ***

Time Awake Since Boot: 1000000 seconds
Time Since Wake: 28462 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes: UNKNOWN_0x32 at 0x0000000108220000
Exception Codes: 0x0000000000000032, 0x0000000108220000

Termination Reason: Namespace CODESIGNING, Code 2 Invalid Page

VM Region Info: 0x108220000 is in 0x108220000-0x10822c000; bytes after start: 0 bytes before end: 49151
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
mapped file 108214000-108220000 [ 48K] r--/rwx SM=COW ...t_id=d1fecda5
---> mapped file 108220000-10822c000 [ 48K] r-x/rwx SM=COW ...t_id=d08025a5
VM_ALLOCATE (reserved) 10822c000-108238000 [ 48K] rw-/rwx SM=NUL ...(unallocated)

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 dyld 0x1831a91bc dyld3::MachOFile::isMachO(Diagnostics&, unsigned long long) const + 40
1 dyld 0x183171f68 dyld4::Loader::mapSegments(Diagnostics&, dyld4::RuntimeState&, char const*, unsigned long long, dyld4::Loader::CodeSignatureInFile const&, bool, dyld3::Array<dyld4::Loader::Region> const&, bool, bool, dyld4::Loader::FileValidationInfo const&) + 984
2 dyld 0x183171f68 dyld4::Loader::mapSegments(Diagnostics&, dyld4::RuntimeState&, char const*, unsigned long long, dyld4::Loader::CodeSignatureInFile const&, bool, dyld3::Array<dyld4::Loader::Region> const&, bool, bool, dyld4::Loader::FileValidationInfo const&) + 984
3 dyld 0x18317a43c invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 88
4 dyld 0x183179dd8 dyld4::JustInTimeLoader::withRegions(dyld3::MachOFile const*, void (dyld3::Array<dyld4::Loader::Region> const&) block_pointer) + 292
5 dyld 0x18317a380 invocation function for block in dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 456
6 dyld 0x183181054 dyld4::SyscallDelegate::withReadOnlyMappedFile(Diagnostics&, char const*, bool, void (void const*, unsigned long, bool, dyld4::FileID const&, char const*) block_pointer) const + 132
7 dyld 0x18317a184 dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 208
8 dyld 0x18317110c invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 1260
9 dyld 0x183170604 dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 776
10 dyld 0x18315e9b4 dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const*, dyld3::Platform, bool, bool, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const + 688
11 dyld 0x18317013c dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 248
12 dyld 0x18317088c dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 584
13 dyld 0x183178174 invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 408
14 dyld 0x1831aab64 invocation function for block in dyld3::MachOFile::forEachDependentDylib(void (char const*, bool, bool, bool, unsigned int, unsigned int, bool&) block_pointer) const + 148
15 dyld 0x1831582d8 dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 296
16 dyld 0x1831aa9ac dyld3::MachOFile::forEachDependentDylib(void (char const*, bool, bool, bool, unsigned int, unsigned int, bool&) block_pointer) const + 172
17 dyld 0x183177ec0 dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 164
18 dyld 0x183177f48 dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 300
19 dyld 0x183196e28 dyld4::APIs::dlopen_from(char const*, int, void*)::$_0::operator()() const + 472
20 dyld 0x183190968 dyld4::APIs::dlopen_from(char const*, int, void*) + 892
21 libluajit-5.1.2.dylib 0x104f8194c 0x104f30000 + 334156
22 libluajit-5.1.2.dylib 0x104f82314 0x104f30000 + 336660
23 PathOfBuilding 0x104e15128 0x104e04000 + 69928
24 libluajit-5.1.2.dylib 0x104f342a8 0x104f30000 + 17064
25 libluajit-5.1.2.dylib 0x104f40d8c lua_pcall + 148
26 libluajit-5.1.2.dylib 0x104f342a8 0x104f30000 + 17064
27 libluajit-5.1.2.dylib 0x104f40d8c lua_pcall + 148
28 dyld 0x18315be50 start + 2544

Thread 1:
0 libsystem_pthread.dylib 0x183480e18 start_wqthread + 0

Thread 2:
0 libsystem_pthread.dylib 0x183480e18 start_wqthread + 0

Thread 3:
0 libsystem_pthread.dylib 0x183480e18 start_wqthread + 0

Thread 4:
0 libsystem_pthread.dylib 0x183480e18 start_wqthread + 0


Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000108220000 x1: 0x000000016aff9c60 x2: 0x000000000000c000 x3: 0x0000000000040012
x4: 0x0000000000000006 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x00000001deb4a5ac x9: 0x00000001deb4a4b0 x10: 0x000000016aff949c x11: 0x0800000000010000
x12: 0x0000000000000001 x13: 0x0000000000000001 x14: 0x0000000000005640 x15: 0x000000016affa9a0
x16: 0x00000000000000c5 x17: 0x0000000183159e7c x18: 0x0000000000000000 x19: 0x000000016aff9c60
x20: 0x0000000000000006 x21: 0x000000016aff9c60 x22: 0x000000016aff9738 x23: 0x0000000000018000
x24: 0x0000000000000000 x25: 0x000000016aff94cc x26: 0x0000000000000000 x27: 0x0000000108220000
x28: 0x0000000000000030 fp: 0x000000016aff90e0 lr: 0x8804000183171f68
sp: 0x000000016aff90d0 pc: 0x00000001831a91bc cpsr: 0x20001000
far: 0x0000000108220000 esr: 0x92000007 (Data Abort) byte read Translation fault

Binary Images:
0x183156000 - 0x1831e04af dyld (*) <1f56ab4e-f398-3a9c-bfba-fbbd17808963> /usr/lib/dyld
0x104f30000 - 0x104f9ffff libluajit-5.1.2.dylib (*) <d9c383dd-6de5-3aaf-bd99-48573ba79ff6> /Users/USER/Downloads/PathOfBuilding 2.app/Contents/Frameworks/libluajit-5.1.2.dylib
0x104e04000 - 0x104e1bfff PathOfBuilding (*) <a208aefa-ed61-32f6-9f5a-9336799d44ff> /Users/USER/Downloads/PathOfBuilding 2.app/Contents/MacOS/PathOfBuilding
0x18347f000 - 0x18348bffb libsystem_pthread.dylib (*) <886caca0-5762-3640-8db2-3fa3b911c062> /usr/lib/system/libsystem_pthread.dylib
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1158
thread_create: 8
thread_set_state: 4899

VM Region Summary:
ReadOnly portion of Libraries: Total=998.0M resident=0K(0%) swapped_out_or_unallocated=998.0M(100%)
Writable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
ColorSync 512K 23
CoreGraphics 32K 2
Kernel Alloc Once 32K 1
MALLOC 217.3M 33
MALLOC guard page 192K 9
MALLOC_MEDIUM (reserved) 480.0M 4 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.1M 5
Stack 10.1M 5
VM_ALLOCATE 928K 9
VM_ALLOCATE (reserved) 80K 3 reserved VM address space (unallocated)
__AUTH 634K 159
__AUTH_CONST 11.2M 314
__CTF 756 1
__DATA 3279K 315
__DATA_CONST 14.9M 331
__DATA_DIRTY 708K 108
__FONT_DATA 2352 1
__LINKEDIT 766.0M 16
__OBJC_CONST 1313K 133
__OBJC_RO 65.1M 1
__OBJC_RW 1981K 1
__TEXT 231.9M 344
dyld private memory 256K 1
mapped file 65.8M 48
shared memory 848K 14
=========== ======= =======
TOTAL 2.3G 1883
TOTAL, minus reserved VM space 1.4G 1883



-----------
Full Report
-----------

{"app_name":"PathOfBuilding","timestamp":"2022-12-08 18:08:23.00 +0400","app_version":"","slice_uuid":"","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.0 (22A380)","roots_installed":0,"incident_id":"2BDE2A0A-FC97-44CD-AFFE-82E66FEE55D5","name":"PathOfBuilding"}
{
"uptime" : 1000000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,1",
"coalitionID" : 85766,
"osVersion" : {
"train" : "macOS 13.0",
"build" : "22A380",
"releaseType" : "User"
},
"captureTime" : "2022-12-08 18:08:21.2740 +0400",
"incident" : "2BDE2A0A-FC97-44CD-AFFE-82E66FEE55D5",
"pid" : 58206,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2022-12-08 18:08:19.4233 +0400",
"procStartAbsTime" : 24716074252343,
"procExitAbsTime" : 24716117900875,
"procName" : "PathOfBuilding",
"procPath" : "\/Users\/USER\/Downloads\/PathOfBuilding 2.app\/Contents\/MacOS\/PathOfBuilding",
"parentProc" : "Exited process",
"parentPid" : 58205,
"coalitionName" : "com.yourcompany.PathOfBuilding",
"crashReporterKey" : "",
"wakeTime" : 28462,
"sleepWakeUUID" : "",
"sip" : "enabled",
"vmRegionInfo" : "0x108220000 is in 0x108220000-0x10822c000; bytes after start: 0 bytes before end: 49151\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n mapped file 108214000-108220000 [ 48K] r--\/rwx SM=COW ...t_id=d1fecda5\n---> mapped file 108220000-10822c000 [ 48K] r-x\/rwx SM=COW ...t_id=d08025a5\n VM_ALLOCATE (reserved) 10822c000-108238000 [ 48K] rw-\/rwx SM=NUL ...(unallocated)",
"exception" : {"codes":"0x0000000000000032, 0x0000000108220000","rawCodes":[50,4431413248],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x0000000108220000"},
"termination" : {"flags":0,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"},
"vmregioninfo" : "0x108220000 is in 0x108220000-0x10822c000; bytes after start: 0 bytes before end: 49151\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n mapped file 108214000-108220000 [ 48K] r--\/rwx SM=COW ...t_id=d1fecda5\n---> mapped file 108220000-10822c000 [ 48K] r-x\/rwx SM=COW ...t_id=d08025a5\n VM_ALLOCATE (reserved) 10822c000-108238000 [ 48K] rw-\/rwx SM=NUL ...(unallocated)",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":8,"thread_set_state":4899,"task_for_pid":1158},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" :
Last edited by w1zardd on Dec 8, 2022, 9:30:04 AM
Hi @w1zardd, It's code sign issue: Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))

I replaced signature by code sign in my side. Seems it's not works on your side. You may need to resign it in your side by codesign like below steps to workaround it:

1. rename PathOfBuilding.app/Contents/MacOS/spec/TestBuilds/3.13 to PathOfBuilding.app/Contents/MacOS/spec/TestBuilds/313
2. execute
"
codesign --force --deep --sign - [Path of App]


3. Rename PathOfBuilding.app/Contents/MacOS/spec/TestBuilds/313 back to 3.13

I have no idea how to add valid the app by default so far.
still getting this error:
Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes: UNKNOWN_0x32 at 0x0000000107b04000
Exception Codes: 0x0000000000000032, 0x0000000107b04000

however, I tried to play around with .plist file and code signature and it doesn't work :(
Any chance that ARM (M1 etc) will be supported at some point?
"
w1zardd wrote:
I've had the brotli related error, then after installing it via brew, I have another one. Any ideas?
I'm sitting on ventura with m1 chip.

I've the same problem
"
xrcc_poe wrote:
"
w1zardd wrote:
I've had the brotli related error, then after installing it via brew, I have another one. Any ideas?
I'm sitting on ventura with m1 chip.


Looks like same as issue in my side. Install broti via brew cannot fix the issue. Copy the missing file to the application frameworks folder will fix it. I upload a copy of PoB in my side to here:

https://github.com/amlovey/PoBForM1/releases/download/2.21.1/PathOfBuilding.zip

You may try it to see if it works on your side.

If you ecnounter `App is s damaged and can’t be opened` error, fix the error by execute below command.

"
sudo xattr -d com.apple.quarantine [your path of PathOfBuilding.app]


This worked for me, thanks.

Report Forum Post

Report Account:

Report Type

Additional Info