Trying to get by the Apple Rejections for non-public API callsw

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Trying to get by the Apple Rejections for non-public API callsw

Erik J. Thomas
Hey all:

We got bit today by the new non-public API rejection notice from Apple due to AIR making these non-public calls:

https://forums.adobe.com/thread/2472510 <https://forums.adobe.com/thread/2472510>

But Adobe just created a special build of AIR 29.0.0.122 that fixes this issue but I can't figure out how to upgrade just the AIR SDK on top of my Flex SDK 4.16.1 release. I can't use the FlexSDK installer because it doesn't have the pre-release AIR 29.0.0.122 build with the fix for Apple rejections.

Piotr, did you embed the new 122 build into the latest FlexSDK installer I read about a few days ago? I use the Flex SDK installer normally to install new SDKs that embeds the AIRSDK you choose from the install menu.

Assuming Piotr did not use build 122 in latest Flex SDK installer because his last message about the installer was before Adobe released 122 patch. So I tried following these directions:

https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html <https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html>

But am getting compiler errors:

Information:4/17/18, 4:43 PM - Compilation completed with 3 errors and 0 warnings in 11s 891ms
Error:[FlexCommons]: java.net.SocketTimeoutException: Accept timed out
Error:[FlexCommons]: Exception in thread "main"
Error:[FlexCommons]: java.lang.NoClassDefFoundError: flex2/tools/VersionInfo
        at com.intellij.flex.compiler.FlexCompiler.<clinit>(FlexCompiler.java:19)
Caused by: java.lang.ClassNotFoundException: flex2.tools.VersionInfo
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 1 more

Does anyone know how to manually overlay an unreleased version of AIR SDK 29 onto FlexSDK 4.16.1? I'm sure this is some simple thing I'm doing wrong.

Thanks for your help!

Erik
Reply | Threaded
Open this post in threaded view
|

Re: Trying to get by the Apple Rejections for non-public API callsw

OmPrakash Muppirala
On Windows, I just copy the new AIR SDK into the current Flex SDK folder
and it prompts me to duplicate/replace/skip/etc.  If you simply select
replace, it should do the trick.

Although please back up your current flex sdk first before trying this,
just in case :-)

Thanks,
Om

On Tue, Apr 17, 2018 at 4:58 PM, Erik J. Thomas <[hidden email]> wrote:

> Hey all:
>
> We got bit today by the new non-public API rejection notice from Apple due
> to AIR making these non-public calls:
>
> https://forums.adobe.com/thread/2472510 <https://forums.adobe.com/
> thread/2472510>
>
> But Adobe just created a special build of AIR 29.0.0.122 that fixes this
> issue but I can't figure out how to upgrade just the AIR SDK on top of my
> Flex SDK 4.16.1 release. I can't use the FlexSDK installer because it
> doesn't have the pre-release AIR 29.0.0.122 build with the fix for Apple
> rejections.
>
> Piotr, did you embed the new 122 build into the latest FlexSDK installer I
> read about a few days ago? I use the Flex SDK installer normally to install
> new SDKs that embeds the AIRSDK you choose from the install menu.
>
> Assuming Piotr did not use build 122 in latest Flex SDK installer because
> his last message about the installer was before Adobe released 122 patch.
> So I tried following these directions:
>
> https://helpx.adobe.com/x-productkb/multi/how-overlay-
> air-sdk-flex-sdk.html <https://helpx.adobe.com/x-
> productkb/multi/how-overlay-air-sdk-flex-sdk.html>
>
> But am getting compiler errors:
>
> Information:4/17/18, 4:43 PM - Compilation completed with 3 errors and 0
> warnings in 11s 891ms
> Error:[FlexCommons]: java.net.SocketTimeoutException: Accept timed out
> Error:[FlexCommons]: Exception in thread "main"
> Error:[FlexCommons]: java.lang.NoClassDefFoundError:
> flex2/tools/VersionInfo
>         at com.intellij.flex.compiler.FlexCompiler.<clinit>(
> FlexCompiler.java:19)
> Caused by: java.lang.ClassNotFoundException: flex2.tools.VersionInfo
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         ... 1 more
>
> Does anyone know how to manually overlay an unreleased version of AIR SDK
> 29 onto FlexSDK 4.16.1? I'm sure this is some simple thing I'm doing wrong.
>
> Thanks for your help!
>
> Erik
Reply | Threaded
Open this post in threaded view
|

Re: Trying to get by the Apple Rejections for non-public API callsw

Erik J. Thomas
I did exactly that. No go. Still researching.

Thanks for responding.

Erik

On Apr 17, 2018, at 5:20 PM, OmPrakash Muppirala <[hidden email]> wrote:

On Windows, I just copy the new AIR SDK into the current Flex SDK folder
and it prompts me to duplicate/replace/skip/etc.  If you simply select
replace, it should do the trick.

Although please back up your current flex sdk first before trying this,
just in case :-)

Thanks,
Om

On Tue, Apr 17, 2018 at 4:58 PM, Erik J. Thomas <[hidden email]> wrote:

> Hey all:
>
> We got bit today by the new non-public API rejection notice from Apple due
> to AIR making these non-public calls:
>
> https://forums.adobe.com/thread/2472510 <https://forums.adobe.com/
> thread/2472510>
>
> But Adobe just created a special build of AIR 29.0.0.122 that fixes this
> issue but I can't figure out how to upgrade just the AIR SDK on top of my
> Flex SDK 4.16.1 release. I can't use the FlexSDK installer because it
> doesn't have the pre-release AIR 29.0.0.122 build with the fix for Apple
> rejections.
>
> Piotr, did you embed the new 122 build into the latest FlexSDK installer I
> read about a few days ago? I use the Flex SDK installer normally to install
> new SDKs that embeds the AIRSDK you choose from the install menu.
>
> Assuming Piotr did not use build 122 in latest Flex SDK installer because
> his last message about the installer was before Adobe released 122 patch.
> So I tried following these directions:
>
> https://helpx.adobe.com/x-productkb/multi/how-overlay-
> air-sdk-flex-sdk.html <https://helpx.adobe.com/x-
> productkb/multi/how-overlay-air-sdk-flex-sdk.html>
>
> But am getting compiler errors:
>
> Information:4/17/18, 4:43 PM - Compilation completed with 3 errors and 0
> warnings in 11s 891ms
> Error:[FlexCommons]: java.net.SocketTimeoutException: Accept timed out
> Error:[FlexCommons]: Exception in thread "main"
> Error:[FlexCommons]: java.lang.NoClassDefFoundError:
> flex2/tools/VersionInfo
>        at com.intellij.flex.compiler.FlexCompiler.<clinit>(
> FlexCompiler.java:19)
> Caused by: java.lang.ClassNotFoundException: flex2.tools.VersionInfo
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>        ... 1 more
>
> Does anyone know how to manually overlay an unreleased version of AIR SDK
> 29 onto FlexSDK 4.16.1? I'm sure this is some simple thing I'm doing wrong.
>
> Thanks for your help!
>
> Erik

Reply | Threaded
Open this post in threaded view
|

Re: Trying to get by the Apple Rejections for non-public API callsw

Alex Harui-2
One problem with the direct copy-over is that AIR SDK has an
air-config.xml that blows away the air-config.xml that Flex expects.  I'm
not sure what errors you are running into, but replacing that one file
might help.

On the other hand, the installer is running a subset of Apache Ant, and
you can look at the installer.xml script, and place a local.properties
file in the destination folder and override certain variables.  It might
be that you can override the air.sdk.url.* properties and get past your
problem.

HTH,
-Alex

On 4/17/18, 7:02 PM, "Erik J. Thomas" <[hidden email]> wrote:

>I did exactly that. No go. Still researching.
>
>Thanks for responding.
>
>Erik
>
>On Apr 17, 2018, at 5:20 PM, OmPrakash Muppirala <[hidden email]>
>wrote:
>
>On Windows, I just copy the new AIR SDK into the current Flex SDK folder
>and it prompts me to duplicate/replace/skip/etc.  If you simply select
>replace, it should do the trick.
>
>Although please back up your current flex sdk first before trying this,
>just in case :-)
>
>Thanks,
>Om
>
>On Tue, Apr 17, 2018 at 4:58 PM, Erik J. Thomas <[hidden email]> wrote:
>
>> Hey all:
>>
>> We got bit today by the new non-public API rejection notice from Apple
>>due
>> to AIR making these non-public calls:
>>
>>
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fforums.a
>>dobe.com%2Fthread%2F2472510&data=02%7C01%7Caharui%40adobe.com%7C079d10ce0
>>3234a34982b08d5a4d068a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>>96137378183652&sdata=yvg1blN4OfbM%2BYMwQ%2FloBid6fpB7VShDviVI9uU4q5A%3D&r
>>eserved=0
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fforums.
>>adobe.com%2F&data=02%7C01%7Caharui%40adobe.com%7C079d10ce03234a34982b08d5
>>a4d068a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636596137378183652&
>>sdata=QS6%2FdP98WdtRWexDdChq8Ybf3DhyXGNWqmbkxbwyJb4%3D&reserved=0
>> thread/2472510>
>>
>> But Adobe just created a special build of AIR 29.0.0.122 that fixes this
>> issue but I can't figure out how to upgrade just the AIR SDK on top of
>>my
>> Flex SDK 4.16.1 release. I can't use the FlexSDK installer because it
>> doesn't have the pre-release AIR 29.0.0.122 build with the fix for Apple
>> rejections.
>>
>> Piotr, did you embed the new 122 build into the latest FlexSDK
>>installer I
>> read about a few days ago? I use the Flex SDK installer normally to
>>install
>> new SDKs that embeds the AIRSDK you choose from the install menu.
>>
>> Assuming Piotr did not use build 122 in latest Flex SDK installer
>>because
>> his last message about the installer was before Adobe released 122
>>patch.
>> So I tried following these directions:
>>
>>
>>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelpx.ad
>>obe.com%2Fx-productkb%2Fmulti%2Fhow-overlay-&data=02%7C01%7Caharui%40adob
>>e.com%7C079d10ce03234a34982b08d5a4d068a8%7Cfa7b1b5a7b34438794aed2c178dece
>>e1%7C0%7C0%7C636596137378183652&sdata=Jnhn%2Bs7u7EmC6Jxwx2Mos8aQrPusIAQkL
>>T8ncIlGUp8%3D&reserved=0
>> air-sdk-flex-sdk.html
>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelpx.a
>>dobe.com%2Fx-&data=02%7C01%7Caharui%40adobe.com%7C079d10ce03234a34982b08d
>>5a4d068a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636596137378183652
>>&sdata=9DXWKKJssa7G8S2Ctrf6ig%2BEcnVeN934p5%2BwfNj5k6E%3D&reserved=0
>> productkb/multi/how-overlay-air-sdk-flex-sdk.html>
>>
>> But am getting compiler errors:
>>
>> Information:4/17/18, 4:43 PM - Compilation completed with 3 errors and 0
>> warnings in 11s 891ms
>> Error:[FlexCommons]: java.net.SocketTimeoutException: Accept timed out
>> Error:[FlexCommons]: Exception in thread "main"
>> Error:[FlexCommons]: java.lang.NoClassDefFoundError:
>> flex2/tools/VersionInfo
>>        at com.intellij.flex.compiler.FlexCompiler.<clinit>(
>> FlexCompiler.java:19)
>> Caused by: java.lang.ClassNotFoundException: flex2.tools.VersionInfo
>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>        ... 1 more
>>
>> Does anyone know how to manually overlay an unreleased version of AIR
>>SDK
>> 29 onto FlexSDK 4.16.1? I'm sure this is some simple thing I'm doing
>>wrong.
>>
>> Thanks for your help!
>>
>> Erik
>

Reply | Threaded
Open this post in threaded view
|

Re: Trying to get by the Apple Rejections for non-public API callsw

Kerogi
I updated to AIR29 with fix from AIR28 installed with Apache Flex Installer
and using SDKs provided in this comment.
https://forums.adobe.com/message/10310350#10310350

App submitted without issues.



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Trying to get by the Apple Rejections for non-public API callsw

Erik J. Thomas
Still struggling with this. Latest attempt was to download this version of AIR 29.0.0.122 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:

https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html <https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html>

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
/Users/ethomas/linqto/FlexDev/FlexCommons/src/com/linqto/flexcommons/component/widget/ProgressDot.mxml
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.

Erik

On Apr 18, 2018, at 12:59 AM, Kerogi <[hidden email]> wrote:

I updated to AIR29 with fix from AIR28 installed with Apache Flex Installer
and using SDKs provided in this comment.
https://forums.adobe.com/message/10310350#10310350

App submitted without issues.



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/


Reply | Threaded
Open this post in threaded view
|

Re: Trying to get by the Apple Rejections for non-public API callsw

Erik J. Thomas
Please disregard. The latest FlexSDK installer installed build AIR 29.0.0.122 when selecting AIR 29 from the install menu. Didn't notice till now, assumed it was AIR 29.0.0.112. Thanks, Piotr!

I'm good now, though can't install IPA locally and debug with ad hoc profile because of the beta-reports-active entitlement issue, but at least I'm where everyone else seems to be.

Thanks.

Erik

On Apr 18, 2018, at 10:51 AM, Erik J. Thomas <[hidden email]> wrote:

Still struggling with this. Latest attempt was to download this version of AIR 29.0.0.122 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:

https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html <https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html>

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
/Users/ethomas/linqto/FlexDev/FlexCommons/src/com/linqto/flexcommons/component/widget/ProgressDot.mxml
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.

Erik

On Apr 18, 2018, at 12:59 AM, Kerogi <[hidden email]> wrote:

I updated to AIR29 with fix from AIR28 installed with Apache Flex Installer
and using SDKs provided in this comment.
https://forums.adobe.com/message/10310350#10310350

App submitted without issues.



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/



Reply | Threaded
Open this post in threaded view
|

Re: Trying to get by the Apple Rejections for non-public API callsw

piotrz
Hi Erik,

Cool that fixes in the installer helped! I need to cut another Release
Candidate, but soon it will be officially released. :)

Piotr

On Wed, Apr 18, 2018, 8:25 PM Erik J. Thomas <[hidden email]> wrote:

> Please disregard. The latest FlexSDK installer installed build AIR
> 29.0.0.122 when selecting AIR 29 from the install menu. Didn't notice till
> now, assumed it was AIR 29.0.0.112. Thanks, Piotr!
>
> I'm good now, though can't install IPA locally and debug with ad hoc
> profile because of the beta-reports-active entitlement issue, but at least
> I'm where everyone else seems to be.
>
> Thanks.
>
> Erik
>
> On Apr 18, 2018, at 10:51 AM, Erik J. Thomas <[hidden email]> wrote:
>
> Still struggling with this. Latest attempt was to download this version of
> AIR 29.0.0.122 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:
>
> https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
> <
> https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
> >
>
> 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
>
> /Users/ethomas/linqto/FlexDev/FlexCommons/src/com/linqto/flexcommons/component/widget/ProgressDot.mxml
> 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.
>
> Erik
>
> On Apr 18, 2018, at 12:59 AM, Kerogi <[hidden email]> wrote:
>
> I updated to AIR29 with fix from AIR28 installed with Apache Flex Installer
> and using SDKs provided in this comment.
> https://forums.adobe.com/message/10310350#10310350
>
> App submitted without issues.
>
>
>
> --
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Trying to get by the Apple Rejections for non-public API callsw

douglasmccarroll
In reply to this post by Erik J. Thomas
Hi Erik,

Did you figure out what your problem was here? I'm getting the same error
with AIR 29.0.0.122.

I followed the directions here ...

https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html

... to create the combined Flex/AIR SDK. If I understand correctly this
simply boils down to:

   - Download and extract AIR SDK (the "for Flex" version) and the Flex SDK
   - Copy the extracted AIR SDK files into the Flex SDK folder
   - Update your -app.xml files to reflect the new AIR version

I'm not using the Flex installer app because it times out after the first
screen ~97% of the time, and fails for other reasons in the remaining 3% of
cases.

Douglas

On Tue, Apr 17, 2018 at 7:58 PM, Erik J. Thomas <[hidden email]> wrote:

> Hey all:
>
> We got bit today by the new non-public API rejection notice from Apple due
> to AIR making these non-public calls:
>
> https://forums.adobe.com/thread/2472510 <https://forums.adobe.com/
> thread/2472510>
>
> But Adobe just created a special build of AIR 29.0.0.122 that fixes this
> issue but I can't figure out how to upgrade just the AIR SDK on top of my
> Flex SDK 4.16.1 release. I can't use the FlexSDK installer because it
> doesn't have the pre-release AIR 29.0.0.122 build with the fix for Apple
> rejections.
>
> Piotr, did you embed the new 122 build into the latest FlexSDK installer I
> read about a few days ago? I use the Flex SDK installer normally to install
> new SDKs that embeds the AIRSDK you choose from the install menu.
>
> Assuming Piotr did not use build 122 in latest Flex SDK installer because
> his last message about the installer was before Adobe released 122 patch.
> So I tried following these directions:
>
> https://helpx.adobe.com/x-productkb/multi/how-overlay-
> air-sdk-flex-sdk.html <https://helpx.adobe.com/x-
> productkb/multi/how-overlay-air-sdk-flex-sdk.html>
>
> But am getting compiler errors:
>
> Information:4/17/18, 4:43 PM - Compilation completed with 3 errors and 0
> warnings in 11s 891ms
> Error:[FlexCommons]: java.net.SocketTimeoutException: Accept timed out
> Error:[FlexCommons]: Exception in thread "main"
> Error:[FlexCommons]: java.lang.NoClassDefFoundError:
> flex2/tools/VersionInfo
>         at com.intellij.flex.compiler.FlexCompiler.<clinit>(
> FlexCompiler.java:19)
> Caused by: java.lang.ClassNotFoundException: flex2.tools.VersionInfo
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         ... 1 more
>
> Does anyone know how to manually overlay an unreleased version of AIR SDK
> 29 onto FlexSDK 4.16.1? I'm sure this is some simple thing I'm doing wrong.
>
> Thanks for your help!
>
> Erik