cryptography icon indicating copy to clipboard operation
cryptography copied to clipboard

cryptography wheel for iOS (arm64)

Open Sorrow91 opened this issue 1 year ago • 5 comments

  • Versions of Python, cryptography, cffi, pip, and setuptools you're using cryptography-43.0.0
  • How you installed cryptography pip install cryptography
  • Clear steps for reproducing your bug I'm trying to use cryptography with the Python-Framework and PythonKit for iOS in swift.

Since rust is needed it creates a binary (_rust.abi3.so) in bindings where I get this error:

.simruntime/Contents/Resources/RuntimeRoot/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/cryptography/hazmat/bindings/_rust.abi3.so' (no such file), '/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/cryptography/hazmat/bindings/_rust.abi3.so' (mach-o file (/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/cryptography/hazmat/bindings/_rust.abi3.so), but incompatible platform (have 'macOS', need 'iOS-sim'))

Is the a working universal or arm64 wheel for the iOS-Platform?

Thank you

Sorrow91 avatar Aug 20 '24 19:08 Sorrow91

There are no precompiled binaries for iOS (simulator or otherwise -- note that iOS-sim is a different target than device). We'd happily take a docs PR describing how to build this, but we don't have familiarity with development on that platform.

reaperhulk avatar Aug 20 '24 19:08 reaperhulk

Thank you for your reply. An updated doc how to build it for arm64 would be awesome!

Sorrow91 avatar Aug 21 '24 09:08 Sorrow91

To be clear: That's something we'd accept a a PR for. We have no familiarity with developing for iOS with Python, so we can't write it.

alex avatar Aug 21 '24 11:08 alex

This issue has been waiting for a reporter response for 3 days. It will be auto-closed if no activity occurs in the next 5 days.

github-actions[bot] avatar Aug 25 '24 00:08 github-actions[bot]

Olá Pessoal dá Área Comercial de: - Technologia e Informáthica e T.I ou Seja Tanto faz tou Nem aí.... | BRAZIL

LWKHSOFICIAL avatar Aug 26 '24 12:08 LWKHSOFICIAL

This issue has been waiting for a reporter response for 3 days. It will be auto-closed if no activity occurs in the next 5 days.

github-actions[bot] avatar Aug 31 '24 00:08 github-actions[bot]

This issue has not received a reporter response and has been auto-closed. If the issue is still relevant please leave a comment and we can reopen it.

github-actions[bot] avatar Sep 05 '24 00:09 github-actions[bot]