I was also unable to build Nu for the iPhone Simulator, but for
different reasons. I had to compile libffi.a for the simulator and
add that to my project. I was still getting a linker error because
mach_override functions were not compiled, so I had to comment out a
line in nu_disableNSLog() function. Anyway, now I am compiling and
linking against Nu for the iPhone and the simulator, but it did
require those two adjustments. Could it be that libffi no longer
ships with the simulator sdk?
As for your problem:
On Mar 24, 1:44 am, mhennemeyer <
mhenneme...@googlemail.com> wrote:
> Thanks for your support!
>
> Setting platform to "iPhoneSimulator" solved my noob prob.
>
> But i instantly ran into the next issue: (Still trying to build the
> iphone lib)
>
> cannot exec '/Developer/Platforms/iPhoneSimulator.platform/Developer/
> usr/bin/arm-apple-darwin9-gcc-4.0.1': No such file or directory'
If you are building for the simulator, it should be building for the
i386 architecture. It looks like the above gcc is for ARM (the iphone
architecture). How are you setting the platform? What I did was
change the top line of the NukeFile in the iphone directory from (set
platform "iPhoneOS") to (set platform "iPhoneSimulator").
>
> I'm quite sure that this is not a nu-related prob but maybe you can
> help anyhow.
>
> Thanks again.
>
> Matthias
best of luck,
Red