Author Topic: XCode Project files not recognized  (Read 4059 times)

earamsey

  • Guest
XCode Project files not recognized
« on: May 10, 2009, 09:11:46 pm »
Hi!

Environment:
                    OS: Mac OS X version 10.5.6
                   IDE: Xcode version 3.1.2
                  Kind: Universal
    Get Info String: Xcode version 3.1.2
             Location: /Developer/Applications/Xcode.app
   Target Platform: iPhone 2.x/3.x



Problem: When I try to open an Xcode project file, .xcodeproj, I get the following message;
Quote
Code::Blocks does not yet know how to open this kind of file.
Please select what you want to do with it:


Question: What do I need to do so it can open/compile/debug Xcode project files?

Thanks!

« Last Edit: May 10, 2009, 09:18:02 pm by earamsey »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9490
Re: XCode Project files not recognized
« Reply #1 on: May 11, 2009, 07:52:45 am »
Question: What do I need to do so it can open/compile/debug Xcode project files?
The projects importer plugin does not know (yet) how to import Xcode projects.
As of now it supports DevC++ and MS Visual Studio projects.

Either someone implements an import filter for Xcode or you would need to transfer the settings "manually" -> meaning you create a new Code::Blocks project and set it up as the Xcode project.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: XCode Project files not recognized
« Reply #2 on: May 11, 2009, 09:35:21 am »
An Xcode project is an archived plist in a bundle, but not sure about iPhone OS.

I started on an Xcode importer, but got about as far as "project name"... :-)
It should be doable to import things like the file list, maybe a few basic settings
like compiler optimization flags and linker flags and libraries. But not all of it.
You would probably would need to use Xcode for any such more advance usage ?

Also, the previous work was for Xcode 1.x and 2.x - not for Xcode 3.x / Leopard.

earamsey

  • Guest
Re: XCode Project files not recognized
« Reply #3 on: May 11, 2009, 05:03:17 pm »
Hmm, in lieu of this information I shall find a more Xcode/Leopard friendly editor instead. As does 'afb', I do not have the time to write exporter.

Byte the way, I stated that I was doing iPhone development, however, it iPhone SDK uses the same Xcode IDE that is used for Mac OS X development.

Thanks for help guys!