Skip navigation
Replies 1 2 3 2 Previous Next
  • Currently Being Moderated
    Nov 28, 2011 9:45 PM   in reply to rusty120

    Hi rusty:

     

    Can send us the projects which can reproduce the issue on sbhave [at] adobe [  dot ] com.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 29, 2011 9:56 AM   in reply to DaveGallant

    Finally update. So reverting to XCode 4.1 and iOS SDK 4.3 fixed the problem. I am now able to link against the Security framework as a shared library. Not sure if the problem was due to the compilers in XCode 4.2, building against 5.0 SDK (using the -platformsdk option), or something else. I'll pass more info on to Adobe to see if they can get help get to the bottom of it. At least I'm up and running now, I don't really need any features from 5.0.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 14, 2011 12:53 AM   in reply to DaveGallant

    Putting this up here,  the suggestions on this site helped me fix my problem

    http://www.liquid-photo.com/2011/10/30/common-native-extension-issues/

     

    Hope it can help someone

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 16, 2012 7:04 AM   in reply to rusty120

    Hello

     

    Is there any update? I have exactly the same problem with the security Framework.

     

    I'm using Xcode 4.2 and AIR 3.1 and need to write a native Extension with keychain group access.

     

    Thank you

    Christoph

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 16, 2012 6:55 AM   in reply to DaveGallant

    I got the same problem when trying to make a extensions that use a AVAssetWriter... any update on this problem ? we will install xcode 4.1 to see if this solution work but i hope something else is possible.

     

    EDIT : i got the same problem as rusty ...

     

    compile with shared library YES return type 9 error

     

    Shared library to NO return

     

    "ld: absolute addressing (perhaps -mdynamic-no-pic) used

     

    We use Xcode 4.3, Air 3.2 , all the latest sdk and i don't use -platformsdk as i work on a pc.

     

     

    other important notice... if i try to set shared librarie to NO while targeting IOS 4.0... it make a build fail! if i target IOS 4.1 it work.. with error absolute addressing (perhaps -mdynamic-no-pic) used ......

     

    We are kind of lost with this bug.... we tried every solution giving on the subject.

     

    Last solution is Xcode 4.1 just like rusty said... i'll write if it work.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 18, 2012 10:03 AM   in reply to DaveGallant

    rusty was right.. the only solution found was re-installing xCode 4.1... now it work

     

    Hope adobe come soon with better solution.

     
    |
    Mark as:
  • Currently Being Moderated
    May 20, 2013 12:49 PM   in reply to kamelQC123

    Same Problem for me:

     

    Error occurred while packaging the application:

     

    ld: absolute addressing (perhaps -mdynamic-no-pic) used in _ASDemoGetStringLength from /var/folders/5f/3xcbv8v96gd6_rq6kbmj13900000gp/T/aa9bb7be-0f0e-4e79-8 5df-cc835b7dc2cf/libde.das3.ane.CalendarANE.a(CalendarANE.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs

    Compilation failed while executing : ld64

     

    Build stops completly with this warning.

    Flash Buidler 4.7 on Mac OS 10.7.5

     

    Tried with AIR SDK 3.5 and AIR SDK 3.7.

     

    Called Function:

    FREObject ASDemoGetStringLength( FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])

    {

        NSLog(@"+++ ASDemoGetStringLength +++" );

       

        const uint8_t * stringArgument = NULL;

        uint32_t strLength = 0;

       

        FREResult status = FREGetObjectAsUTF8(argv[ 0 ], &strLength, &stringArgument);

     

        int32_t value = [ [NSString stringWithUTF8String:(char *) &stringArgument] length ];

       

        FREObject intValue = NULL;

       

        status = FRENewObjectFromInt32(value, &intValue);

       

        return intValue;

    }

    ( line which is reponsible for the error is bold and this demo-code is no vodoo magic ).

     

    "Enabled Linking with shared Libraries" is set to no in XCode.

     

    Any solution from Adobe for this?

     

    This "bug" occurs since 10 months for many devs, like we can see with in this thread.

    The problem behind is also known.

     

    But there is no fix for this?

     
    |
    Mark as:
  • Currently Being Moderated
    May 21, 2013 6:59 AM   in reply to dashart21

    Okay,

     

    I've found a fix for this "error/warning":

     

    In Flash Builder 4.7 update the embedded AIRSDK to version 3.5 or greater like described here:

    http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder. html

     

    ADDITIONAL:

    Replace the embedded AIR SDK in the linked Flex-SDK like described under this link:
    http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk. html

     

    Hint: The AIR SDK version for step 1 and step 2 should be exactly the same.

     

    Now update the plattform namespace in your an descriptor files (ANE_NAME-platformoptions.xml and ANE_NAME-extension.xml) to:

    <platform xmlns="http://ns.adobe.com/air/extension/3.5">


    (Should be the same like AIR SDK version)

     

     

    And last but not least update your "app-description-XML" (APPNAME-app.xml) to the used AIR SDK version:

    <application xmlns="http://ns.adobe.com/air/application/3.5">

     

    That should fix the problems ...

    Hope that helps someone.

     

    Happy Cooding!

     
    |
    Mark as:
1 2 3 2 Previous Next
Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points