Oracle OCI for iOS : facing build errors

1000463
    Hi, I downloaded the following 2 zip files of Version 11.2.0.3.0 (64-bit)
    1. instantclient-basic-macos.x64-11.2.0.3.0.zip
    2. instantclient-sdk-macos.x64-11.2.0.3.0.zip

    from :
    http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html

    I unzipped them, and imported them to XCode in a new project. But when i build the project, I get these warnings:

    https://lh4.googleusercontent.com/-JYDw-CZXR30/UVqZ1xY68UI/AAAAAAAAEn8/pBz7-JneXWk/s800/Screen%20Shot%202013-04-02%20at%202.16.00%20PM.png

    Can someone please help resolve these issues? Am trying to use OCI for connecting to Oracle DB.

    Edited by: user8451904 on Apr 2, 2013 6:35 AM
      • 1. Re: Oracle OCI for Mac : facing build errors
        994400
        Are you developing an OS X application or an iOS application? Because the error message in your screenshot says that the architecture being linked is armv7, which means you're developing an iOS application, but the Oracle Instant Client libraries you downloaded are for the OS X x86_64 architecture. If you are trying to make an OS X application, then your Xcode project is set up for the wrong architecture at least. If you are trying to make an iOS application, then you'll need iOS versions of the Oracle Instant Client libraries—and I don't see any such thing listed on the Oracle Instant Client downloads page.
        1 位用户发现它有用
        • 2. Re: Oracle OCI for Mac : facing build errors
          1000463
          Thanks for your response. Yes, am trying to develop an iOS application which will use OCI. In the process, am attempting to compile OCI (which has been provided for Mac OS X) for ARM. Thoughts/suggestion?
          • 3. Re: Oracle OCI for Mac : facing build errors
            1000463
            I realized now that the image I shared previously (showing the warnings) is of poor resolution. Here's a better one:
            https://lh4.googleusercontent.com/-JYDw-CZXR30/UVqZ1xY68UI/AAAAAAAAEn8/pBz7-JneXWk/s1413/Screen%2520Shot%25202013-04-02%2520at%25202.16.00%2520PM.png