Skip to main content
May 15, 2013
Question

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

  • May 15, 2013
  • 1 reply
  • 6304 views

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 has been closed for replies.

1 reply

Pahup
Adobe Employee
Adobe Employee
May 15, 2013

Thanks for reporting, are you using any ANE?

-Pahup

May 15, 2013

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

Pahup
Adobe Employee
Adobe Employee
May 15, 2013

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