64bit AIR Native Extension for iOS

Hello,
I created a native extension to support ARM64 for iOS. The problem is I get the following error when packaging an ad-hoc build:
"Error: libgameCenter.a are required to have universal iOS libraries. Please contact the ANE developer(s) to get the same."
As I understand I need both armv7 and arm64 libraries. So I build for both of them using "xcodebuild" and then merge with "lipo -create" command.
However I think there is a step I'm missing. Please advice. Thank you.
AIR SDK: 16.0 beta
Xcode: 6.1.1

Well the change you need to do is inside your Xcode project, under Build Settings -> Architectures , make sure that you have selected "Standard Architectures (armv7, arm64)". One last thing to ensure that Valid Architectures should also contain arm64 entry along with other armv7 entries.

Similar Messages

  • Looking for an AIR Native Extension for iOS that will allow / disable access to certain apps

    I am looking to find and or create an ANE that will allow access and or disable access to certain apps such as internet, text, games, vine etc.  This url represents the closest app to what I am trying to achieve:  https://itunes.apple.com/us/app/parentkit/id600618138?ls=1&mt=8
    Is this possible with iOS7 new features / AIR / older iOS?
    As always any and all direction and help is greatly appreciated,
    Thanks!

    Is this the wrong forum, or posting area?  Is this possible?
    Access to the followinf would work:
    http://support.apple.com/kb/HT4213
    Is this open for development / access to, api?
    Message was edited by: studiobrain

  • Adobe Air native extension for admob

    Dear Adobe Team,
    We have recently purchased Adobe Air native extension for admob for android & ios
    but every time we upload our app to an ipad or iphone, the app crashes.
    We have carefully followed your instructions, and we're sure we've not made a mistake writing the action script 3 code.
    We need your help in solving this problem urgently, as we are now running behind schedule in uploading our app.
    Thanks very much,
    Amir Steklov and Dorit Leshnick

    Before I was also searched a lot to find good  add network and also Admob.
    Finally we done successfull integration using..  working fine in all IOS devices. not yet released to Apple app store
    http://code.google.com/p/flash-air-admob-ane-for-ios/source/browse/trunk/admobaneiphone/sr c/admobtest.as?r=2
    You can check our add setups using Air ANE's for our android game ExpressTrain.
    https://play.google.com/store/apps/details?id=air.timuzsolutions.expresstrain&feature=sear ch_result#?t=W251bGwsMSwyLDEsImFpci50aW11enNvbHV0aW9ucy5leHByZXNzdHJhaW4iXQ..
    you no need to buyAdobe Air ANE's everything is free but all u need to do is googling,
    hope this will help.
    Bala
    Message was edited by: vamsibalu

  • Any good Native extensions for iOS yet?

    Hi,
    I wonder if there are any usable native extensions around yet for iOS features?
    I have only found these: http://www.adobe.com/devnet/air/native-extensions-for-air.html which seems to be mostly tech-demos (battery, network info etc). I thought at least in-app-purchases, Game Center support, iAds, alertbox etc should have been released by now?
    Since I have no knowledge in objective-c I can't do it myself, but I would gladly pay for ANE-files that are usable in real projects.
    /Karl

    http://code.google.com/p/flash-for-mobile/
    qq讨论群:56892018
    version for iphone and ipad https://github.com/lilili87222/admob-for-flash
    this is a actionscript native extension for developer to ad advertisement to their air mobile application run on iphone or android.it very easy to use
    admob for flash android this lib enable you to add admob ad to your flash air application to add native advertisement to your actionscript3 application you just need to do four step
    1.replace D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.1\lib\android\lib\resources\android-res.jar with android-res.jar
    2. add this config to -app.xml
    <android>
    <manifestadditions><![CDATA[
    <manifest android:installLocation="auto">  <uses-sdk android:targetSdkVersion="11"/> <uses-sdk android:minSdkVersion="8"/>  <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <application><!-- <activity android:name="com.google.ads.AdActivity?" android:configChanges="keyboard|keyboardHidden|orientation"/> --> <activity android:name="com.google.ads.AdActivity?" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize |smallestScreenSize"/>
    </application>
    Unknown end tag for </manifest>
    ]]></manifestadditions>
    </android>
    3.add this config to -app.xml
    <extensions>
    <extensionid>so.cuo.ane.Admob</extensionid>
    </extensions>
    4. add code to your android air application like follow 
    test1(); private function test1():void {  var admob:Admob=Admob.getInstance(); if(admob.isSupported){  admob.setUnitId(gid); admob.dispatcher.addEventListener(AdEvent?.onReceiveAd,this.adHandler); admob.dispatcher.addEventListener(AdEvent?.onFailedToReceiveAd,this.adHandler);
    // admob.showRelation(AdMobAlignment?.ALIGN_BOTTOM,AdType?.BANNER); 
    admob.show(50,100,AdType?.BANNER);
    }else{  trace("not support"); }
    protected function adHandler(event:AdEvent?):void {  trace("receive ad"); }

  • Developing and using Adobe AIR native extensions for Android devices

    I was using this tutorial:
    "Developing and using Adobe AIR native extensions for Android devices"
    http://www.adobe.com/devnet/air/articles/ane-android-devices.html
    When packing the Flex mobile ANESampleTest to deploy on an Android device, the below error happens
    Error occurred while packaging the application:
    aapt tool failed:invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/drawable-xxhdpi
    invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw600dp
    invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw720dp-lan
    Does anyone know what the issue might be?

    Did you find a workaround for the Error? I'm getting the same and I can't seem to find any solution.

  • Exception in C++ air native extension for Mac OS X

    I develop air extension for ios and mac os x.
    I use the same code on ios and mac.
    For ios all good.
    But on mac - have problems.
    In extension I use std::vector. Code example:
    vector<Type*>* types; types = new vector<Type*>();  Type* type = new Type(); types->push_back(type);
    Application crashed by line:
    types->push_back(type);
    I tried add try/catch block - but application crashed too.
    I don't know what wrong. This code is work fine on ios and in console application for mac.

    Workaround found:
    Need to launch adl as a line command (depends on your directory config, of course):
    /Applications/Adobe\ Flash\ Builder\ 4.6/sdks/4.6.0/bin/adl -runtime /Library/Frameworks/ -extdir /Users/vandrito/Desktop/simpleAirNativeExtension/launch/extensions -profile extendedDesktop /Users/vandrito/Documents/Projets/o3sui/simpleAirNativeExtensionTest/bin-debug/simpleAirN ativeExtensionTest-app.xml
    Pay attention to the library location: it is the one of the Air 3.1 install. Did not check the same trick with Flash Builder 4.6 Air install.
    Then use a fake web debugger to connect to the process (if compiled in debug mode). See here how to do (french):
    http://www.flex-tutorial.fr/2010/08/05/air-android-debug-sur-mobile-froyo-emulateur-avec-f lash-builder-4/
    Victor

  • Facing error#3500 while running AIR native extension for windows

    Hi,
    I am stuck in a problem regarding AIR native extension from couple of days.Whenever I tried to run an extension for windows it gives error code 3500 (extension context cannot have the method ie methodname).I am doing all things correctly but don't know where I lack.I am using Flash Builder 4.6 and 64 bit machine.I made the sample extension POC for android ,they are working fine.No such issue.
    Please post your valuable comments.Eagerly waiting for reply.
    Thanks

    Hi,
    Finally I got the answer to my problem.Actually I dont have the dependency dll of .net framework 4.So I nstall these and now my code is working fine.
    Thanks

  • External library inside Air native extension for android

    Hello everyone,
    First, I've been looking throught this topics
    - http://stackoverflow.com/questions/7732742/air-3-native-extensions-for-android-can-i-how-t o-include-3rd-party-libraries
    - http://stackoverflow.com/questions/24626380/how-to-include-additional-jar-in-android-nativ e-extension-for-adobe-air-mobile
    I got a similar problem. But not exactly the same. And the solution didn't worked for me :(.
    First of all, I don't have any visible error.
    -I can easily talk between java and action script.
    -The gateway is set without problems.
    My problem comes when, from my java-side-part of the extension, I try to call a 3rd party library. This library is (and I think this is where I do something  wrong) linked to my project as an external lib, in .jar format.
    So when I make a call to 3rd party library, it just doesn't print anything. Neither on the adobe part or on the java part. The logs that are before my call are printed but not the ones after.
    I tried different solutions that are:
    -Taking all compiled class files of my external lib and add it inside the main native extension jar [link1]
    same result (no errors)
    -including the 3rd party jar inside the ANE by adding a dependence file that require the .jar [link2]
    with this method i got this error that I don't get
    > aapt tool failed:ERROR: input directory '--auto-add-overlay' does not exist
    My third party library also include's itself some external .jars so do I need to include every jars inside the same packaged jar?
    I can see that a lot of people are dealing with issues like that so my question would be:
    What is the best way to include 3rd party library inside android AIR Native Extension ?.
    For information, here is what I do to create the ANE
    >adt -package -target ane AirInfinitGameANE\AirInfinitGame.ane AirInfinitGameASLib\src\extension.xml -swc AirInfinitGameANE\AirInfinitGameASLib.swc -platform Android-ARM -C AirInfinitGameLib .
    - AirInfinitGameASLib: just the folder with the actionScript part and the config xml file
    - AirInfinitGameANE: folder in the one that will be the native extension
    - AirInfinitGameLib: the eclipse java project. I need to put in that folder the airInfinitgamelib.jar(extension jar) and the library.swf (from the swc file) in order to beeing able to compile the ANE.
    Here it is ! Thanks a lot for thoses who'll read me.

    I had the same problem recently and fixed it as follows;
    - Extract the 3rd party jar file and copy the class folder (usually named "com" in the root of the jar) to my project.
    - Under Project Properties -> Java Build Path -> Libraries click "Add class folder" and add the "com" folder you just extracted from your .jar.
    Hope this helps

  • Air Native Extension for OS X. Cant call functions from native code.

    Hi, I am trying to build native extension for OS X.
    After creating context, I try to call native function with "call" method, but always I have an error "The extension context does not have a method with the name ..."
    In as3 code my ExtensionContext is not null, so it's okay. And in native objective-c code I have a function, which I call in as3 code.
    What should I do?
    Here my code.
    Objective-c:
    FREContext AirContext = nil;
        FREObject init(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])
            return nil;
        FREObject someFunction(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])
            FREDispatchStatusEventAsync(AirContext ,(uint8_t*) "SOME_EVENT", (uint8_t*) "some information" );
            return nil;
        void ANEContextInitializer(void* extData, const uint8_t* ctxType, FREContext ctx, uint32_t* numFunctionsToTest, const FRENamedFunction** functionsToSet)
            NSLog(@"Entering ContextInitinalizer()");
            *numFunctionsToTest = 5;
            FRENamedFunction* func = (FRENamedFunction*) malloc(sizeof(FRENamedFunction) * *numFunctionsToTest);
            func[0].name = (const uint8_t*) "init";
            func[0].functionData = NULL;
            func[0].function = &init;
            func[1].name = (const uint8_t*) "someFunction";
            func[1].functionData = NULL;
            func[1].function = &someFunction
            // other blank functions
            *functionsToSet = func;
            AirContext = ctx;
            FREDispatchStatusEventAsync(AirContext ,(uint8_t*) "SOME_EVENT", (uint8_t*) "some information" );
        void ContextFinalizer(FREContext ctx) {
            NSLog(@"Entering ContextFinalizer()");
            NSLog(@"Exiting ContextFinalizer()");
        void ANEInitializer(void** extDataToSet, FREContextInitializer* ctxInitializerToSet, FREContextFinalizer* ctxFinalizerToSet )
            NSLog(@"Entering ExtInitializer()");
            *extDataToSet = NULL;
            *ctxInitializerToSet = &ContextInitializer;
            *ctxFinalizerToSet = &ContextFinalizer;
            NSLog(@"Exiting ExtInitializer()");
        void ANEFinalizer(void* extData)
            return;
    ActionScript3:
    public class MyANE extends EventDispatcher{
            private static var _instance:MyANE;
            private var extCtx:ExtensionContext;
            public function MyANE()
                if (!_instance)
                    if (this.isSupported)
                        extCtx = ExtensionContext.createExtensionContext("my.awesome.ane", null);
                        if (extCtx != null)
                            trace('context is okay'); //this trace works
                            extCtx.addEventListener(StatusEvent.STATUS, onStatus);
                        } else
                            trace('context is null.');
                _instance = this;
                else
                    throw Error('singleton');
        public static function getInstance():MyANE
                return _instance != null ? _instance : new MyANE();
        public function get isSupported():Boolean
                var value:Boolean = Capabilities.manufacturer.indexOf('Macintosh') > -1;
                trace(value ? 'supported' : 'not supported ');
                return value;
        private function onStatus(event:StatusEvent):void
                trace('Event', event, 'code', event.code, 'level', event.level); //this traсе does not works
         private function test(): void
              extCtx.call("someFunction"); //this throws error
    XML:
        <extension xmlns="http://ns.adobe.com/air/extension/3.9">
            <id>my.awesome.ane</id>
            <versionNumber>1.0.0</versionNumber>
            <platforms>
                <platform name="MacOS-x86">
                    <applicationDeployment>
                        <nativeLibrary>MyANE.framework</nativeLibrary>
                        <initializer>ANEInitializer</initializer>
                        <finalizer>ANEFinalizer</finalizer>
                    </applicationDeployment>
                </platform>
            </platforms>
        </extension>
    And this script Im using for build ANE:
        mv ../as3/bin/MyANE.swc .
        unzip MyANE.swc
        mv library.swf mac/
        rm catalog.xml
        rsync -a ../Obective-C/ANE/Build/Products/Debug/ANE.framework/ mac/ANE.framework/
        adt -package -target ane MyANE.ane extension.xml -swc MyANE.swc -platform MacOS-x86 -C mac .
        mv MyANE.ane ~/Work/_Projects/test/libs-ane/

    I haven't done Objective C in a long time, but if I'm not mistaken, it requires the semicolon to terminate a line of code. The line containing "func[1].function = &someFunction" does not have that termination and since that is the function you are trying to execute, maybe that is the source of the error.

  • Using OpenCV inside an Adobe Native Extension for IOS

    I'm trying to use OpenCV.framework inside an Adobe Native Extension that I'm developing to use on an IOS application made in Flex.
    The problem is that I get errors while packaging the application:
        Undefined symbols for architecture armv7:
          "__ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv", referenced from:
              __ZNSt3__16vectorIiNS_9allocatorIiEEE8__appendEm in opencv2(smooth.o)
              __ZNSt3__16vectorIN2cv6Point_IiEENS_9allocatorIS3_EEE21__push_back_slow_pathIKS3_EEvRT_ in opencv2(hough.o)
              __ZNSt3__16vectorIN2cv3VecIiLi128EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o)
              __ZNSt3__16vectorIN2cv3VecIiLi64EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o)
              __ZNSt3__16vectorIN2cv3VecIiLi32EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o)
              __ZNSt3__16vectorIN2cv3VecIiLi16EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o)
              __ZNSt3__16vectorIN2cv3VecIiLi12EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o)
        ld: symbol(s) not found for architecture armv7
        Compilation failed while executing : ld64
    and this is the platformoptions.xml I use to compile the ANE:
        <platform xmlns="http://ns.adobe.com/air/extension/4.0">
            <sdkVersion>8.0</sdkVersion>
            <linkerOptions>
           <option>-framework opencv2</option>
           <option>-framework UIKit</option>
           <option>-framework Foundation</option>
           <option>-framework CoreGraphics</option>
           <option>-framework Accelerate</option>
           <option>-framework AssetsLibrary</option>
           <option>-framework AVFoundation</option>
           <option>-framework CoreImage</option>
           <option>-framework CoreMedia</option>
           <option>-framework CoreVideo</option>
           <option>-framework QuartzCore</option>
        </linkerOptions>
        </platform>
    Any idea?

    Problem solved. I've added this line
    <option>-lc++</option>
    to the platformOptions.xml.
    Now OpenCV works great in my actionscript native extension.

  • Native Extension for iOS CoreBluetooth

    Hi All,
    I have been using Flash Builder for a while now to develop iOS prototype applications. Until now all integrated functions have served me very well, but I recently discovered the ability of iOS to cummunicate with Bluetooth Low Energy devices.
    This sounds really interesting, but unfortunately there is no Native Extension available to access this functionality from Air...
    I have been trying to write such extension myself as there is quite some nice information available how to do this, but my Objective-C knowledge is too limited to understand how the CoreBluetooth stack works.
    Hopefully anyone here is interested in developing such extension! If so, let me know and we can see how we can work together!
    Best Regards,
    Tom

    Hi Tom,
    I look for the same ANE to work with iOS, Android, Windows, and MacOSX.
    If you have some informations about this library, let me know please.
    Even, if some developers want to participate in the creation of a such extension, let me know. I am working on this.
    Fabrice

  • AIR 3 Extensions for iOS

    Well not so much to go on for iOS part...
    I got now a .ane file and everything should work well but Flash Builder notifies me that the .ane file is not signed....
    So i googled  how to sign the extension but there is absolutely nothing...
    Anyone have any kind of idea or know where to point me ?

    One more thing tho,
    i dont get any errors but it complains about something, im running following commands:
    /Applications/Adobe\ Flash\ Builder\ 4.5/sdks/4.5.2/bin/adt -sign -storetype pkcs12 -keystore /Users/danne/Dropbox/Mobiles/iOS/FlashCert.p12 -storepass #pass# -target ane PopoverExtension.ane PopoverExtension_s.ane
    And the result is:
    Unable to build a valid certificate chain for the signer.
    Any idea why adt gives me that ?

  • Adobe AIR native extension for Chromecast?

    Is it available or is the Adobe AIR team working on a simple way to cast to Chromecast from AIR/Android SDK ?
    Chhers

    Google search brings up:
    https://github.com/renaudbardet/ANE-chromecast
    and a sample app:
    https://github.com/renaudbardet/AirCastSample
    but no idea on its status or future plans...

  • Native extension for Game Center

    Hi guys,
    As I understand it with the latest Air Beta it's possible to implement native extensions for iOS, and in theory that would make it possible to connect to both Game Center and in-app purchases.
    Has anyone here tested this? It would be nice to know if there are any show stoppers before I start "digging"...
    Cheers,
    /Andreas

    I just finished an extension for AIR that adds Game Center (commercial.)  I'm going to be doing Multiplayer next.  I'm pretty sure there's an in app purchase one out there, I'm looking for it now, I'll post if i find it.

  • Flash CS6 IDE Air Native Extensions problem HELP

    i'm trying to test out CS6's new native extension (ANE) but I'm having a difficult time getting it to work.
    First I went to Adobe's page: http://www.adobe.com/devnet/air/native-extensions-for-air.html
    Downloaded the "Vibration" ane and then through the Actionscript settings panel added the .ane file to my app and then in my actionscript tried to add the code:
    import com.adobe.extensions.Vibration
    var vibe:Vibration;
    vibe = new Vibration();
    vibe.vibrate();
    But when I go to compile I get this error:
    Scene 1, Layer 'Layer 2', Frame 1, Line 3
    1172: Definition com.adobe:Vibration could not be found.
    What do I need to do to get this running? I've tried several different things and variations on the above code but nothing seems to do it. Help!

    Well that gets me furthur than before. Thank you. I had to change a few things.
    import com.adobe.extensions.Vibration
    I had to change to:
    import com.adobe.nativeExtensions.Vibration
    but now when I test in the debugger I get this error:
    [SWF] iOS.swf - 3827 bytes after decompression
    Vibration Constructor
    Vibration Constructor: Create an extension context
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at com.adobe.nativeExtensions::Vibration$/initExtension()[/Users/mgarner/Dropbox/_apps/score board/com/adobe/nativeExtensions/Vibration.as:58]
              at com.adobe.nativeExtensions::Vibration()[/Users/mgarner/Dropbox/_apps/scoreboard/com/adobe /nativeExtensions/Vibration.as:32]
              at iOS_fla::MainTimeline/frame1()[iOS_fla.MainTimeline::frame1:14]
              at runtime::ContentPlayer/loadInitialContent()
              at runtime::ContentPlayer/playRawContent()
              at runtime::ContentPlayer/playContent()
              at runtime::AppRunner/run()
              at ADLAppEntry/run()
              at global/runtime::ADLEntry()
    And when I publich to app the phone doesn't vibrate, but all my other functions and actions are working. Any ideas?

Maybe you are looking for

  • Transferring photos...preferences error message

    I am using a Macbook and am not able to transfer photos...I have my folder set up on iphoto and I choose that folder in the itunes preferences....I click "OK" and it says its upating ipod (on itunes) but then comes up with error message "Preferences

  • Explorer on BW Only Possible?

    I have been asked to investigate if Business Object Explorer is supported on BW 7.3 and 7.4 and or there is a work around for BI 4.0 SP7 and or BI 4.1 SP3?  I have read the admin guide and it mentions that OLAP data sources are not supported. When I

  • Is there a grace period where I can re-download songs?

    I've had a computer malfunction and had to reload (from backup) my entire music library. Unfortunately, songs that I purchased from the iTunes Store last week were not in my backup. Is there a way I can re-download songs I previously purchased? It's

  • Can I run OAS in 64bit Windows 2008?

    I'm going to install the OAS in our 64bit Windows 2008 for evaluation, however, both the x86 and win64 file cannot be installed. The following message is prompted when we attempt to install the win64 version: The version of this file is not compatibl

  • Is it possible to launch Oracle Forms from Oracle Discoverer?

    If so, please provide documentation on how to do it.