Git Product home page Git Product logo

Comments (6)

tito avatar tito commented on August 22, 2024

Something is wrong. I don't know why, but in the compilation line, there is: -arch i386 -arch x86_64. This will obviously not work for ARM/iOS. But i don't know who is adding it. Do you have already customized env ?

from buildozer.

dusty-phillips avatar dusty-phillips commented on August 22, 2024

I haven't customized it on purpose. I deleted my ~/.buildozer and my .buildozer and built from there. The only thing I remember changing is I added a symlink from /usr/local/bin/pip-2.7 to /usr/local/bin/pip2.7 to work around #22.

I had to install some extra packages that buildozer was previously failing on; I don't remember the details, but it was auto-conf related stuff. Other than that, I think it's a pretty standard macos install.

from buildozer.

dusty-phillips avatar dusty-phillips commented on August 22, 2024

On posting that, I realized that having the symlink in /usr/local/bin wouldn't help much. ;-) So I put one in .buildozer/venv/bin as well, but I'm still getting arch related errors.

from buildozer.

tito avatar tito commented on August 22, 2024

Things to check:

  • ensure that you don't have custom CC / CXX in your environment
  • ensure you don't have $HOSTPYTHON variable set
  • ensure that if you have ARCHFLAGS, it doesn't contain -x86 -...
  • ensure your shell is a bash/sh, not another one.

Tell me if you have something different :)
And / or, dump your 'env' here please.

The -arch is not determined by Cython, but by Python and the env/platform.

from buildozer.

dusty-phillips avatar dusty-phillips commented on August 22, 2024

Ah, I was using ZSH, maybe that was the problem. I don't have a test Apple device anymore, but I'll try it again someday.

from buildozer.

tito avatar tito commented on August 22, 2024

The kivy-ios toolchain has been rewritten, this is not valid anymore :)

from buildozer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.