Copy link to clipboard
Copied
I'm using Flash Pro to compile an iOS app.
I need to know th MAC address of the device, and it seems I need to use the native extension made by Adobe.
http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/networkinfo.html
The problem is I can't test the app locally when I include the ANE in the ActionScript settings. Even when not actually using the ANE, just by including it.
I get this error: "The content cannot be loaded because there was a problem loading an extension: Error: Requested extension com.adobe.Networkinfo is not supported for MacOS-x86."
What am I supposed to do? Add and remove the ANE manually everytime I compile for the device?
Copy link to clipboard
Copied
Please see the post http://forums.adobe.com/message/4586528 , it will help you out with the problem mentioned.
Regards,
Nimit
Copy link to clipboard
Copied
So what you are saying is that I have to repackage the ANE?
Copy link to clipboard
Copied
If I wanted to mess with creating and packaging ANEs I would not have downloaded Adobe's ANE, I'd have made one myself.
In the meantime I found this ANE that works, and doesn't complain when testing locally:
Copy link to clipboard
Copied
Yes, for now you need to repackage the ane with AIR Mobile Simulator (MacOS-x86) and iPhone Simulator (iPhone-x86) in -platform switch and also need to include this target in your extension.xml.
Also, for future perspective could you please open an enhancement request at http://bugbase.adobe.com/ so that we will track this and modify and upload the ane.
Regards,
Nimit