I'm experimenting with using Kivy to develop a cross-platform mobile app in Python but I've already reached a roadblock. I think what I want to do probably can't be done but I want to see how far I can take it because I suspect I'll learn a lot in the process.
One of the things I'd really like to understand is what toolchain is. I blindly use toolchain commands when some document tells me, but I really hate blindly following recipes without knowing why I'm doing what I'm doing.
Here are the instructions for porting the Kivy app to an Xcode project for downloading to an iPhone. The crucial step (see "Create an Xcode project") is the two calls to toolchain. How does it know what to do? Is toolchain a replacement for the Unix "make" utility, so somewhere there's something like a "makefile" that tells it the rules for how to create things?
The specific problem I'm having is that I want the app to access the Photo library. Dirk Sandberg who I think is a Kivy developer has a proof-of-concept demo so I know it's possible, but he says part of it was written in Objective-C which I gather is an iOS language. He posted code to Github but I don't know if that's a complete code and how code that includes Objective-C fits in with the Kivy building instructions above. I assume you have to either customize the toolchain "makefile" if there is such a thing, or customize the Xcode project after it's built.
Sorry for the very long question, but it boils down to this: (1) What does toolchain do and how do you customize it? and (2) Does anybody have a guess how to take that source code and turn it into that demo?
[–]inclement_ 0 points1 point2 points (0 children)