I'm trying to create an iOS GoogleMaps ANE, but i'm having troubles with the resulting packaged ANE.
I'm able to successfully create the ANE, but when i try to create an IPA using the resulting ANE, i get a "Id: file was built for unsupported file format" error:
In order to use GoogleMaps in objective-c, a CocoaPod dependency must be downloaded, so this must be a packaging problem.
The question is, What is the correct way to package a CocoaPod in an ANE?
My current platformOtions.xml contains the following code:
<platform xmlns="http://ns.adobe.com/air/extension/18.0">
<sdkVersion>7.0.0</sdkVersion>
<linkerOptions>
<option>-rpath @executable_path/Frameworks</option>
</linkerOptions>
<packagedDependencies>
<packagedDependency>libPods.a</packagedDependency>
<packagedDependency>Frameworks/GoogleMaps.framework</packagedDependency>
</packagedDependencies>
</platform>
Hope someone can help me.