Comments (6)
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.
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.
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.
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.
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.
The kivy-ios toolchain has been rewritten, this is not valid anymore :)
from buildozer.
Related Issues (20)
- buildozer master cannot work from within venv / bootstrap ios-deploy fails because of nested virtualenv when trying to install pure-Python dependencies.
- [iOS] build fails with xcodebuild: error: invalid option '-archivePath' (XCode 15.4 iOS 17.5). HOT 2
- When executing buildozer android debug, an error message is displayed saying that aidl cannot be found HOT 2
- using Lottie HOT 1
- Dependency Dashboard
- [iOS] Cannot publish IPA: YourApp/_applibs/*/*.so binary file is not permitted. HOT 3
- Buildozer builds apk successfully, but now cannot install it. Even past working apps. HOT 5
- FAILURE: Build failed with an exception. Warning: android:extractNativeLibs should not be specified in this source AndroidManifest.xml file. HOT 1
- error on build
- [Support] specify our own Android SDK directory to buildozer HOT 3
- Buildozer failed to execute last command. Can anyone please help me. I have been facing this error since a week. I have tried Buildozer in both collab and in github actions but it didnt help. I have also tried uncommenting the p4a.branch line and changing the master to develop HOT 1
- how to package the indirect dependency? HOT 2
- buildozer fails to build .apk HOT 1
- buildozer.spec and spaces in package.name
- Problem Buildozer -v android debug command
- How does Buildozer handle libraries? HOT 1
- Buildozer Android Build Fails with SymPy: ImportError for 'Mapping' from 'collections' HOT 1
- ..
- python3 '-m', 'ensurepip', '--upgrade', '--default-pip' returned non-zero exit status 1 HOT 3
- buildozer faild shows Exception in thread background thread clean assembleDebug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildozer.