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.
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!
Copy link to clipboard
Copied
From all the "solutions" found on internet, this is the only one I haven't tried yet
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?
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.