iOS (iPad): "unable to find named traits" error when building for "standard" only
Hello,
I've been building an app happily on desktop and "fast" mode with no problems. However when I try to build in Standard mode I get the following error pop up:
Exception in thread "main" java.lang.Error: Unable to find named traits: spark.components.supportClasses::StyleableTextField
at adobe.abc.Domain.resolveTypeName(Domain.java:232)
at adobe.abc.Domain.resolveTypeName(Domain.java:149)
at adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:272)
at adobe.abc.GlobalOptimizer$InputAbc.resolveSlotType(GlobalOptimizer.java:946)
at adobe.abc.GlobalOptimizer$InputAbc.resolveType(GlobalOptimizer.java:535)
My guess it has something to do with the fact that I have a preloader factory class with my application. Even though not necessary for the iPad per se, this app is cross platform and is intended to be built as a standard swf for web use as well, so I'd like to keep it in there. I had to include the following two paths as SWC folders in my Actionscript Build Path -> Library Path in the project settings for it to even compile in the first place:
C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\flex_sdk_4.6.0.23201\frameworks\libs
C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\flex_sdk_4.6.0.23201\frameworks\locale\en_US
So I suspect these might have something to do with my problem. I am using the latest released Flex SDK with Adobe Air 3.4 on Flash Buidler 4.6.
I've seen tons of people complain about this error when it comes to Air Native Extensions (ANE) but I'm not writing one. Anyone run into something like this with just a plain app?
Thanks!
