Skip to content

Instantly share code, notes, and snippets.

@alecmce
Created August 21, 2013 18:20
Show Gist options
  • Save alecmce/6298060 to your computer and use it in GitHub Desktop.
Save alecmce/6298060 to your computer and use it in GitHub Desktop.
This app, built onto the iPad will eventually crash with the console_output.txt message. This is after using "sudo port install gcc47" and "sudo port select --set gcc mp-gcc47" (running on Mac 10.8 Mountain Lion, XCode 4 installed, Command Line Tools installed)
Reading symbols for shared libraries ............... done
Switching to remote-macosx protocol
[New thread 9219]
[Switching to process 9219 thread 0x2403]
0x2fe70028 in ?? ()
Reading symbols for shared libraries + done
Reading symbols for shared libraries +++++++++++++++............................................................................................................. done
Detected hardware: iPad 2 (WiFi)
Reading symbols for shared libraries .. done
Reading symbols for shared libraries ... done
UIStageView :: Creating Depth buffer.
UIStageView :: Creating Depth buffer.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x4036d4d5
0x002a1c00 in hx::MarkObjectAlloc ()
unknown8438355cc078%
package;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.Lib;
class Main
{
static var sprite:Sprite;
public static function main()
{
Lib.current.stage.scaleMode = StageScaleMode.NO_SCALE;
Lib.current.stage.align = StageAlign.TOP_LEFT;
sprite = new Sprite();
Lib.current.stage.addChild(sprite);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment