R185 Export to Ejecta will not run

0 favourites
  • 3 posts
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • Problem Description

    On R185, even a basic empty project exported to Ejecta will not run in Xcode. Exports from R183 version run fine.

    Attach a Capx

    Attached..very basic capx.

    Description of Capx

    Empty Capx with two sprites. Does nothing but show the sprites.

    Steps to Reproduce Bug

    • Open Capx
    • Export to EJecta , don't minify. Place files in the App folder on the Mac.
    • Run the project in Xcode Simulator

    Observed Result

    Project will not run in Xcode/Simulator. Produces an error, with the line JSStringRef jstr = JSStringCreateWithCFString((CFStringRef)string) highlighted.

    #import "EJConvert.h"
    
    NSString *JSValueToNSString( JSContextRef ctx, JSValueRef v ) {
    	JSStringRef jsString = JSValueToStringCopy( ctx, v, NULL );
    	if( !jsString ) return nil;
    	
    	NSString *string = (NSString *)JSStringCopyCFString( kCFAllocatorDefault, jsString );
    	[string autorelease];
    	JSStringRelease( jsString );
    	
    	return string;
    }
    
    JSValueRef NSStringToJSValue( JSContextRef ctx, NSString *string ) {
    	JSStringRef jstr = JSStringCreateWithCFString((CFStringRef)string);
    	JSValueRef ret = JSValueMakeString(ctx, jstr);
    	JSStringRelease(jstr);
    	return ret;
    }[/code:tspu8yyk]
        
    [b]Expected Result[/b]
    Should run fine. I've tested exports on R183 and they run fine in the same Ejecta project.
        
    [b]Affected Browsers[/b]
    [ul]
        [li] N/A [/li][/ul]
        
    [b]Operating System and Service Pack[/b]
    Win 8
        
    [b]Construct 2 Version ID[/b]
    R185 32bit
  • Thanks, should be fixed in the next build. We were caught out by an Ejecta incompatibility which I reported here.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks Ashley, looking forward to the next release.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)