Unable to build air IOS app - asking SDK13

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

Unable to build air IOS app - asking SDK13

breizhman
Hi all,

We are currently wrapping up a project Apache Flex/Air with latest available
SDK

Flex 4.16.1
Air 32.

When it comes to load the app in testflight

We get that error

http://i.imgur.com/ohcqTO1.png

http://i.imgur.com/688DGl4.png

Does someone know if there is any plan from Adobe or Apache to update SDK
soon for that requirement form Apple

Cheers



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

Re: Unable to build air IOS app - asking SDK13

piotrz
Hello,

Adobe stopped support for Air, Harman took over that. Maybe you need to
update to their version [1]

[1] https://airsdk.harman.com/

Thanks,
Piotr

czw., 16 lip 2020 o 13:47 breizhman <[hidden email]> napisał(a):

> Hi all,
>
> We are currently wrapping up a project Apache Flex/Air with latest
> available
> SDK
>
> Flex 4.16.1
> Air 32.
>
> When it comes to load the app in testflight
>
> We get that error
>
> http://i.imgur.com/ohcqTO1.png
>
> http://i.imgur.com/688DGl4.png
>
> Does someone know if there is any plan from Adobe or Apache to update SDK
> soon for that requirement form Apple
>
> Cheers
>
>
>
> --
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/
>


--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build air IOS app - asking SDK13

breizhman
Ho no damn.

How hard it is to mix Flex and Air sdk together?

The Apache Flex/Air downloader was doing it easy for us



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

Re: Unable to build air IOS app - asking SDK13

piotrz
It looks easy [1] - I'm not sure if that instruction still apply to Harman
Air.

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

czw., 16 lip 2020 o 13:58 breizhman <[hidden email]> napisał(a):

> Ho no damn.
>
> How hard it is to mix Flex and Air sdk together?
>
> The Apache Flex/Air downloader was doing it easy for us
>
>
>
> --
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/
>


--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build air IOS app - asking SDK13

breizhman
Nice will give it a try but I doubt it will be that easy!
I just figured out last week how to automated builds for this app into Azure
DevOps pipelines and it was hell :)

Thanks for the links !!



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

Re: Unable to build air IOS app - asking SDK13

piotrz
Good Luck! :)

czw., 16 lip 2020 o 14:04 breizhman <[hidden email]> napisał(a):

> Nice will give it a try but I doubt it will be that easy!
> I just figured out last week how to automated builds for this app into
> Azure
> DevOps pipelines and it was hell :)
>
> Thanks for the links !!
>
>
>
> --
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/
>


--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build air IOS app - asking SDK13

Frost, Andrew
In reply to this post by breizhman
Yes we're expecting people to still follow the instructions as you've posted them there Piotr. It needs to be the "Flex" download rather than the regular one but then it should still work with this.

We'd toyed with the idea of doing some utility that manages the SDKs and helps to do these sorts of operations .. but it should be possible for anyone to throw something together (as an AIR application, of course...)

thanks


-----Original Message-----
From: Piotr Zarzycki <[hidden email]>
Sent: 16 July 2020 13:01
To: [hidden email]
Subject: [EXTERNAL] Re: Unable to build air IOS app - asking SDK13

It looks easy [1] - I'm not sure if that instruction still apply to Harman Air.

[1]
https://clicktime.symantec.com/3QA4cSpq1Bt4u3YRDfsieng7Vc?u=https%3A%2F%2Fhelpx.adobe.com%2Fx-productkb%2Fmulti%2Fhow-overlay-air-sdk-flex-sdk.html

czw., 16 lip 2020 o 13:58 breizhman <[hidden email]> napisał(a):

> Ho no damn.
>
> How hard it is to mix Flex and Air sdk together?
>
> The Apache Flex/Air downloader was doing it easy for us
>
>
>
> --
> Sent from:
> https://clicktime.symantec.com/3Pz6MfEqNgAQxFNFv2CZnsv7Vc?u=http%3A%2F
> %2Fapache-flex-users.2333346.n4.nabble.com%2F
>


--

Piotr Zarzycki

Patreon: *https://clicktime.symantec.com/3UQLchLqoVyepxvCcp5fP697Vc?u=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki
<https://clicktime.symantec.com/3UQLchLqoVyepxvCcp5fP697Vc?u=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki>*
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build air IOS app - asking SDK13

piotrz
Anyone is welcome improve current version of Installer. That would be the
best. :)

czw., 16 lip 2020 o 14:15 Frost, Andrew <[hidden email]>
napisał(a):

> Yes we're expecting people to still follow the instructions as you've
> posted them there Piotr. It needs to be the "Flex" download rather than the
> regular one but then it should still work with this.
>
> We'd toyed with the idea of doing some utility that manages the SDKs and
> helps to do these sorts of operations .. but it should be possible for
> anyone to throw something together (as an AIR application, of course...)
>
> thanks
>
>
> -----Original Message-----
> From: Piotr Zarzycki <[hidden email]>
> Sent: 16 July 2020 13:01
> To: [hidden email]
> Subject: [EXTERNAL] Re: Unable to build air IOS app - asking SDK13
>
> It looks easy [1] - I'm not sure if that instruction still apply to Harman
> Air.
>
> [1]
>
> https://clicktime.symantec.com/3QA4cSpq1Bt4u3YRDfsieng7Vc?u=https%3A%2F%2Fhelpx.adobe.com%2Fx-productkb%2Fmulti%2Fhow-overlay-air-sdk-flex-sdk.html
>
> czw., 16 lip 2020 o 13:58 breizhman <[hidden email]> napisał(a):
>
> > Ho no damn.
> >
> > How hard it is to mix Flex and Air sdk together?
> >
> > The Apache Flex/Air downloader was doing it easy for us
> >
> >
> >
> > --
> > Sent from:
> > https://clicktime.symantec.com/3Pz6MfEqNgAQxFNFv2CZnsv7Vc?u=http%3A%2F
> > %2Fapache-flex-users.2333346.n4.nabble.com%2F
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *
> https://clicktime.symantec.com/3UQLchLqoVyepxvCcp5fP697Vc?u=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki
> <
> https://clicktime.symantec.com/3UQLchLqoVyepxvCcp5fP697Vc?u=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki
> >*
>


--

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Reply | Threaded
Open this post in threaded view
|

Re: Unable to build air IOS app - asking SDK13

breizhman
So if I underatand correctly I need to download flex sdk on one side

http://www.apache.org/dyn/closer.lua/flex/4.16.1/binaries/apache-flex-sdk-4.16.1-bin.zip

Adobe air sdk harman on the other.

And mix the 2 together?





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

Re: Unable to build air IOS app - asking SDK13

breizhman
Do you guys know where that airHome is define?

If I Solution 1

Download mix AIR/FLEX sdk and just replace AIR it "works" but probably too
nasty

If I Solution 2

Download Air on one side and Flex on the other and put them together I get
that error

http://i.imgur.com/DKC1VZa.png

I try to see where it is defined and search for airHome in both Solution 1
and Solution 2 but can't really see the difference



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

Re: Unable to build air IOS app - asking SDK13

Erik Thomas-3
It's not difficult to do this. Here are simple instructions for Mac. BTW, you don't need airHome (see FLEX_HOME below). The key here is to NOT user Finder to copy the AIR SDK over the Flex SDK. Doing that will end up with build errors for reasons I don't understand. Just use the command line for the copy -rf and it will work fine.

1. Install the Flex 4.16.1 using the installer and keep a copy of it for overlaying with newer versions of AIR.

2. Create a folder for the new combined SDK. Mine is named like this:

~/SDKs/SDK4.16.1-H33.1.1.86

...where the Flex SDK version is 4.16.1, H33 is Harmon AIR SDK version 33, and 1.1.86 is the build number since Harmon releases new builds of the 33 version. I am at 86 since it works for me and when it comes to AIR SDKs, so many things seem to get busted with new releases, I stick with what works and upgrade only when necessary. But you need 33 to get past lots of breakage in 32. I name the folder with the full build number because I may have to roll back to using a previous build if I run into troubles.

3. Copy the Flex 4.16.1 backup SDK to the new folder.

4. Download the AIR SDK zip file from Harman:

https://airsdk.harman.com/download

5. Save the zip file to downloads or a temp location.

6. Unzip the file by double-clicking it in Finder.

7. In the terminal (shell), execute these commands (assuming your AIR SDK is unzipped and in ~/Downloads/airsdk):

> cp -rf ~/Downloads/airsdk /* ~/SDK4.16.1-H33.1.1.86

8. Update FLEX_HOME env var to the new SDK path by editing your ~/.profile or ~/.bash_profile:

> open -e ~/.bash_profile

9. Add this line:

export FLEX_HOME=~/ SDK4.16.1-H33.1.1.86

10. Restart your IDE and any open terminal windows to "get" the FLEX_HOME env var which is used by ADT and ant if you do any command line builds.

11. Switch to the new SDK in your IDE project and/or modules, any build scripts (if you automate builds) your app descriptor swf version, etc.

Any time you get a new AIR SDK just use the Flex 4.16.1 SDK you saved and put it into a new folder and follow the directions above. I have been doing it this way for years, though they changed slightly since Harman took over (just the SDK location and the fact it's a zip file).

Reply | Threaded
Open this post in threaded view
|

Re: Unable to build air IOS app - asking SDK13

Erik Thomas-3
Sorry, there are a couple spaces in the commands that could mess you up. Here are the corrected commands, note that AIRSDK_Flex_MacOS is the directory created by double clicking the zip file.

> cp -rf ~/Downloads/AIRSDK_Flex_MacOS/* ~/SDK4.16.1-H33.1.1.86

There was a space in the SDK path in my first post. Here is the corrected version just in case, but you'll use your own naming convention I'm sure.

In ~/.bash_profile (create the file if it doesn't exist, or edit ~/.profile instead:

export FLEX_HOME=~/SDK4.16.1-H33.1.1.86

On 7/16/20, 10:18 AM, "Erik Thomas" <[hidden email]> wrote:

    It's not difficult to do this. Here are simple instructions for Mac. BTW, you don't need airHome (see FLEX_HOME below). The key here is to NOT use Finder to copy the AIR SDK over the Flex SDK. Doing that will end up with build errors for reasons I don't understand. Just use the command line for the copy -rf and it will work fine.

    1. Install the Flex 4.16.1 using the installer and keep a copy of it for overlaying with newer versions of AIR.

    2. Create a folder for the new combined SDK. Mine is named like this:

    ~/SDKs/SDK4.16.1-H33.1.1.86

    ...where the Flex SDK version is 4.16.1, H33 is Harmon AIR SDK version 33, and 1.1.86 is the build number since Harmon releases new builds of the 33 version. I am at 86 since it works for me and when it comes to AIR SDKs, so many things seem to get busted with new releases, I stick with what works and upgrade only when necessary. But you need 33 to get past lots of breakage in 32. I name the folder with the full build number because I may have to roll back to using a previous build if I run into troubles.

    3. Copy the Flex 4.16.1 backup SDK to the new folder.

    4. Download the AIR SDK zip file from Harman:

    https://airsdk.harman.com/download

    5. Save the zip file to downloads or a temp location.

    6. Unzip the file by double-clicking it in Finder.

    7. In the terminal (shell), execute these commands (assuming your AIR SDK is unzipped and in ~/Downloads/airsdk):

    > cp -rf ~/Downloads/airsdk /* ~/SDK4.16.1-H33.1.1.86

    8. Update FLEX_HOME env var to the new SDK path by editing your ~/.profile or ~/.bash_profile:

    > open -e ~/.bash_profile

    9. Add this line:

    export FLEX_HOME=~/ SDK4.16.1-H33.1.1.86

    10. Restart your IDE and any open terminal windows to "get" the FLEX_HOME env var which is used by ADT and ant if you do any command line builds.

    11. Switch to the new SDK in your IDE project and/or modules, any build scripts (if you automate builds) your app descriptor swf version, etc.

    Any time you get a new AIR SDK just use the Flex 4.16.1 SDK you saved and put it into a new folder and follow the directions above. I have been doing it this way for years, though they changed slightly since Harman took over (just the SDK location and the fact it's a zip file).


Reply | Threaded
Open this post in threaded view
|

Re: Unable to build air IOS app - asking SDK13

breizhman
Thanks a lot Eric that truly help!!!!



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