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