Linking native iOS extension

Hi,
I’m working on an app with an iOS native extension that uses Accelerate.framework, and I'm stuck at the packaging phase, after successfully creating an .ane file
When I run the final packaging command (-target ipa-test), I get the following errors:
ld warning: unexpected srelocation type 9
ld warning: unexpected srelocation type 9
... (repeating several times)
Undefined symbols:
  "_vDSP_vsdiv", referenced from: ...
  "_vDSP_vsmul", referenced from: ...
  "_vDSP_sve", referenced from: ...
  "_vDSP_vflt16", referenced from: ...
  "_vDSP_create_fftsetup", referenced from: ...
  "_vDSP_ctoz", referenced from: ...
  "_vDSP_fft_zrip", referenced from: ...
  "_vDSP_vmul", referenced from: ...
  "_vDSP_zvmags", referenced from: ...
ld: symbol(s) not found
Compilation failed while executing : ld64
I guess this is because when I created the .a file in xcode, it couldn’t really link it statically to the Accelerate.framework.
I suppose I need to tell adt to link it somehow? Probably in the phase I’m creating the .ane file? Or maybe I should change my extension.xml file?
No idea. Couldn’t really find it...
Please advise.

Use -platformsdk switch while packaging your IPA.

Similar Messages

  • In-App-Purchase-Air-Ios (extension inside, need help on how to use it :P)

    Code examples: http://code.google.com/p/in-app-purchase-air-ios/w/list
    Extension download: http://code.google.com/p/in-app-purchase-air-ios/downloads/list
    How do I use this with my Flash CS5.5 Pro (IDE)?
    They show examples with using ADT command line stuff.

    Hi Saumitra Bhava,
    Nice examples of Native Extensions. I am having an issue when trying to use a block in Objective-c Something as simple as
    - (void) searchForAlbums
        void(^test)(void) = ^{
            NSLog( @"BLOCK CALLED" );           
        test();
    does not work and FlashBuilder reports the following error.
    ld: absolute addressing (perhaps -mdynamic-no-pic) used in -[MobileImagePicker searchForAlbums] from /var/folders/nw/nwjKk-0UFzKXgLSHtcbjxE+++TI/-Tmp-/534267c1-6c13-4a8e-98d6-6c8357d4f355/li buk.co.betadesigns.extension.NativeImagePicker.a(MobileImagePicker.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
    Compilation failed while executing : ld64
    Have you tried using blocks in an iOS extension?
    Regards
    Anthony

  • How to open Adobe Reader file from another native IOS application?

    There is an existing thread, but I want to re-open it because I think this is an important feature that we need badly.  I was wondering if there is any plan to add this feature so we can open PDFs directly into Adobe from the web / other apps.
    How to open Adobe Reader file from another native IOS application?
    Basically, we just want to use a custom URL scheme to open a specific document in the App.  Currently, this only opens the app but does not load the file.
    APB

    Not to hijack the conversation but I can explain why this would be useful for both the above case and another.
    What I believe Pavel is talking about is setting up a "URL Scheme" for the Adobe Acrobat iOS application so that you can easily open a PDF specifically in Adobe Acrobat iOS from other native applications and even from web applications opened within Safari. This is particularly useful if your application requires some of the specific features in Adobe Reader iOS to grant them the best experience possible and you want to encourage this.
    Another case: If you're using Adobe Livecycle's document security modules (that encrypts PDF files so that Adobe Acrobat must "phone home" to decrypt and view the document), these PDF's can only be viewed inside the Adobe Acrobat application and appear as blank in most other PDF readers. Having a URL scheme allows your application utilising this functionality to have a 1 click step to view the PDF rather than the current non-user friendly process:
    - Within Safari, touch the PDF link (appears as blank in the default Safari PDF reader, which in itself is confusing)
      - Touch "Open in..."
      - Touch "Adobe Acrobat"
    We have an immediate need for this functionality for the example above. I can resubmit it in a separate post if necessary.

  • Using the native iOS video player?

    I would like to learn more about using the iOS native video player in my Adobe Air app.
    I understand that you can launch the native iOS video player by using StageWebView.
    What are some of the limitations of using the native IOS player with this method?
    Can I not limit the user's control of the playback controls so the user cannot fastforward thru an ad video?
    Once the video is done, can I auto start to a new video?
    When the user clicks the DONE/BACK button, can I close the StageWebView?
    Are there other ways to launch the iOS native player instead of using StageWebView?
    Is anyone creating a Native Extension for the iOS native video player?
    If you were to create an app using native iOS code instead of Adobe AIR, what can you do with the native player that you can't control using Adobe Air?
    thanks!
    Jack

    Hi, Jack:
    My answers are based on what I have done:
    other than stageWebView, you can load native player from native UIWebview, and probably (I guess) directly open a video players.
    If you do it from UIWebview, you can have the full access control of the video player, and interaction between Flex and Objective-c is also supported.
    Regarding what we can do with the native player, I say we can do anything we want if it's loaded on the UIWebview.
    Let's say 'pause', you can make your native player to be paused in the flex code, besides directly click the pause button. The simple workflow is:
    Mapping 'pause' function to a objective-c function which triggers the native videoplayer pause function. One situation would be that you have HTML5 page only contains a video player, and java script functions to control the video (player pause, fullscreen etc).
    Therefore, you can just call those javascript functions from objective-c.
    You can also get information back from objective-c. Let's say you wanna do something after the video is finished, so the objective-c call javascript to listen end info of the video. then objective-c pass this information back to flex as an event. The Flex side catches this event and maps this event into Flex event for your use.
    If there is a way to direcly invoke native player, those steps above will be much simpler, but I haven't tried. I am sure someone is doing that, hopefully they can answer you here.
    Regards,
    Matthew

  • Getting RevMob iOS extension to work, and LinkerOptions/platform.xml

    Hello AIR community!
    I am trying to implement RevMob ads in an app for a client using RevMob's AIR Native Extension (ANE). I have the extension successfully working on Android, but I don't see any ads on iOS.
    RevMob's extension and documentation is located here: RevMob Adobe Air SDK  In the iOS section, they have provided <LinkerOptions> and mention some changes to platform.xml. From my understanding, those things are only relevant when compiling an ANE, is that correct?
    I tried asking RevMob for support on this but they don't seem to understand what I'm saying; they told me the directions are for Flash Builder and to make sure I was using Flash Builder. I don't, I use FlashDevelop, but I've used dozens of other extensions in FlashDevelop with no problem and I've never had to set LinkerOptions or modify a platform.xml to use an iOS extension. I would guess that they have failed to understand how to use an ANE after compiling it and there is probably a change needed to the <InfoAdditions> section of the app XML. Am I missing something here or is the fault on RevMob's end?
    Finally, I would greatly appreciate hearing from anyone who has gotten the RevMob ANE working on iOS and any special steps you had to follow that aren't listed in their documentation.
    Much appreciated!

    From my own experience there is no general "Best Practice" to tackle your task: It all depends on the details of your project.
    As I see it you have at least 2 different options:
    1. Trying to rework your Flash File with Toolkit for CreateJS
    2.Design the site from the ground up with the new Edge Tools

  • Mix native iOS development with Adobe DPS created iPad apps

    Is it possible to mix programmtic elements into an app developed with the Adobe DPS tools?
    Although one can hook up buttons and gestures for slide shows, as I've seen in some of the videos, I need to build a hybrid app where a section of the app hands control over to a native IOS built set of components.
    I'm coming from the iOS development side of things, so I know little of the capabilities of a client's InDesign and DPS toolset, except that I haven't found resources to do anything beyond simple interactions within DPS.

    No, you can't include native iOS components in a DPS publication. For extensibility people tend to write HTML5 content and include that in a web overlay.
    Neil

  • SMP3.0 SP05 register process and reconnect in native iOS app

    Hi,
    we do this steps Getting started with SMP3 Native OData iOS apps to get a native iOS application functioning through the SAP Mobility platform version 3.0 SP05 and retrieving data from OData services.
    But we do not understand the register process completely.
    If we install the app and do the register process and retrieve the data everything is ok. A user with the ApplicationConnectionID is registered in in SMP. But if we start the app again (without a new installation) we do not register the user again an set the connection id we get in the registration process:
    [self.clientConn setApplicationConnectionID:[selfreadInPlistMitKey:@"appConnectionID"]];
    we set the encryptionKey in the manager and initialize the Cache once for the application launch.
    [EncryptionKeyManager setEncryptionKey:key withError:nil];
    But if we want to retrieve the data we get a Request Failed.
    2015-01-15 18:13:31.885 AuthTest[12663:5b07] Firing requests from DB...
    2015-01-15 18:13:31.886 AuthTest[12663:4c07] UrlString:   http://smpServerAdress:8080
    2015-01-15 18:13:31.889 AuthTest[12663:4c07] Connectivity changed...
    2015-01-15 18:13:31.889 AuthTest[12663:4c07] Detected network...
    2015-01-15 18:13:31.889 AuthTest[12663:4c07] Start queue...
    2015-01-15 18:13:31.900 AuthTest[12663:4c07] UrlString:   http://smpServerAdress:8080
    2015-01-15 18:13:31.906 AuthTest[12663:907] Request Failed
    What do we wrong? Where is the different between the request with registration an without.
    Thanks,
    André

    Hi Ali,
    thank you but this was not realy what we need. But we can now register without to use the MAFLogonScren but when we whant to open the Online Store we get this error: "OpenStore failed with network error: 401 unauthorized" Do you know what we cvan do against this error or what the reason of this error is?
    Here is the code snipped what we use:
        MAFLogonUIViewManager *logonUIViewManager = [[MAFLogonUIViewManager alloc] init];
        NSObject<MAFLogonNGPublicAPI> *logonManager= logonUIViewManager.logonManager;
        HttpConversationManager* httpConvManager = [[HttpConversationManager alloc] init];
        [[logonManager logonConfigurator] configureManager:httpConvManager];
        MAFLogonCore *lc = self.appDelegate.lc;
        MAFLogonContext *context;
        if ([lc unlockSecureStore:@"abcd1234" error:&error]) {
            context = [lc getContext:&error];
        MAFLogonRegistrationContext *regContext = context.registrationContext;
        SODataOnlineStore *onlineStore = [[SODataOnlineStore alloc]
                                          initWithURL:[NSURL URLWithString:regContext.applicationEndpointURL]
                              httpConversationManager:httpConvManager];
        [onlineStore setOnlineStoreDelegate:self];
        [onlineStore openStoreWithError:&error];

  • How to convert a Hybrid Sup3 to a Native IOS Sup3

    I have redundant 6509's with currently 1 sup 3 board in each. The Sup3's are running Native mode. The Sups are not running redundant to themselves. If I lose a switch, I have to physically move cables from one switch to the other. I have just received 2 new Sup3 boards that are configured for Hybrid. How can I incorporate the new Hybrid boards into the NAtive system and convert the new boards to NAtive and get the MSFC's and Sups to back each other up? Is there a simple document or URL that anyone can direct me to? Or has anyone experienced this for themselves???

    There is no "Sup3" for 6500. Did you mean to say a Sup720? Here are the conversion process.
    http://www.cisco.com/warp/public/473/81.html
    http://www.cisco.com/warp/public/473/80.shtml
    If you have a Sup32, we do not have Native IOS for it at this time.

  • IMessage on Mountain Lion sending broken links to iOS

    OS 10.8.4 iMessage (Jabber Account [Gmail?]) is not sending links to iOS correctly. They are a long mangled mess that the recipient cannot click on. I have tried using URL shortening services but the same think occurs. The link is repeated about 15 times and broken. I receive links from iOS iMessage perfeclty fine. Any ideas?

    Hi,
    There seems to be some confusion here.
    A Jabber account in Messages cannot send to iMessages contacts.
    Do you mean that your Apple ID used in Messages for your iMessages account is actually a Google email ?
    I typed a piece of text (two words) and then highlighted them and used the CMD + k key option in the Edit Menu to add a link.
    A dialogue box pops up and you can add the Link and the two words become a Link.
    I then sent it to my iPhone (or at least tried to)
    The actual iMessages appeared as a synced Message as well in the Mac Messages app main window as being sent back from the iPhone.
    On the iPhone itself it only appeared as plain text.
    For me sending a link as Plain text arrives as a link at the iPhone.
    This link worked despite being long and forced over three lines of text on the iPhone.
    You could of course be using  Google Login on a Browser on the iOS devices and chatting that way
    You could have found a Jabber app for the iPhone and be using that.
    In both these cases you would be sending from the Google Account in Messages.
    9:13 PM      Tuesday; June 25, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Prodedures of converting CatOS to native IOS in production

    I'm converting a few 6509 Sup720 in hybrid mode to native IOS. Like to hear your suggestions of how to do it with least impact to production and minimum need of being on site physically.
    A few things I can think of:
    1. Convert the standby sup to native IOS first, including the code and config;
    2. Go to the site, physically swap the active sup with the standby sup, and do a reload;
    3. Convert the swapped sup to native IOS code;
    4. Go to the site again, insert the converted sup to standby slot and let it sync with the first sup for config.
    Questions:
    a. If I have two 6509 where hosts are dual homed, from your experience, should I do the convertion one 6509 at a time or both at the same time?
    b. Any way I can simplify the steps?
    Thanks a lot
    Gary

    1. Convert the standby sup to native IOS first, including the code and config;
    2. Go to the site, physically swap the active sup with the standby sup, and do a reload.
    >> If you are removing the current active sup with teh sup that you've converted in step 1. removing the only sup in the chassis will will reload the box already, no need to reload it again when you put in the native sup.
    3. Convert the swapped sup to native IOS code;
    4. Go to the site again, insert the converted sup to standby slot and let it sync with the first sup for config.
    >> This would be the ideal steps, but you will still need to schedule a downtime. Replacing sup during production hours and if nothing goes wrong everyting could be up and running in less than an hour. But scheduling a downtime is still recommended and be prepared for the worst and hope for the best.
    Questions:
    a. If I have two 6509 where hosts are dual homed, from your experience, should I do the convertion one 6509 at a time or both at the same time?
    >> I am infering that if you do both sups at the same time you will still be doing the conversion outline in steps 1 and 2 above. If that is the case then doing both will save you the most time.
    b. Any way I can simplify the steps?
    >> I think, what you have outline is the best way, since you have another chassis to test the conversion which would not put pressure on you to do it quickly.

  • Native IOS on 6509

    We have upgraded 6509 with SUP720 to Native IOS (s72033-psv-mz.122-18.SXD6) and now it does not give OK status for line cards (WS-X6348). When it powers up initially it gives stutus as "other" and then after a few minutes it shows status as "Pwrdown".
    Please advice if we are doing something wrong or some additional configuration is required to make these line cards enable.

    Hi Rehan,
    Can you please confirm if you just converted your catos to native ios on sup720 or you also installed sup 720 in the chassis?
    I mean was the sup 720 earlier in the chassis with CATOS everything was working fine?
    Because For a Supervisor Engine 720, you need to install a high-speed fan tray and install a 2500 W or larger power supply.
    Can you also check the power supply running in your chassis.
    Regards,
    Ankur

  • SMP3 - AppDevelopment (native iOS Offline):

    Hi, I have a question on SMP3 and AppDevelopment (native iOS Offline):
         when i am online the posting of data to backend is working fine, when i go offline and add an entry the log shows the message as follows
    now i came to online , the automatic calling of offline requests are not invoking.
    As for postbody i am using a Json format
    {"Street":"","CityX":"","BankCountry":"IN","BankName":"Off-Test","City":"","Region":"","BankKey":"32106","__metadata":{"uri":"http://xxxxxxxxx:8080/com.chandu.bankdelta/BankSet(BankCountry='IN',BankKey='32106')"},"BankNameX":""}
    help me where i go wrong.
    Regards
    Siva Chandu

    Hi Midhun,
         i have add these libraries
        this is the code i am using for post.
        ODataEntry *newBank = [[ODataEntry alloc] initWithEntitySchema:[self.smpCont.serviceDocument.schema getCollectionByName:@"BankSet"].entitySchema];
        ODataPropertyValueObject* filterValue = [newBank getPropertyValueByPath:@"BankCountry"]; 
        [filterValue setValue:@"IN"];
        ODataPropertyValueObject* filterValue1 = [newBank getPropertyValueByPath:@"BankKey"];
        [filterValue1 setValue:self.idTF.text];
        ODataPropertyValueObject* filterValue2 = [newBank getPropertyValueByPath:@"BankName"];
        [filterValue2 setValue: @"Off-Test"];
        ODataPropertyValueObject* filterValue3 = [newBank getPropertyValueByPath:@"Street"];
        [filterValue3 setValue: @""];
        ODataPropertyValueObject* filterValue4 = [newBank getPropertyValueByPath:@"CityX"];
        [filterValue4 setValue: @""];
        ODataPropertyValueObject* filterValue5 = [newBank getPropertyValueByPath:@"Region"];
        [filterValue5 setValue: @""];
        ODataPropertyValueObject* filterValue6 = [newBank getPropertyValueByPath:@"BankNameX"];
        [filterValue6 setValue: @""];
        ODataPropertyValueObject* filterValue7 = [newBank getPropertyValueByPath:@"City"];
        [filterValue7 setValue: @""];
        ODataEntryBody *entryBody1 = buildODataEntryRequestBody(newBank, ENTRY_OPERATION_CREATE, self.smpCont.serviceDocument, NO, BUILD_STYLE_JSON);
    [RequestBuilder setRequestType:HTTPRequestType];
        [RequestBuilder enableXCSRF:YES];
        NSString *url = [NSString stringWithFormat:@"%@%@",self.appEndPointURL,urlString];
        url = [url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
        id<Requesting> request = [RequestBuilder requestWithURL:[[NSURL alloc] initWithString:url]];
        [request setRequestMethod:@"POST"];
        [request setUsername:self.username];
        [request setPassword:self.password];
        [request addRequestHeader:@"X-SUP-APPCID" value:self.appConnectionID];
        [request addRequestHeader:@"Content-Type" value:@"application/json; charset=UTF-8"];
    NSString *postBody = [entryBody1 body];
    NSMutableData *data = [NSMutableData dataWithData:[postBody dataUsingEncoding:NSUTF8StringEncoding]];
        [request setPostBody:data];
    if([[Reachability reachabilityForInternetConnection] currentReachabilityStatus] != NotReachable)
            [request setDelegate:sender];
            [request setDidFinishSelector:finishSelector];
            [request setDidFailSelector:failSelector];
            NSLog(@"Starting initial asynchronous POST request for Travel Agency Create");
            [request startAsynchronous];
            return;
        else{
            [RequestBuilder setDelegate:self];
            [RequestBuilder setDidFinishSelector:@selector(OfflineRequestSuccesSelector:)];
            [RequestBuilder setDidFailSelector:@selector(offlineRequestFailedSelector:)];
            [request setCacheUrlKey:url];
            NSLog(@"Starting initial synchronous POST request for Travel Agency Create");
            [request startAsynchronous];
            return;
    note : I am using Mac OS 10.7.5
    ref : 1933862 - SAP Mobile SDK 3rd Party Installation Version Requirements
    Regards
    Siva Chandu.

  • Flash CS6 will try to run in a native iOS Simulator

    Hello
    I CCT users.
    Flash CS6(ver 12.0.2.529) will try to run in a native iOS Simulator
    But it does not run.
    I specify the path below, but this should not be running.
    Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/App lications/IOS Simulator.app
    The OSX version is 10.7.5.

    uninstall, clean and reinstall per Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • Native iOS app with MAF logon components: Linking fails

    Hi all,
    I try to compile a SDK 3.0 project with MAF logon components.
    I followed this tutorial and finally got a running iOS app with the dependencies for the SDK: Getting started with SMP3 Native OData iOS apps
    Now I would like to add MAF logon component usage. The Sybase guide describes this under Developing with MAF Logon.  I copied the basic initialization steps from there to my project.
    However, although I have all the required headers, the linker fails trying to find the implementation for MAFLogonUIViewManager.h
    I guess I did not add a dependency properly. In which of the files/bundles added should this component be?
    Best, Martin

    Hi,
      I am having a similar issue. I am following the same instructions. At the point where I create the LogonHandler, the file MAFLogonManagerNG.h is not found by Xcode. This file does not seem to be present in the SDK either. When I comment it out, the MAFLogonUIViewManager is not recognized.
    Have you been able to resolve your issue?

  • Native Mobclix Extension for iOS and Android

    I'd like to announce to everyone that my Mobclix ANE for both iOS and Android is now available.
    You can view the API, supported events, and download a full functioning demo from http://www.airextensions.com or directly by clicking http://bit.ly/mobclixANE
    Support iOS 4.3 and greater,  support for iPad ad sizes, receive event callback on all Mobclix events in actionscript, AdMob and iAd support for iOS, same API for both iOS and Android, support device rotation and more.
    Hope you like it. 
    Mark Andrade
    Sputnik Games

    Well nothing prevent you from mixing flascc with native extension.
    Also, I think that you can also use domain memory in AS3 with the Bytearray class (not sure about that).
    Flascc vs normal as3 is mostly a question of language (portability) Do you want to write as3 or c++?
    Native extension give you speed and native platform access(platform specific feature).
    So, you should think about it this way:
    AS3, run in flash and air. Is sandboxed. Can use domain memory, but it's a bit harder to leverage than flascc.
    Flascc, run in flash and air. Is sandboxed, Can use domain memory. Give you the potential of leveraging the hundreds of opensources lib already out there.
    Native extension, run ONLY in air. Is not sandboxed. Native memory management. Also let you leverage the c++ lib. 
    The best (in my opinion) is to write native code for mobile and desktop (no air or flascc involve) and use flascc for the flash/web platform. It's harder, because you have write portable native code (lots of abstraction), but you mostly have the same problem with native extension.

Maybe you are looking for