PDA

View Full Version : Building xcd2odo from OmniDataObjects


ssanchez
2009-01-07, 07:12 AM
Hi there, I've managed to build the frameworks fine, and with the helpful note from the blog, have managed to get required Omni source building for an iPhone app.

I want to use the xcd2odo tool so that I can create my data model in the Xcode data model editor - I'm presuming that's what its for.

I can't seem to get the xcd2odo to build in the OmniDataObjects project.

Bizarrely it is claiming that it can't find <OmniBase/OBObject.h> and a bunch of other headers. All the relevant Frameworks are correctly referenced in the project, pointing to the default build location of /Users/Shared/<user name>/Installed Products/

I've switched to the xcd2odo target, the relevant OmniFrameworks are included in the target's linked binaries.

Is there any internal Omni configuration required to get executables to build from what is released in the public Frameworks?

Tim Wood
2009-01-08, 12:08 AM
All the xcconfig files are present in the source release, but they should already be all hooked up to the xcd2odo tool's build settings.

It's also worth noting (I'll post another thread about this) that a newer build of our frameworks (including some big improvements to ODO) have been posted on github at <http://github.com/omnigroup/omnigroup/>

I'm still experimenting with github, but so far it looks like a reasonable way to distribute our sources.

ssanchez
2009-01-08, 04:20 AM
Looks like the Mac developer community are embracing Git the way they initially embrace SVN. Should work nicely with my workflow as I've just adopted Git for this new project.

Thanks

lyonanderson
2009-02-03, 01:53 PM
Hi there, I've managed to build the frameworks fine, and with the helpful note from the blog, have managed to get required Omni source building for an iPhone app.

I want to use the xcd2odo tool so that I can create my data model in the Xcode data model editor - I'm presuming that's what its for.

I can't seem to get the xcd2odo to build in the OmniDataObjects project.

Bizarrely it is claiming that it can't find <OmniBase/OBObject.h> and a bunch of other headers. All the relevant Frameworks are correctly referenced in the project, pointing to the default build location of /Users/Shared/<user name>/Installed Products/

I've switched to the xcd2odo target, the relevant OmniFrameworks are included in the target's linked binaries.

Is there any internal Omni configuration required to get executables to build from what is released in the public Frameworks?
I was able to get this working by adding /Users/Shared/<user name>/Products to the Framework Search Paths in Search Paths section of the build.

lyonanderson
2009-02-04, 12:39 AM
Ignore my previous answer! Following on from http://forums.omnigroup.com/showthread.php?t=9817&highlight=intermediate you need to set the Build Products Path in the project build settings to /Users/Shared<user name>/Products/