Basic process for making iOS ane

Source: Internet
Author: User

Source: http://www.swfdiy.com/?p=1239

1. Use Xcode to create a new static library project on iOS

2. Copy the FlashruntimeExtension.h into the engineering catalogue from Air Sdk/include and quote

3. Use C, combined with some of the Flash runtime extenstion APIs to implement the native features you want

4. Compile the project to generate a static library: TEST.A

5. The following procedure can be removed from the Mac

6. FB in a new Flex library project, add as class, used to act as a bridge for Ane<->air, inside instantiate extension context

7. Compile the Flex Library project into SWC, copy one, unzip, then put the previous test.a into, and write the extension.xml, define the relevant interface connection. Finally, an ane file is generated using the ADT command. Here you can assume that ane is actually equal to swc+ a static library

8. It's basically done here. Create a new as mobile project, add the previously generated ANE, and then use ADT to package it into an IPA to complete.

In one sentence, C = test.a + ASLIB.SWC = test.ane + Mobile application = Application.ipa

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.