Looks like Apple removed the PCSC fork since Mounir wrote this patch. They want you to use their own CryptoTokenKit framework. I think the best option for now is to rely on third-party packages for PC/SC Lite which should require no changes in the current implementation.