My first error

Monkey Targets Forums/iOS/My first error

Tri|Ga|De(Posted 2011) [#1]
I did try the rockout demo for iOS but I get an error when compiling.

Compile Error

18.018 xcodebuild[2288:80b] Error loading /Developer/Library/Xcode/Plug-ins/ErlangXcode.xcplugin/Contents/MacOS/ErlangXcode: dlopen(/Developer/Library/Xcode/Plug-ins/ErlangXcode.xcplugin/Contents/MacOS/ErlangXcode, 265): no suitable image found. Did find:

What image am i missing?


matt(Posted 2011) [#2]
Looks like you have a problem outside of monkey, with the Erlang Xcode plugin?

If you don't use it, perhaps remove it? If you do use it, then you might need to update it to fix your problem?


DruggedBunny(Posted 2011) [#3]
Yeah, "image" here refers to a dynamic library image (like a DLL), so I think matt is right.


Tri|Ga|De(Posted 2011) [#4]
But why is this nessary in the rockout demo?


DruggedBunny(Posted 2011) [#5]
It's not -- as matt suggested, the error appears to suggest it's a problem with an Xcode plugin on your system.


Tri|Ga|De(Posted 2011) [#6]
Okay, but useally my iOS X-code project run fine.

I will check that plugin!


Tri|Ga|De(Posted 2011) [#7]
Well how do I install that Erlang plugin.

I seem to remember that I deletede some Erlang stuff a few months ago, did not know what it was and XCode was working without it.

But I just checked my XCode and if I start new project I can see Erlang under Mac OS-X

But Monk still wont compile the rockout sample. Maybe the rockout is not for iOS.


matt(Posted 2011) [#8]
Just delete /Developer/Library/Xcode/Plug-ins/ErlangXcode.xcplugin


Tri|Ga|De(Posted 2011) [#9]
Well thanks Matt, that did remove the Erlang error.

But I'm still having trouble running the programms on the iphone simulator.


matt(Posted 2011) [#10]
Probably best to start another thread about that?


Tri|Ga|De(Posted 2011) [#11]
Yes you are right but I did figure it out.


matt(Posted 2011) [#12]
Please post the solution to the problem for the benefit of other users


Tri|Ga|De(Posted 2011) [#13]
Well I made a new folder and made a new .monkey file in that folder.
Now I can test the code on the iPhone/iPad simulator.