iOS external won't load

Maarten Koopmans maarten.koopmans at gmail.com
Wed Aug 24 14:41:26 EDT 2011


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
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list