Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

ANE with iOS embedded custom framework

$
0
0

Hi!

 

I've been struggling with creating ANE for iOS for a week. The problem is that we have our own custom iOS framework with resources.

Mostly my work was based on this article: Adobe Flash Platform * Building the native library

I've tried a lot of things trying to integrated it into the ANE and came up with the following restrictions, please correct me if I wrong.

 

1. Dynamic custom iOS frameworks that are supported in iOS 8 don't work. Or I didn't found a way to link them appropriately. So you have to make a static library inside a framework. I tried some options like placing framework at different places inside an IPA and configuring @rpath, but didn't succeed.

 

2. Assets in custom embedded frameworks are ignored. When you embed a custom framework using platformoptions/packagedDependency like in example in article:

<packagedDependencies>  <packagedDependency>SampleFramework.framework</packagedDependency></packagedDependencies>

The framework in this case will be linked with target application, but in final ipa file you'll not find the assets from it.

This means that you have to put them separately into the root folder with prefixes to make them unique. This described with more details here: Adobe Flash Platform * Including resources in your native extension package

 

Also there is a good example of ANE with custom framework (but i guess it still have a problem with assets): freshplanet/ANE-Facebook · GitHub

I hope that someone will save time.


Viewing all articles
Browse latest Browse all 2010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>