Highlighted

Error embedding iOS third party library inside an ANE

Explorer ,
Jun 10, 2015

Copy link to clipboard

Copied

Hi,

I'm, trying to create a ANE file embedding a third party library, but I'm encountering this problem.

Captura de pantalla 2015-06-10 a las 12.20.51.png

Seems files AWSSQS.framework, AWSRuntime.framework are not found because they are not compiled properly. BUT lip -info shows correct information

lipo -info ./AWSRuntime.framework/AWSRuntime

Architectures in the fat file: ./AWSRuntime.framework/AWSRuntime are: i386 x86_64 armv7 armv7s arm64

My platform-options is:

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

    <linkerOptions>

        <option>-ios_version_min 5.1.1</option>

            <option>-framework QuartzCore</option>

            <option>-framework AudioToolbox</option>

            <option>-framework CoreGraphics</option>

            <option>-framework UIKit</option>

            <option>-framework Foundation</option>

    </linkerOptions>

    <packagedDependencies>

        <packagedDependency>AWSRuntime.framework</packagedDependency>

       <packagedDependency>AWSSQS.framework</packagedDependency>

        <packagedDependency>libAppoxee_ios_32bit_64bit_sdk_v3.2.4.a</packagedDependency>

    </packagedDependencies>

</platform>

Any ideas? I'm blocked.

Thanks!

TOPICS
Development

Views

265

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Error embedding iOS third party library inside an ANE

Explorer ,
Jun 10, 2015

Copy link to clipboard

Copied

Hi,

I'm, trying to create a ANE file embedding a third party library, but I'm encountering this problem.

Captura de pantalla 2015-06-10 a las 12.20.51.png

Seems files AWSSQS.framework, AWSRuntime.framework are not found because they are not compiled properly. BUT lip -info shows correct information

lipo -info ./AWSRuntime.framework/AWSRuntime

Architectures in the fat file: ./AWSRuntime.framework/AWSRuntime are: i386 x86_64 armv7 armv7s arm64

My platform-options is:

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

    <linkerOptions>

        <option>-ios_version_min 5.1.1</option>

            <option>-framework QuartzCore</option>

            <option>-framework AudioToolbox</option>

            <option>-framework CoreGraphics</option>

            <option>-framework UIKit</option>

            <option>-framework Foundation</option>

    </linkerOptions>

    <packagedDependencies>

        <packagedDependency>AWSRuntime.framework</packagedDependency>

       <packagedDependency>AWSSQS.framework</packagedDependency>

        <packagedDependency>libAppoxee_ios_32bit_64bit_sdk_v3.2.4.a</packagedDependency>

    </packagedDependencies>

</platform>

Any ideas? I'm blocked.

Thanks!

TOPICS
Development

Views

266

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 10, 2015 0
Explorer ,
Jun 11, 2015

Copy link to clipboard

Copied

From all the "solutions" found on internet, this is the only one I haven't tried yet

http://stackoverflow.com/questions/20419295/unable-to-use-parse-library-parse-linker-warning-file-wa...

But I don't really know what ""Parse.framework/Parse" is a link. And the complier can not use it.Replace all the links with real file and it works fine." exactly means. Do you know how to proceed?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 11, 2015 0
Explorer ,
Jun 11, 2015

Copy link to clipboard

Copied

Ok, finally found out the problem.

Inside the framework file the accesed file is a link. So the compiler can't find the information and it crashes.

You need to open the file, navigate through the folders (it uses to be Framework/Versions/A/FrameworkName) and replace the link with the file founded there.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 11, 2015 1