iOS external won't load
Maarten Koopmans
maarten.koopmans at gmail.com
Wed Aug 24 13:05:14 EDT 2011
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