I Have A project developed using XCode on MAC OS,How Could I build it On Linux?
I Have A project developed using XCode on MAC OS, for some special开发者_JAVA百科 reason, I want copy entire project to the Linux operating system and go on developing on linux.
How can I develop and build it on Linux?
I am developing an I-Phone project, I using iOS libraries, I (wish to) develop and build on linux, run on iphone
No, it is not currently possible to build Native iOS applications using the native Cocoa Libraries and Objective-C on platforms other than Mac OS X.
You have two issues.
First, are you using OS X only libraries, for example Foundation or AppKit? You could potential develop a Cocoa program on OS X and build it against OpenStep on Linux, but at this point you would need to be very selective in which functionality you use, to the point where it is probably impossible.
Assuming that you have fully cross-platform code, then yes you can build it on Linux, but you will need to move away from the Xcode build system. You can create an Xcode project using an external build system, and then proceed to use something like scons, ccmake, or even make. That way the same build files with work both on OS X and Linux. Or you can continue to use the Xcode build system on OS X and keep a parallel build tool for use on Linux.
精彩评论