iOS external won't load

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Aug 24 17:45:48 EDT 2011


Hi again, Maarten,

Yesterday and today, I did a lot of testing with externals. I was able to compile the sample external rresocket and included this external in a standalone. The standalone was built from the stack included with the sample XCode project provided by RunRev. When I tested the standalone, it ran fine in both the simulator and on my iPhone.

Then I created a very simple hello-world external from the template, quite similar to yours. The template can be selected after you choose New from XCode's file menu. I followed exactly the same steps as with the sample external. I was able to run it in the simulator but when I installed it on my iPhone, it crashed with the same console messages you posted.

For now, my conclusion is that the sample externals run fine, but externals created with the template won't work. I hope that anyone can confirm this.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers.

On 24 aug 2011, at 20:41, Maarten Koopmans wrote:

> Hi Mark,
> 
> My external name is not all lowercase, I'll try that first. Otherwise I'll
> mail support.
> 
> --Maarten
> 
> On Wednesday, August 24, 2011, Mark Schonewille <
> m.schonewille at economy-x-talk.com> wrote:
>> Hi Maarten,
>> 
>> This is a known problem. Please, contact support at runrev.com and tell them
> you're struggling with this problem too.
>> 
>> --
>> Best regards,
>> 
>> Mark Schonewille
>> 
>> Economy-x-Talk Consulting and Software Engineering
>> Homepage: http://economy-x-talk.com
>> Twitter: http://twitter.com/xtalkprogrammer
>> KvK: 50277553
>> 
>> What does that error mean? Buy LiveCodeErrors for iPhone now
> http://qery.us/v4 A must-have for LiveCode programmers.
>> 
>> On 24 aug 2011, at 19:05, Maarten Koopmans wrote:
>> 
>>> Hi,
>>> 
>>> I wrote the simplest external possible for iOS, it builds in Xcode,
>>> but crashes for reasons unknown (to me….) on the iPhone. Simulator
>>> won't work either. It's so simple, that I'm wondering….. if I can't
>>> get this to work….
>>> 
>>> See below, Maarten
>>> 
>>> My IDL looks like this:
>>> 
>>> // The name of the external (note external name must be all lowercase!)
>>> external mbkTest
>>> use c++-naming
>>> use objc-objects
>>> 
>>> function getString
>>> return objc-string
>>> 
>>> 
>>> And here is my code(mbkTest.mm):
>>> #include <Foundation/Foundation.h>
>>> #include <LiveCode.h>
>>> 
>>> NSString* getString(void)
>>> {
>>>   return @"test";
>>> }
>>> 
>>> 
>>> Crash log says: unknown iOS External Test[3436] <Warning>: Startup
>>> error: failed to load external





More information about the Use-livecode mailing list