opa334 / ChOma

C library for manipulating MachO/FAT files and their code signatures
MIT License
337 stars 41 forks source link

Fix finding preferred slice on macOS x86 #3

Closed BomberFish closed 12 months ago

opa334 commented 12 months ago

This is not a good way of doing it. The preferred slice should always be the one that runs on the device. The proper way of doing this should be to have the ct_bypass on macOS pick the best slice from the perspective of an iOS device (I guess it should be arm64) but in the CoreTrust bypass itself and not in ChOma.

alfiecg24 commented 12 months ago

I've reworked the logic in the latest commit to move it into the CoreTrust bypass code instead.