Skip to main content
Participant
March 23, 2013
Answered

Mobile app shutdown with ane

  • March 23, 2013
  • 1 reply
  • 1123 views

Hello there,

whole day I am trying create my custom air extension for ios - compass.

The result is - program shutdown on ExtensionContext.createExtensionContext("asdf", null);

(ane is generated fine, added to mobile flex project fine, run app fine - after click on button this code is run and booooom, shutdown app, no errors etc..)

my extension.xml is:

<extension xmlns="http://ns.adobe.com/air/extension/3.1">

<id>asdf</id>

<versionNumber>1</versionNumber>

<platforms>

  <platform name="iPhone-ARM">

  <applicationDeployment>

  <nativeLibrary>libcompass.a</nativeLibrary>

  <initializer>compassExtInitializer</initializer>

                                        <finalizer>compassExtFinalizer</finalizer>

  </applicationDeployment>

  </platform>

  <platform name="default">

  <applicationDeployment/>

  </platform>

</platforms>

</extension>

and for whole my xcode project I am using this template: http://maniacdev.com/2012/07/xcode-template-for-easily-creating-ios-adobe-air-native-extensions-ane/

I didn't add any functionality to template and it still doesnt wok - just whole my app shutdown. Ane is generated fine (just ane file isnt signt, it is not required isn't it?)

Any ideas please? I will throw mobile out the window...

Thanks a lot!

This topic has been closed for replies.
Correct answer Ladislav_Navrátil

FIXED: Omg...I didnt fill ios sdk path in Project properties/ios/native extension....after what i fill it, everything is OK

1 reply

Ladislav_NavrátilAuthorCorrect answer
Participant
March 23, 2013

FIXED: Omg...I didnt fill ios sdk path in Project properties/ios/native extension....after what i fill it, everything is OK

Participant
November 1, 2013

Where did you put this? I am also having trouble with the Adobe Native Extensions. Is it something in the xcode project? Or in actionscript? Or..?