iCepa / Tor.framework

Tor framework for the iCepa project
Other
249 stars 55 forks source link

Building Tor.framework on M1 arm64 Xcode 14 #74

Closed EETagent closed 2 years ago

EETagent commented 2 years ago

First of all, I would like to thank you for a very useful project for macOS and the Obj-C ecosystem.

I am unable to build a framework on arm64 devices with Xcode 14. Generated libraries like libevent.aor libcrypto.a are ok arm64 bytecode, it is possible to simply check their validity by linking with a c file. libtor.a as a single library fails linking and is invalid.

I don't have a similar problem on an x86_64 Mac with Xcode 13, where the universal libraries are generated correctly.

Snímek obrazovky 2022-08-25 v 11 18 31 Snímek obrazovky 2022-08-25 v 11 14 30 image

Since this is probably a bug caused by the build system of the tor project, I don't really know how to fix the problem.

tladesignz commented 2 years ago

Did you use the Pure Pod Version?

EETagent commented 2 years ago

This is pure_pods branch, latest version 407.8.2

EETagent commented 2 years ago

@tladesignz New version works perfectly, closing the issue.

Thanks 👍

tladesignz commented 2 years ago

I didn't realise - you already used Xcode 14 back then. Must have been a beta, I guess?

Well, anyway, after I upgraded I had the same problem, soooo... always happy to help! 🤷🤪