Skip to content

Commit

Permalink
Remove i386 and armv7 references from docs and code. Both are unsuppo…
Browse files Browse the repository at this point in the history
…rted since a while.
  • Loading branch information
misl6 committed Apr 18, 2021
1 parent e771eec commit 0ef85dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You do need to compile it at least once before creating your Xcode project.
The toolchain supports:

- iPhone Simulator (x86_64)
- iPhone / iOS (armv7 and arm64)
- iPhone / iOS (arm64)

These recipes are not ported to the new toolchain yet:

Expand Down Expand Up @@ -110,7 +110,7 @@ You can think of it as follows: the kivy recipe will compile everything
necessary for a minimal working version of Kivy.

Don't grab a coffee, just do diner. Compiling all the libraries for the first
time, 3x over (remember, 3 archs, x86_64, armv7, arm64) will take time.
time, 2x over (remember, 2 archs, x86_64, arm64) will take time.

For a complete list of available commands, type:

Expand Down Expand Up @@ -186,18 +186,18 @@ things you can do to achieve this:
Python dynamic modules and will remove needed symbols.

- By default, the iOS package compiles binaries for all processor
architectures, namely x86_64, armv7 and arm64 as per the guidelines from
architectures, namely x86_64 and arm64 as per the guidelines from
Apple. You can reduce the size of your ipa significantly by removing the
x86_64 architecture as they are used only for the emulator.

The procedure is to first compile/build all the host recipes as is:

toolchain build hostpython3

Then build all the rest of the recipes using --arch=armv7 --arch=arm64
Then build all the rest of the recipes using --arch=arm64
arguments as follows:

toolchain build python3 kivy --arch=armv7 --arch=arm64
toolchain build python3 kivy --arch=arm64

Note that these packages will not run in the iOS emulators, so use them
only for deployment.
Expand Down Expand Up @@ -258,7 +258,7 @@ Xcode path is not set up correctly. Run the following command to fix this: `sudo
### You don't have permissions to run

It is due to invalid archs, search for them and check it. Maybe you
targetted a simulator but have only armv7/arm64. Maybe you want to target
targetted a simulator but have only arm64. Maybe you want to target
your iPad but it as only x86_64.

### Why does the python multiprocess/subprocess module not work?
Expand Down
4 changes: 1 addition & 3 deletions kivy_ios/recipes/openssl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
import sh


arch_mapper = {'i386': 'darwin-i386-cc',
'x86_64': 'darwin64-x86_64-cc',
'armv7': 'ios-cross',
arch_mapper = {'x86_64': 'darwin64-x86_64-cc',
'arm64': 'ios64-cross'}


Expand Down

0 comments on commit 0ef85dc

Please sign in to comment.