Highlighted

How do I link ReplayKit.framework in my air app?

Explorer ,
Apr 18, 2017

Copy link to clipboard

Copied

I made a ANE which link ReplayKit.framework weakly.

I write the platform.xml as the following:

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

    <packagedDependencies>

    <packagedDependency>NaverCafeSDK.framework</packagedDependency>

    </packagedDependencies>

    <linkerOptions>

        <option>-framework SystemConfiguration</option>

        <option>-framework CoreGraphics</option>

        <option>-framework Foundation</option>

        <option>-framework UIKit</option>

        <option>-framework QuartzCore</option>

        <option>-framework ImageIO</option>

        <option>-framework Security</option>

        <option>-framework AssetsLibrary</option>

        <option>-framework CoreMedia</option>

        <option>-framework AVFoundation</option>

        <option>-framework MediaPlayer</option>

        <option>-framework MobileCoreServices</option>

        <option>-framework NaverCafeSDK</option>

        <option>-weak_framework ReplayKit</option>

    </linkerOptions>

</platform>

I built my app in Flash Builder using AIR SDK 23.

My app crashed in the ios devices with iOS 8 version.

Error message is - "Library not loaded: /System/Library/Frameworks/ReplayKit.framework/ReplayKit".

I know that AIR SDK 23 include iOS 9.2.

How can I solve this problem?

Please help me.

TOPICS
Development

Views

188

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

How do I link ReplayKit.framework in my air app?

Explorer ,
Apr 18, 2017

Copy link to clipboard

Copied

I made a ANE which link ReplayKit.framework weakly.

I write the platform.xml as the following:

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

    <packagedDependencies>

    <packagedDependency>NaverCafeSDK.framework</packagedDependency>

    </packagedDependencies>

    <linkerOptions>

        <option>-framework SystemConfiguration</option>

        <option>-framework CoreGraphics</option>

        <option>-framework Foundation</option>

        <option>-framework UIKit</option>

        <option>-framework QuartzCore</option>

        <option>-framework ImageIO</option>

        <option>-framework Security</option>

        <option>-framework AssetsLibrary</option>

        <option>-framework CoreMedia</option>

        <option>-framework AVFoundation</option>

        <option>-framework MediaPlayer</option>

        <option>-framework MobileCoreServices</option>

        <option>-framework NaverCafeSDK</option>

        <option>-weak_framework ReplayKit</option>

    </linkerOptions>

</platform>

I built my app in Flash Builder using AIR SDK 23.

My app crashed in the ios devices with iOS 8 version.

Error message is - "Library not loaded: /System/Library/Frameworks/ReplayKit.framework/ReplayKit".

I know that AIR SDK 23 include iOS 9.2.

How can I solve this problem?

Please help me.

TOPICS
Development

Views

189

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
Apr 18, 2017 0

Have something to add?

Join the conversation