Air16 iOS packaging issue
When I starts using air16 I get an unusual runtime error on iOS 8.1.2. It looks like code generating issue due to Android variant works well.
I have a project that consists of many swfs containing resources and a bit of AS code. I pack them using adt to make it possible to load them later.
After I moved to air16 (from air15) I encountered a runtime error:
[Fault] exception, information=ReferenceError: Error #1074: Illegal write to read-only property AGENT_CLASS on class game.agents.presentation.lines.AgentLinesSimplePresentation.
Where AGENT_CLASS is the static constant defined like that.
public class AgentLinesSimplePresentation extends AgentPresentationBase
{
static public const AGENT_CLASS: Class = AgentLinesSimplePresentation;
....
}
useLegacyAOT=no/yes doesn't matter.
The stack top is

What is this and how to avoid?
