Skip to main content
Participating Frequently
Apr 8, 2015 12:28 PM UTC
Question

ANE issue with iOS

Hello,

I am making ANE for iOS. Getting below error.

ArgumentError: Error #3500: The extension context does not have a method with the name init.

at flash.external::ExtensionContext/_call()

at flash.external::ExtensionContext/call()

I made one example where I was getting same error so I downloaded SystemVolumeNativeExtension from below link. And recompiled but facing same error. When I am using given ANE which is inside downloaded folder that one is working fine. Now I am not understanding what can be the reason. As I think, I followed same process.

nweber/SystemVolumeNativeExtension · GitHub

I am using latest AIR SDK 17.0 and latest XCode.

Command which I am using to create ANE:

adt -package -target ane Volume.ane extension.xml -swc VolumeLib.swc -platform iPhone-ARM -C ios . -platformoptions platformoptions.xml -platform default -C default .

Fighting with this issue since last 1 week. Please help me to fix this.

Thanks,

Pankaj

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

User Unknow
Legend
Apr 9, 2015 9:11 PM UTC

Hi Pankaj,

If you that Pankaj from my blog from ANE tutorial - currently I'm out of office. Will sent email to you on this weekend

Translate
Participating Frequently
Apr 10, 2015 9:17 AM UTC

Thanks.

Yes I am the same person. Till now I didn't receive any mail. I am waiting for your help. This is the first time I am working on iOS ANE. I had created so many Android ANE and didn't face any such issue. I am surprised with this issue. Please help me out.

Translate
kheftel
Inspiring
Apr 10, 2015 11:01 PM UTC

Is the error occurring when you compile the ANE, or when you build and run an app that has the ANE included?

Translate