How to build an xcode project

Darren Weber dweber at macports.org
Tue May 26 23:49:37 PDT 2009


On Tue, May 26, 2009 at 10:05 PM, Bryan Blackburn <blb at macports.org> wrote:

> On Tue, May 26, 2009 at 09:43:34PM -0700, Darren Weber said:
> > For example,
> >
> > http://ridiculousfish.com/svn/HexFiend/trunk/
> >
> > What is the configure and build for an xcode source?  Can this be done
> > within MacPorts?
>
> Try the xcode portgroup, documented at
>
> <http://guide.macports.org/#reference.portgroup.xcode>
>
> Should be quite a few examples in the aqua/ category.
>
> Bryan
>
>

Yes, the build and install worked without a hitch using "PortGroup xcode
1.0", but the runtime is faulty, i.e.:


Dyld Error Message:
  Library not loaded: @executable_path/../
Frameworks/LuaObjCBridge.framework/Versions/A/LuaObjCBridge
  Referenced from: /Applications/MacPorts/Hex Fiend.app/Contents/MacOS/Hex
Fiend
  Reason: image not found


This is the installation tree:

/Applications/MacPorts/Hex Fiend.app/
/Applications/MacPorts/Hex Fiend.app//Contents
/Applications/MacPorts/Hex Fiend.app//Contents/Info.plist
/Applications/MacPorts/Hex Fiend.app//Contents/MacOS
/Applications/MacPorts/Hex Fiend.app//Contents/MacOS/Hex Fiend
/Applications/MacPorts/Hex Fiend.app//Contents/PkgInfo
/Applications/MacPorts/Hex Fiend.app//Contents/Resources
/Applications/MacPorts/Hex Fiend.app//Contents/Resources/English.lproj
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/Credits.rtfd
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/Credits.rtfd/hex_icon2.png
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/Credits.rtfd/TXT.rtf
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/FindAndReplace.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/FindAndReplace.nib/classes.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/FindAndReplace.nib/info.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/FindAndReplace.nib/keyedobjects.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/InfoPlist.strings
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/MainMenu.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/MainMenu.nib/classes.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/MainMenu.nib/info.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/MyDocument.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/MyDocument.nib/classes.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/MyDocument.nib/info.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/MyDocument.nib/keyedobjects.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/MyDocument.nib/objects.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/OpenPanelAccessoryView.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/OpenPanelAccessoryView.nib/classes.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/OpenPanelAccessoryView.nib/info.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/OpenPanelAccessoryView.nib/keyedobjects.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/SaveProgressBar.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/SaveProgressBar.nib/classes.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/SaveProgressBar.nib/info.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/SaveProgressBar.nib/keyedobjects.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/SuppressibleAlert.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/SuppressibleAlert.nib/classes.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/SuppressibleAlert.nib/info.nib
/Applications/MacPorts/Hex
Fiend.app//Contents/Resources/English.lproj/SuppressibleAlert.nib/keyedobjects.nib
/Applications/MacPorts/Hex Fiend.app//Contents/Resources/hex_icon.icns



Is this a dependency issue, a configuration issue, or some kind of
post-destroot hack required?  The port used only defaults from the xcode
PortGroup.

Thanks,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090526/87379091/attachment.html>


More information about the macports-dev mailing list