AIR 3.8, iOS Packaging Failed: "Compilation failed while executing : ld64"

Since upgrading to AIR 3.8, we can no longer package our AIR Application.
We are getting the following error:
internal_package-ios:
     [exec] ld: -pie can only be used when targeting iOS 4.2 or later
     [exec] Compilation failed while executing : ld64
Screenshot Here: http://cl.ly/image/3h2U1g271n1J
Reverting to AIR 3.7 fixes the issue... but we need 3.8 as we need the 4096 texture support that comes with BASELINE_EXTENDED profile.
From googling, this seems like it's related to the iOS SDK included with AIR, but the issue was fixed in AIR 3.7. Seems it has been regressed...

Hi Shawn,
Since AIR 3.8, we support only PIE enabled binaries, as per Apple recommendation.
For this, the minimum supported iOS version is 4.2. The ANE you are using specifies a minimum iOS version of 4.0 in its platform-iphone.xml, present at: https://github.com/alebianco/ANE-Google-Analytics/blob/master/build/platform-iphone.xml
You will need to change the line:
<option>-ios_version_min 4.0</option>
to:
<option>-ios_version_min 4.2</option>
and rebuild the ANE to make it work.
Regards,
Neha

Similar Messages

  • Compilation failed while executing : ld64

    I'm getting this error while packaging my application for iOS:
    Error occurred while packaging the application:
    Compilation failed while executing : ld64
    The application compiles and runs fine on my coworker's machine, but consistently does this on mine.  The research I've done on this suggests this has to do with ANE's.  I'm using 3- two require IOS Version 5.0, the third doesn't seem to specify anything.
    Is there anything I can do to get a more descriptive failure?
    Thanks, I've spent way too many hours trying to get past this.

    I'm getting this error while packaging my application for iOS:
    Error occurred while packaging the application:
    Compilation failed while executing : ld64
    The application compiles and runs fine on my coworker's machine, but consistently does this on mine.  The research I've done on this suggests this has to do with ANE's.  I'm using 3- two require IOS Version 5.0, the third doesn't seem to specify anything.
    Is there anything I can do to get a more descriptive failure?
    Thanks, I've spent way too many hours trying to get past this.

  • File.upload on Air SDK for iOS devices failed to send http request to server.

    I am trying to use ActionScript's File.upload to upload a file on Air SDK for iOS8 environment, but the File.upload does not work properly. No handler about the file upload is executed after File.upload is invoked, and no exception is caught. When I check the network traffic of the server side, I found that no http request even hit the server after File.upload is executed. The code snippet here is very simple.
      private var file:File;
      private var dir:File;
      //This method is executed to create a file and upload it when the Upload Button is pressed.
      protected function OnUploadButtonPressed(event:MouseEvent):void{
      var str:String = 'This is test';
      var imageBytes:ByteArray = new ByteArray();
      for ( var i:int = 0; i < str.length; i++ ) {
      imageBytes.writeByte( str.charCodeAt(i) );
      try{
      dir = File.applicationStorageDirectory
      var now:Date = new Date();
      var filename:String = "test" + now.seconds + now.milliseconds + ".txt";
      file = dir.resolvePath( filename );
      var stream:FileStream = new FileStream();
      stream.open( file, FileMode.WRITE );
      stream.writeBytes( imageBytes );
      stream.close();
      file.addEventListener( Event.COMPLETE, uploadComplete );
      file.addEventListener( IOErrorEvent.IO_ERROR, ioError );
      file.addEventListener( SecurityErrorEvent.SECURITY_ERROR, securityError );
      file.addEventListener(ErrorEvent.ERROR, someError);
      file.addEventListener(ProgressEvent.PROGRESS, onProgress);
      file.upload( new URLRequest("http://10.60.99.31/MyPath/fileUploadTest.do"));//This line does not work. No handler is executed. No http request hit the server side.
      } catch( e:Error ) {
      trace( e );
      //Complete Handler
      private function uploadComplete( event:Event ):void
      trace( "Upload successful." );
      //IOError handler
      private function ioError( error:IOErrorEvent ):void
      trace( "Upload failed: " + error.text );
      //SecurityError handler
      private function securityError(error:SecurityErrorEvent):void{
      trace( "Security error:" + error.text );
      //Other handler
      private function someError(error:ErrorEvent):void{
      trace("some error" + error.text);
      //Progress handler
      private function onProgress(event:ProgressEvent):void{
      trace("progressHandler");
    When executed on Air Simulator, it works fine as expected, and the file is successfully uploaded to the server. But When executed on iOS devices(in my case, iPad), as I explain early, no handler about the file upload is executed, and no the http request even hit the server. So I think the problem may be in the client side. It seems that the Air SDK for iOS just failed to send the http request for some reason.
    To make my problem more clear, I list my environment below:
    Development Environment:  Windows7 (64bit)  / Mac os 10.9.4 (Tested on  OS platforms.)
    IDE: Flash Builder 4.7
    Air SDK:  3.8 / 16.0.0 (After I updated to the lastest Air SDK 16.0.0 , the problem still exists.)
    Application Server:  Tomcat7 + Spring
    Target OS: iOS 8
    I have been struggling for this for days. So I really appreciate it if anyone has any idea about this.
    Thanks in advance.

    Hi bluewindice ,
    As you have quoted ( ActionScript's File.upload does not work on Air SDK for iOS devices ) , this issue has been replicated at our end, and our team will be working on it.
    Thanks,
    Tushar

  • Compilation failed while executing: ADT

    I have a project that I've been successfully compiling for iOS in Flash Professional 5.5, with uses AIR 2.6. I decided to try compiling in Flash Builder 4.6 using AIR 3.1. It runs fine on the desktop, no errors or warnings. When I try to do an Ad Hoc release build, it fails with java.lang.NullPointerException at java.util.TreeMap.getEntry(TreeMap.java:324), (The Export Release Build dialog does not let me select the text, otherwise I'd paste the stack here)starting at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82) and saying  "Compilation failed while executing: ADT"
    Any suggestions would be appreciated!
    Regards,
    John

    Hi John,
    Could you please try packaging it on command line using ADT (available @ C:\Program Files\Adobe\Adobe Flash Builder 4.x\sdks\4.x\bin)
    # adt -package -target ipa-ad-hoc -provisioning-profile <path to mobileprovision> -storetype pkcs12 -keystore <path to p12> -storepass <password> hellworld.ipa hellworld-app.xml hellworld.swf
    Is it specific to ipa-ad-hoc target only? Could you try it with other targets like ipa-app-store or ipa-test-interpreter
    Please share the adt version by executing following command.
    # adt -version
    -Thanks
    Pahup

  • Compilation failed while executing : dsymutil

    Hi,
    Trying to compile a standard package for ios with major failure. The fast-version works perfectly without any errors.
    I'm on mac os x lion and using flash builder 4.5.1. The error I'm getting is as follows:
    Error occurred while packaging the application:
    /var/folders/n4/52v6ttx96c7bnw8vnysh5j780000gn/T/cmd460615453403880056.tmp: line 2: dsymutil: command not found
    Compilation failed while executing : dsymutil
    I can't find anything about it posted previously or anywhere actually.
    / Daniel

    I'm answering my own question here.
    Install Xcode from the appstore ( it's free ) and you will get dsymutil. Weird workaround considering I can run this setup on another computer that hasn't got xcode installed ( but still has dsymutil ).  But at least it solves the problem.

  • Compilation failed while executing: as

    I am getting the error of
    Compilation failed while executing: as
    when I try to compile an iOS project.  I am using AIR 3.8 with FlexSDk 4.5.1

    What do you mean 'what purpose' ????
    You need to see the error before anyone here on the forums can FIX IT
    Could be lots of errors.... so screenshot will tell us the exact one!

  • (App-store) Compilation failed while executing : compile-abc

    I just upgraded to AIR16 and can no longer compile for the ios app store from Windows 7.
    Calling "adt -package -target ipa-test ..." with AIR16 works correctly, installs and runs on my device.
    Calling "adt -package -target ipa-app-store ..." with AIR16 crashes the compiler with this generic error:
    Compilation failed while executing : compile-abc
    Calling "adt -package -target ipa-app-store ..." with AIR14 (and the new compiler, not legacy) works correctly.
    How do I get more information about what is happening? I have no ANEs. Could this have something to do with the new 64-bit requirements? My version of Java? With provisioning profiles? What else is different between test and app-store compile modes?

    Update: I tried a half dozen different ways to compile with AIR16 to no joy. Test works fine, App Store compile fails.
    Then finally tried the current AIR17 beta which DOES work. I don't see anything in the release notes about fixing ios app-store compile issues, though there's a new known ios-related bug with textfields.
    Does ADT produce an error log file somewhere? I'd like to get more info about this "Compilation failed while executing : compile-abc" error if I ever run into it again.

  • Compilation failed while executing: strip

    I have a project that I am attempting to publish to an iPad device.
    In the AIR for iOS setting menu, I enter the required information, and then press Publish. It ginds for about 30 seconds, but then generates the following error:
    Error creating files.
    Compilation failed while executing: strip
    The project was originally created in CS5. When I tried publishing from this file previously, it generated the same error. So I've since created a new project, and copied the timelines and library files over. However, no change in behavior. Any idea what is going on here, and how to fix it?
    Windows 7
    Flash CS5.5

    Hi Sanika, thank you for the reply.
    I am currently using AIR 2.7.1.19610
    Curiously, I was able to work around the problem by creating a new project once again, and copying/pasting my timelines in, along with the necessary library assets.After doing so, I was able to compile and deploy successfully. (why it worked this time, and not the first time, I'm not really sure)
    However, I came back a few hours later, moved the .fla file to another location, renamed it, and tried to deploy again. The previous error reoccurred. Once again, after creating another new project and copying the timelines/assets over, I was able to resolve the issue. It has not reoccured since.
    The original project was sitting in a dropbox folder. I've since copied it to a location outside of dropbox. I left a copy in dropbox to see if somehow, the syncing might be corrupting the fla file. But so far, both copies are behaving themselves.
    If the issue arises again, I'll try the AIR 3 beta as you suggested, and file a bug report if need be.
    Thanks!
    John

  • Compilation failed while executing : compile-abc

    This is with the latest AIR 4.0 beta, dated 12/17, with "-useLegacyAOT no" on Mac, OS X 10.9.
    0  compile-abc              0x0095d728 PrintStackTrace(void*) + 40
    1  compile-abc              0x0095dba1 SignalHandler(int) + 449
    2  libsystem_platform.dylib 0x9039fdeb _sigtramp + 43
    3  libsystem_platform.dylib 0xffffffff _sigtramp + 1875247679
    4  compile-abc              0x0005846b halfmoon::Cleaner::simplify(halfmoon::BlockEndInstr*) + 667
    5  compile-abc              0x00058fc6 halfmoon::cleanBlocks(halfmoon::Context*, halfmoon::InstrGraph*, halfmoon::Cleaner*) + 166
    6  compile-abc              0x0005ab34 halfmoon::removeDeadCode(halfmoon::Context*, halfmoon::InstrGraph*) + 324
    7  compile-abc              0x0004ee1c halfmoon::AbcBuilder::visitBlocks(nanojit::Seq<halfmoon::AbcBlock*>*) + 316
    8  compile-abc              0x000c0a76 halfmoon::parseAbc(avmplus::MethodInfo*, halfmoon::Lattice*, halfmoon::InfoManager*, nanojit::Allocator&, halfmoon::AbcGraph*, avmplus::Toplevel*, avmplus::AbcEnv*, halfmoon::ProfiledInformation*, halfmoon::Context&) + 182
    9  compile-abc              0x000c1788 halfmoon::JitWriter::writeEpilogue(avmplus::FrameState const*) + 216
    10 compile-abc              0x00129d3b avmplus::NullWriter::writeEpilogue(avmplus::FrameState const*) + 27
    11 compile-abc              0x00183829 avmplus::Verifier::verify(avmplus::CodeWriter*) + 1273
    12 compile-abc              0x000053af compile_abc::CompilerCore::emitPoolToModule(compile_abc::PoolInfo&, compile_abc::LLVMModule*) + 927
    13 compile-abc              0x00004a80 compile_abc::CompilerCore::compile() + 4496
    14 compile-abc              0x0000363f compile_abc::CompilerCore::run(int, char**) + 1471
    15 compile-abc              0x00005f62 main + 66
    16 compile-abc              0x00002235 start + 53
    There's also a lengthy list of program arguments, looks like it's working on ABCs from native extensions. Buried in there is this line as well:
    41063 Bus error: 10

    Hey, I have found this:
    Swf compiled with Flash Pro CS6 with AIR 3.9 SDK selected
    No error
    ipa is created a working without any problems.
    Swf compiled with Flash Develop and Flex 4.6 AIR 3.9 SDK
    adt throws this error:
    Compilation failed while executing : compile-abc
    Swf compiled with Flash Develop and Adobe AIR 4.0 SDK
    adt throws this error:
    duplicate symbol _traits:com.distriqt.extension.facebookutils.base::ExtensionBas
    e$ in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-0_3.o
    duplicate symbol _traits:com.distriqt.extension.facebookutils.base::ExtensionBas
    e in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-0_3.o
    duplicate symbol _traits:com.distriqt.extension.facebookutils::FacebookUtils$ in
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-1_4.o
    duplicate symbol _traits:com.distriqt.extension.facebookutils::FacebookUtils in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-1_4.o
    duplicate symbol _traits:com.distriqt.extension.facebookutils.events::FacebookUt
    ilsLoginEvent$ in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-2_5.o
    duplicate symbol _traits:com.distriqt.extension.facebookutils.events::FacebookUt
    ilsLoginEvent in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.FacebookUtils-2_5.o
    duplicate symbol _traits:com.distriqt.extension.testflightsdk.base::ExtensionBas
    e$ in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.TestFlightSDK-0_0.o
    duplicate symbol _traits:com.distriqt.extension.testflightsdk.base::ExtensionBas
    e in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.TestFlightSDK-0_0.o
    duplicate symbol _traits:com.distriqt.extension.testflightsdk::TestFlightSDK$ in
        AOTBuildOutput-0000000000_7.o
        com.distriqt.TestFlightSDK-1_1.o
    duplicate symbol _traits:com.distriqt.extension.testflightsdk::TestFlightSDK in:
        AOTBuildOutput-0000000000_7.o
        com.distriqt.TestFlightSDK-1_1.o
    ld: 10 duplicate symbols for architecture armv7
    Compilation failed while executing : ld64

  • Air 2.7 iOS packager instructions.

    Hi,
    I currently have Flash CS 5.0.  Where can I find instructions on using Air 2.7 iOS packager with it?  I would prefer the IDE interface, not the command line.
    If this is not possible with Flash CS5.0, can it be done with Flash CS 5.5?
    Thank you.

    Replacing Air 2.6 directory with Air 2.7 directory sounds like a hack.  Is that recommended by Adobe?
    I'm curious why after doing such an amazing job optimizing Air 2.7 for iOS they didn't update the Flash IDE to better integrate with the latest Air.  It would seem like the most trivial part of the update.

  • Process chain failing while executing DTP

    Hi All,
    My process chain is failing while executing DTP.
    Error i got is:  OBJECTS_OBJREF_NOT_ASSIGNED
    Access not possible using 'NULL' object reference.
    The dump is occuring in method : GET_FIELD_LIST_INBOUND
    TRY.
          CALL METHOD cl_rstran_model=>factory
            EXPORTING
              i_tranid  = i_tranid
            RECEIVING
              r_r_model = l_r_model.
        CATCH cx_rstran_exception.
          RAISE EXCEPTION TYPE cx_rs_step_failed
      ENDTRY.
    From SDN , i am quite sure that its a SAP problem and needs to apply some Note.
    Could anyone please tell me, which note i should apply ?
    Thanks.

    Hi,
    check the note note 1081884 it may help you ..
    check link ..
    /message/2817339#2817339 [original link is broken]
    Reagrds,
    Shikha
    Edited by: Shikha Goel on Oct 10, 2008 6:21 AM

  • Admin Task 2008 fails while executing from BIDS environment

    Hello,
    we developed a custom SSIS pcakge for automating master data load in BPC 7.5 MS.
    The packages works fine when running form Data Managaer.
    When executing the package from Business Intelligense development studio environement, only Admin Task 2008 with Create Dimension based on the SQL table option fails.
    The user id has full authrozation in BPC.
    Another information is that even this works fine when executing the package inside the server network.
    But fails when executing this by logging to application server remotely.
    Note that Run32bit property is already set to false.
    Error message it gives is : The Task Create Dimension Fails
    any expert thoughts are welcome.

    0x80070047 = "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."
    You must have some non-standard policy or restriction applied to the system hosting the share.
    Jason | http://blog.configmgrftw.com

  • FB 4.5.1 iOS packaging failed

    Hi, I managed to sign PlayBook app successfully, but failed to sign iOS app. I uploaded correct .p12 certificate and distribution provision that I used in my xcode, input correct password, then I clicked on Finish button. I saw the message of "Packaging for Apple iOS. This may take several minutes", but it just hanged there at Packaging: (0%)... Anyone facing the same problem? Or anyone know the solution? Thanks in advanced.
    regards,
    SeasonW

    On Mac OS X it says the certificate is invalid or something like that, I don't remember the exact words, and throws an alert window with the command line usage of ADT. I'm going to try this: http://forums.adobe.com/thread/867664?tstart=30 to see if the problem it's in the way I export the certificate to .p12.

  • Compilation of adobe air app that uses ANE fails while using the flex ant tasks.

    The resolution seems to be a hack - which when you rename .ane files to .swc, it works.
    I came across this workaround here: http://stackoverflow.com/questions/11112705/using-ant-mxmlc-task-with-native-extension?rq= 1
    <mxmlc file="${app.root}/app.as" 
                   output="${output.dir}/app.swf"
                   allow-source-path-overlap="true"
                   debug="false"
                   actionscript-file-encoding="UTF-8"
                   swf-version="19" >
                <load-config filename="${framework.root}/air-config.xml"/>
                <source-path path-element="${framework.root}"/>
                <source-path path-element="src"/>
                <source-path path-element="other"/>
                <compiler.library-path dir="libs" append="true">
                    <include name="**/*.swc"/>
                </compiler.library-path>
                <!-- THIS DOES NOT WORK -->
                <compiler.external-library-path dir="nativeExtension" append="true">
                    <include name="**/*.ane"/>
                </compiler.external-library-path>
            </mxmlc>
    However, if I rename all the .ane files in the nativeExtension directory to .swc the following change works..
                <!-- THIS WORKS -->
                <compiler.external-library-path dir="nativeExtension" append="true">
                    <include name="**/*.swc"/>
                </compiler.external-library-path>
    Has this issue been addressed?
    I'm using the following:
    - Adobe AIR SDK & Compiler (version 3.7) for Mac OS X
    - ActionScript Compiler 2.0
    - Apache Ant wrapper located in "AIRSDK_Compiler/ant/lib/flexTasks.jar"
    Let me know if any other details will be helpful.

    I'm using something like this in my build.xml (inapp.purchase.flash.swc is the flash wrapper for the ANE):
                <external-library-path dir="${basedir}/extensions/inapp.purchase/inapp.purchase.flash/bin" append="true">
                    <include name="inapp.purchase.flash.swc" />
                </external-library-path>
    I don't think you need ANE when building swf component of your app. ANE is only required for packaging. By linking with external inapp.purchase.flash.swc you're just telling action script compiler that above symbols will be defined later (in ANE).

  • Ssis packages execution fails while executing it by c#

    Hi,
    I have created one ssis package on server. Now i want to execute this package using c# code.
    I have implemented following code to perform this task:
     string pkgLocation = @"Package.dtsx";
            Package pkg;
            Application app;
            DTSExecResult pkgResults;
            Variables vars;
            app = new Application();
            pkg = app.LoadPackage(Server.MapPath(pkgLocation), null);
            vars = pkg.Variables;
           // vars["MonthInt"].Value = "02";
          //  vars["YearInt"].Value = "2014";
            pkgResults = pkg.Execute();
            foreach (DtsError pkgerror in pkg.Errors)
                string err = "Error Source: " + pkg.Name + ": " + " Description: " + pkg.Description;
                //lblErrorMsg.Visible = true;
              //  lblErrorMsg.Text = err;
            if (pkgResults == DTSExecResult.Success)
                // lblErrorMsg.Visible = true;
                // lblErrorMsg.Text = "Package ran successfully in " + count;
            else
    But all the time it gets fail.
    Its giving me following error in DTSError:
    'To run a SSIS package outside of Business Intelligence Development Studio you must install Standard Edition of Integration Services or higher.'
    Can you please guide me how can i resolve this issue.
    Is it necessary to install SSIS standard edition on all client machine.
    PLease help.
    Thanks in advance!
    Regards
    Rajni
                                               

    Hi ArthurZ,
    Thanks for the quick response.
    Actually i have created this package on server where everything is installed and i am executing this package from my local machine after coping this package in local machine.
    SO is it mandatory to installed everything on local machine to execute the package?
    can i execute package remotely?
    Please help to solve the issue.
    Thanks & Regards
    Rajni

Maybe you are looking for

  • Error in Preprocessing Roadmap step JOB_RSUPDTEC_SHD aborted

    Dear All, We are upgrading our server from R3 4.7 to ECC 6 EhP4. Our OS is AIX and database is DB2 9.5. during Preprocessing Roadmap step JOB_RSUPDTEC_SHD aborted. This job run in phase JOB_RSUPDTEC_SHD on shadow system. We are getting the dump in sh

  • CC to CC(2014)

    So I've noticed when going from (for example) Premiere Pro CC to Premiere Pro CC (2014) one had to manually move over the keyboard shortcuts.  I get a link to a thread and have to sort out a trial and error attempt by a number of folks.  Is there not

  • Adobe Access plug in for Internet Explorer 10 on Windows 8

    Is Adobe Flash Access (DRM) built into Internet Explorer 10 on Windows 8? If so, what is the best way to remove the Flash Access DRM plugin on Windows 8 (using IE 10)? In the past, I would have just removed the NativeCache and APSPrivateData2 folders

  • Blank screen, error msg on phones

    Phase one of my client website project is done. We reviewed and proofread the production site on my server. I did not design a phone/tablet version yet (that's phase two). I exported the final files from Muse and uploaded everything to the client's s

  • Restrict user SELECT query time on a particular VIEW

    Hi - I am trying to restrict user SELECT statemnet time on a particular view.There is a user called ABC and he is accessing many objects in database.All SELECT statments are fine execept when he query a particular VIEW.That view SELECT causing perfor