Re: Trying to get by the Apple Rejections for non-public API callsw
Still struggling with this. Latest attempt was to download this version of AIR 188.8.131.52 SDK without compiler:
https://files.acrobat.com/a/preview/679585ca-74fc-490f-903d-98725ecda477 <https://files.acrobat.com/a/preview/679585ca-74fc-490f-903d-98725ecda477> - Thanks Kerogi
And followed these overlay instructions:
And checked out the frameworks/air-config.xml and diff'd it to the same file installed with the FlexSDK installer. They were identical so overlay didn't affect that file. Thanks for the suggestion Alex.
After updating my projects to use the new Flex SDK with AIR 29, my IDE cannot resolve spark components and using the compiler fails though it's pointing application.home to the correct updated SDK folder:
Information:[FlexCommons]: Starting Flex compiler:
"/Applications/IntelliJ IDEA 3.app/Contents/jdk/Contents/Home/jre/bin/java" -Dapplication.home=/Users/ethomas/linqto/FlexSDKs/SDK4.16.1-29b -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -classpath "/Applications/IntelliJ IDEA 3.app/Contents/plugins/flex/lib/idea-flex-compiler-fix.jar:/Applications/IntelliJ IDEA 3.app/Contents/plugins/flex/lib/flex-compiler.jar:/Users/ethomas/linqto/FlexSDKs/SDK4.16.1-29b/lib/flex-compiler-oem.jar" com.intellij.flex.compiler.FlexCompiler 51978
Information:[FlexCommons]: compc -load-config=/Users/ethomas/Library/Caches/IntelliJIdea2017.2/compile-server/navcon_19ada740/_temp_/IntelliJ_IDEA/idea-1162E68-F61C0A0.xml -load-config=/Users/ethomas/linqto/FlexDev/config/compiler-options.xml
Information:[FlexCommons]: Loading configuration file /Users/ethomas/Library/Caches/IntelliJIdea2017.2/compile-server/navcon_19ada740/_temp_/IntelliJ_IDEA/idea-1162E68-F61C0A0.xml
Information:[FlexCommons]: Loading configuration file /Users/ethomas/linqto/FlexDev/config/compiler-options.xml
Information:[FlexCommons]: Compilation failed. Dependent builds will be skipped
Information:4/18/18, 10:35 AM - Compilation completed with 10 errors and 0 warnings in 2s 440ms
Error:[FlexCommons]: unknown error
Error:[FlexCommons]: Unable to locate specified base class 'spark.components.Group' for component class 'com.linqto.flexcommons.component.widget.ProgressDot'.
Additional errors omitted for brevity.
I don't know if this is an IntelliJ issue or not. Does anyone have any suggestions? Is there a trick to updating an AIR SDK in the Flex SDK directory besides copying it in? I examined the installer.xml script as well and just don't see what to change there.
Thanks for your suggestions.
On Apr 18, 2018, at 12:59 AM, Kerogi <param.pam.pam@xxxxxxx> wrote:
I updated to AIR29 with fix from AIR28 installed with Apache Flex Installer
and using SDKs provided in this comment.
App submitted without issues.
Sent from: http://apache-flex-users.2333346.n4.nabble.com/