Question

This might be a stupid question, but I was wondering whether or not you can use the Core Data libraries on Linux at all? I'm planning how to build the server side of an iPhone app that I'm working on, and have found that you can use PyObjC to get access to Core Data in a Python environment, e.g. use Core Data in a TurboGears web application.

At this point I'm thinking that you would have to run the web server on Mac OSX, because I can't find any evidence on the internet that you can access the Objective-C libraries on Linux. I've always written webapps on Linux but will obviously make the jump to an OSX server if it allows me to use the same datastore implementation on the iPhone and the server, the only job remaining being the Core Data <-> Web Services XML translation that has to happen on the wire.

Was it helpful?

Solution

Core Data is part of Cocoa, and Linux does not have Cocoa. Use SQLAlchemy instead.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top