So I determined that part of the problem was that the Xcode CLI tools were not installed correctly.
There is a disconnect there when running Xcode 8 with OSX El Capitan. There may be ways to make it work in El Capitan but I went ahead an upgraded to Sierra.
That fixed the CLI tools issue.
For the record the way to know if the CLI tools are wrong is to say
Homebrew will tell you if the CLI tools are out of synch.
Now I did a fresh install of kivy-ios and rebuilt it. hostpython appeared in the directory. Hurrah!
Created my xCode project with:
../kivy-ios/toolchain.py create org.kivy.mediademo /Users/xxx/Documents/_Work/MediaDemo
This works
Open the project and build.
The first error is the same as before:
rsync warning: some files vanished before they could be transferred (code 24) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-51/rsync/main.c(996) [sender=2.6.9]
From what I can tell the missing files appear to be various jpegs, so maybe I can ignore this?
Just for fun: Clean the build folder
Build again
kivy-ios/dist/root/python/lib: No such file or directory
So at the moment there is nothing in kivy-ios/dist/root/
Is this looking for the same set of files located in kivy-ios/dist/hostpython/lib ?
Can I just do a link to these files or copy them?
Or is some other nefarious business at work here?
Worth mentioning is that there are four fatal errors during the build and they are all very similar:
checking whether cpp computation of bit length in ftconfig.in works... In file included from conftest.c:6:
./ftconfig.in:149:10: fatal error: 'errno.h' file not found
#include <errno.h>
^
1 error generated.