Skip to main content
Participant
February 18, 2012
Question

Can't use Objectiv-c @try @catch @finally syntax at ANE?

  • February 18, 2012
  • 2 replies
  • 1512 views

I write an ios library and named libDemo.a. When I linked libDemo.a with ANE (Adobe Native Extension) and pacakge the .ane file to .ipa file, the linker fails with some error:

Undefined symbols:

 
"_objc_terminate", referenced from:

The error raised from an objective-c source file(named it Demo.m),and the failed function has some code like this:

@try{
...
}
@finally{
...
}

When I comment the @11868606 and @13868228 line,the linker returned with success code.

So,maybe can't use @11868606 @9295854 syntax when the library will be used at ANE enviroments?

Thanks.

This topic has been closed for replies.

2 replies

February 22, 2012

C/C++/Obj C Exception handling does not work in iOS ANE. It is a known issue.

Participant
February 22, 2012

Thanks for your reply and this issue can be solved ?

Thanks.

February 23, 2012

I'm sorry but for now, it is AsDesigned. You may want to file a feature request for the same at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

- Neha

chris.campbell
Legend
February 21, 2012

Forwarded to our iOS team for their review.

Chris