The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > Omni Frameworks
FAQ Members List Calendar Today's Posts

 
Build Framework Fails From Command Line But Build in XCode Succeeds Thread Tools Search this Thread Display Modes
Based on the error you are seeing, my guess would be that your command line build is using Xcode 4.2 or older tools while you are running Xcode 4.3 for the builds that work.

Xcode 4.3 bundles up the command line tools inside the app to make it a simpler install. But this makes command line builds harder. You can install the Xcode 4.3 command line tools either by the standalone dmg available on Apple's site or via the Xcode “Downloads” preference pane (in the “Components” segment).

Another possible fix might be to let the command line tools know which version of Xcode to use. In Terminal you should see something like the following:

Code:
% xcode-select -print-path
/Applications/Xcode.app/Contents/Developer
(which may differ based on where you installed Xcode 4.3).

If you don't see this, then you'll want to do:

Code:
sudo xcode-select -switch /Applications/Xcode.app
(which will automatically append the Contents/Developer components).

I hope this helps!
__________________
CTO, The Omni Group
 
Did this

Code:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
and received this

Code:
** BUILD SUCCEEDED **
Thanks!
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Command Line Build Fails For OmniFileStore at OFSDocumentStore.m davidbitton Omni Frameworks 3 2012-06-12 11:03 PM
Xcode 4 Customized Build Location jgarnham Omni Frameworks 4 2011-09-16 03:51 AM
Lion iOS 5 beta4 Xcode 4.2 build issues... SpiraMira Omni Frameworks 2 2011-08-29 02:31 AM
Changes in 1.7.4 SP, Build 9/24 Greg Jones OmniFocus 1 for Mac 7 2009-09-25 04:12 PM
B3: command-open fails on first attempt philonous OmniWeb Bug Reports 3 2006-08-24 03:39 PM


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


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