Skip to main content
May 15, 2013 6:56 AM UTC
Question

AIR 3.8.0.440 / iOS: build fails with "ld: -pie can only be used when targeting iOS 4.2 or later"

With AIR 3.8.0.440, iOS build with "adt -package -target ipa-ad-hoc" fails with a linker error:

ld: -pie can only be used when targeting iOS 4.2 or later

What's the correct option to suppress this error or does it need a fix for adt?

In the app.xml,

<key>MinimumOSVersion</key>

            <string>5.0</string>

is already present in the iPhone InfoAdditions section.

(Building the same app with AIR 3.8.0.370 is fine)

This topic is closed to new replies. Start a new post to keep the conversation going.

19 replies

Pahup
Adobe Employee
Adobe Employee
May 15, 2013 7:55 AM UTC

Thanks for reporting, are you using any ANE?

-Pahup

Translate
May 15, 2013 8:30 AM UTC

Yes, it contains ANE modules, but some don't come with source code so can't rebuild them.

Translate
Pahup
Adobe Employee
Adobe Employee
May 15, 2013 8:35 AM UTC

Could you try unbundling the ANE and see if the platform.xml has any minimum OS vesion requirement? Please see this for more details on platform.xml - http://help.adobe.com/en_US/air/extensions/WSf268776665d7970d-2e74ffb4130044f3619-7fff.html

Thanks

-Pahup

Translate