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

Reply via email to