The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   Omni Frameworks (http://forums.omnigroup.com/forumdisplay.php?f=16)
-   -   I can build, but I can't archive... (http://forums.omnigroup.com/showthread.php?t=27154)

Jenny_Y8S 2012-11-23 06:56 AM

I can build, but I can't archive...
 
Hi

I've added some omni libraries to my project (For the text editor aspects) and while I can build for the simulator I can't archive the project, which makes me think something is wrong with my release settings.

I end up with errors such as:

Lexical or Preprocessor Issue
'OmniBase/OmniBase.h" file not found

The texteditor example is fine, and I've got my project mirroring the settings from this, but there's clearly something I've missed.

My library search paths, header search paths and scheme all appear to match between debug and release.

Can anyone help me to point me in the direction to something I've missed. Do I need to build each sub projects first in a different way? I'm at a loss as to know where to look next, I've been staring at "Build Settings" for hours.

Thanks in advance.

Tim Wood 2012-11-23 11:02 AM

We don't use the Archive feature in Xcode to build our .ipa packages, but rather do a normal Release build and package that ourselves (this just ends up integrating better with our internal automated build system, internal software update feeds and such).

So, it is definitely possible that some of the settings in OmniGroup/Configurations are causing trouble for the Archive action. If you figure out what we can do to make this better, we'd love a pull request!

Jenny_Y8S 2012-11-25 12:33 PM

Thanks for getting back to me.

I think my issue is within the 'CopyLibraryResources' build phase. If I don't include this phase then I can build but not archive.

If I include this phase (as is) then then I can't even build as the script fails with an error.

Unless you have any hot tips I'll look at learning all I can about those scripts of yours.


All times are GMT -8. The time now is 04:34 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.