Search code examples
iphoneidemultiplatform

Code::blocks and iPhone development


Is it possible to use Code::Blocks to develop for iPhone? I mean if I may include the necessary frameworks, do remote debugging, etc. I never used Code::Blocks but it seems a good choice for multiplatform development. I saw that it easy to integrate gcc in the IDE on Windows(it also has a setup with mingw).

Thanks!


Solution

  • I don't think that's possible. Code::Blocks writes wxWidgets code, which, on OSX is built on top of Carbon, not Cocoa. Even if it were Cocoa, it probably wouldn't be UIKit/CocoaTouch.

    Even if they made a port that was written against UIKit, there might be an issue with the Terms of Service that says you can't use other frameworks. You are supposed to write in Obj-C/C/C++ against UIKit directly. They probably wouldn't have any idea, but who knows--seems like it's not worth it.

    I am a former wx user and now iPhone developer. ObjC/CocoaTouch/Interface Builder is much nicer and worth learning if you want to make iPhone apps.

    If you want multi-platform development, I'd watch out, because Apple seems to be specifically targeting it in their terms of service. For games, so far, it appears that Unity framework games are still being approved.