git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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" <erik@xxxxxxxxxx> wrote:

>I did exactly that. No go. Still researching.
>
>Thanks for responding.
>
>Erik
>
>On Apr 17, 2018, at 5:20 PM, OmPrakash Muppirala <bigosmallm@xxxxxxxxx>
>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 <erik@xxxxxxxxxx> 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
>