Re: [hatari-devel] Test needed to build OSX version

[ Thread Index | Date Index | More Archives ]


Thanks for confirming the problem. I was wondering if I had to manually try to change my Xcode project in order for it to use the .xib file instead.

Bob C

On Fri, Jun 21, 2013 at 3:47 PM, Jerome Vernet <vernet.jerome@xxxxxxxxxx> wrote:
Le 21/06/13 12:21, Troed Sångberg a écrit :
(To: and CC: cleaned)

tl;dr: I'm getting the SDLMain.nib error as well. Manually copying SDLMain.nib from my frameworks dir to bundle works - but I get the X11 UI and no Mac menus etc. Where's the step I'm missing?

I originally created my repository back in January - and this is what I did now:

hg pull
hg update

make clean

You're right, the cmake build system is broken with the .xib files. xib files need to be converted to nib file. Will have to check how it could be done.
Something like that should be done in the CMakeLists.txt :

# We need to compile the interface builder *.xib files to *.nib files to add to the bundle
# Make sure we can find the 'ibtool' program. If we can NOT find it we skip generation of this project
FIND_PROGRAM( IBTOOL ibtool HINTS "/usr/bin" "${OSX_DEVELOPER_ROOT}/usr/bin" )
        MESSAGE( SEND_ERROR "ibtool can not be found" )

# Compile the .xib files using the 'ibtool' program with the destination being the app package
        COMMAND ${IBTOOL} --errors --warnings --notices --output-format human-readable-text
                COMMENT "Compiling ${RT_APP_ROOT}/rsrc/apple/ios/${xib}.xib")

I need help for that....
xib is a source control friendly format, nib are not, that why it's better to use xib files for devel.

More over, the info.plist is no longer copied in the app bundle by the cmake build system.... Also need to find why. But I do not know anything about cmake...


Mail converted by MHonArc 2.6.19+