kivy / kivy-ios

Toolchain for compiling Python / Kivy / other libraries for iOS
https://kivy.org/docs/guide/packaging-ios.html
MIT License
759 stars 238 forks source link

Toolchain build python error on Mac os apple silicon #719

Closed jhay06 closed 2 years ago

jhay06 commented 2 years ago

Hi , im having problem building python on mac os silicon

toolchain is okay when building openssl but when i try to build python i get the error below

Simulator-x86_64 but attempting to link with file built for macOS-arm64 [DEBUG ] clang: error: linker command failed with exit code 1 (use -v to see invocation) [DEBUG ] ld: in '/opt/homebrew/opt/llvm/lib/libunwind.dylib', building for iOS Simulator-x86_64 but attempting to link with file built for macOS-arm64 [DEBUG ] clang: error: linker command failed with exit code 1 (use -v to see invocation) [DEBUG ] make: [Programs/_testembed] Error 1 [DEBUG ] make: Waiting for unfinished jobs.... [DEBUG ] make: *** [python.exe] Error 1 Exception in thread background thread for pid 46602:

Any ideas ?