Build MySql client library for iPhone/iPad

June 26th, 2010

The goal is to build a fat library that contains architectures for both the device (armv6 armv7) and the simulator (i386) for debug build.

Build on 10.6 with Xcode 3.2.2

  1. Download the source ofConnector/C(libmysql), select Source Code and click the Download button. (current version is mysql-connector-c-6.0.2.tar.gz)
  2. Download and install CMake for Mac OS X Universal.
  3. Generate Xcode project with CMake. In Terminal, issue command:
    cd path/to/mysql-connector-c-6.0.2
    cmake -G Xcode

    The libmysql.xcodeproj should be generated.

  4. Tweak in few places
    In “my_net.h”, comment out line 47 and 49

    //#include <netinet/in_systm.h>
    #include <netinet/in.h>
    //#include <netinet/ip.h>
    

    In “my_global.h”, change the line 129 to

    #  if defined(__i386__) || defined(__ppc__) || defined(__arm__)
    

    In “my_config.h”, undef HAVE_FDATASYNC at line 63

    /* #define HAVE_FDATASYNC 1 */
    
  5. Build with the xcodebuild command, build the architectures for both iPhone/iPad device and simulator separately and combine them into one binary.
    xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphonesimulator3.1.3 ONLY_ACTIVE_ARCH=NO ARCHS=i386 PRODUCT_NAME=mysqlclient_simulator
    
    xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphoneos3.1.3 ONLY_ACTIVE_ARCH=NO ARCHS="armv6 armv7" PRODUCT_NAME=mysqlclient_device
    
    lipo ./libmysql/Release/libmysqlclient_simulator.a ./libmysql/Release/libmysqlclient_device.a -create -output ./libmysql/Release/libmysqlclient.a
    

The build result should be at libmysql/Release/libmysqlclient.a

Similarly, build a dylib to target 10.5. The mmacosx-version-min is required, otherwise, you’ll get unknow load command on 10.5. Don’t forget set the @executable_path

xcodebuild -project libmysql.xcodeproj -target libmysql -configuration Release -sdk macosx10.5 -mmacosx-version-min=10.5 ONLY_ACTIVE_ARCH=NO ARCHS="ppc i386 x86_64"

43 Responses to “Build MySql client library for iPhone/iPad”

  1. Porco Kang says:

    Great job!!
    This post is exactly what I need. Thanks a lot!!

  2. Bryan says:

    Ok, i managed to get this compiled.
    But how do i include this library into a new iPhone project? And which file(s) do I need to include in this project?
    I mean, do I need the libmysql.dylib and/or the libmysqlclient.a in my new iPhone project?

    Because i’ve added both, + added them to my Link Binary with Library build phase, but whenever I try to #import “mysql.h” i get a warning: “Mysql.h: no such file or directory”.

    Your help would be greatly appreciated!

    - B.

  3. Bryan says:

    I managed to get everything to work. If there is any need for extra info how i did it, just post it here.
    Im not gonna type everything i just did here, i took me 1,5 hours to get so far lol.

    Thanks for the code etc!

  4. john elemans says:

    Hello,

    Thanks very much for this. However, the ARM builds fail under simulator 4.1.
    It’s a bit beyond my abilities to see why. Any chance you can update the instructions?

    Thank you.

    john elemans

  5. Wei says:

    @john
    ARM build only works on the hardware that’s using the ARM cpu (iPhone, iPad, etc.), i386 build only works on the hardware that’s using the i386 cpu (the Macs). The Simulator runs on the Mac, therefore, it only works with the i386 build.

    When the two builds packed into one physical file, we call that a ‘fat’ build. So, for distribution, you would choose to build the ARM only because that’s your target device. But for the Simulator, you have to build i386. Make a fat build is only for the connivence when I need to debug with Device and Simulator back and forth.

    I just word it in a simplified way. For more accurate explain, please refer to Apple’s document search the topic “Universal Binary”.

  6. john elemans says:

    Sorry, I meant to say that the ARM builds fail with iphoneOS4.1. The first step to build the i386 client works fine and I have it running with the simulator. But second step of your instructions fails to build ARM library.

    Thanks

  7. Wei says:

    I didn’t try iOS4, so I don’t know what the problem is. Since the mysql library doesn’t use anything new in iOS4, the binary made with iOS3 should be just as good.

  8. Bryan says:

    @John, what exactly fails? Building it? or, using it?

  9. Bryan says:

    I hereby confirm that this library works on actual iPhones.
    It returned data on my iPhone 4 with iOS4.1.

    I filled table views and text views with database data.
    Thanks for the guide!

  10. AugSoft Tom says:

    Hi Wei, that’s pretty cool but how can you sell copies of Oracle’s MySQL client library embedded into your app through Apple’s AppStore without paying Oracle Corporation an up-front fee and an additional fee for each copy? Won’t Apple send an email that your app was removed from the AppStore because of copyright violation? MySQL also has a proprietary C API so if you code to that, then your app will only work with Oracle Corporation’s MySQL servers. At the moment, Oracle still has an “open source” version of MySQL (like Java), but the original developers have quit, it’s unclear that it’s client library can be embedded in closed-source commercial products without a fee and its future is in the hands of a company that has to make its numbers on Wall Street every quarter and that just sued Google over some other issues involving Java’s “open source”. So once you realize that you are not using MySQL entirely within a web server in a PHP sense, but are truly distributing thousands of binary copies of Oracle’s code through Apple (either free-for-advertising or pay-per-download), then you begin to see the great risk that Oracle may want you to help them make their numbers on Wall Street or rewrite all of your C code that has become entangled with proprietary MySQL C calls or both.

    For us, our solution was to produce a free ODBC library for iOS that lets developers code to the industry-standard database API that will work with most brands of databases simply by installing the appropriate “driver”. The best supported (and usually free) ODBC drivers available are for Windows, so we created a background service called “ODBC Router” that we sell for about the price of a TV that connects iOS, Mac OS X, Linux and Windows client apps into whatever centrally installed 32-bit ODBC drivers you’re using (MySQL, DB/2, Access, SQLite, SQLServer Express, etc..). We started shipping for iOS in late September 2010 and you can find out more at http://ODBCrouter.com/

  11. ken says:

    i cannot use the cmake -G Xcode to generate the project file, and once i execute the command, the following error appears:
    CMake Error: The source directory “/Users/kenlau/Downloads/mysql-connector-c-6.0.2-osx10.5-x86-32bit” does not appear to contain CMakeLists.txt.
    could you mind telling me how can i get through this error?
    Thank you very mcuh,
    Ken

  12. ken says:

    I got it, i downloaded the wrong file, :D

  13. Rid says:

    Hello, I follow your steps, but couldn’t find the place which you said to modify. Not such file “my_net.h”. Or could you sent the lib you build to my email. thx

  14. Wei says:

    @Rid
    I do not have a ready built one handy at the moment. You need header files to use the library anyway, and the header files better match the library. The my_net.h should be at “mysql-connector-c-6.0.2/include/my_net.h”.

  15. Dominik says:

    Well, I managed to get this compiled. But my question is, what do I have to add to my new project so that I can connect to a sql db. I added the libmysql.dylib and the libmysqlclient.a. Also in my viewcontroller I importet “mysq.h” but i think it wasnt found or so. Anything else to setup?

  16. john elemans says:

    Has anyone got recent experience with building the mysql connector?
    I tried again with 4.2. By setting line 129 in my_global.h to __arm6__ and __arm7__ I got the builds to work without errors for both the simulator and hardware, but the hardware version fails when I run it (the simulator works very well).

    I’d pay for a working device library now!

    Thanks all.

    John

  17. eric semaan says:

    @ken, i have the same problem and i m afraid that i downloaded the wrong file too, so where did you download the right file?
    Thank you and best regards.

  18. @ken and eric, I have the same problem !

  19. Dmitri says:

    I cannot generate the project file with “cmake -G Xcode” on Xcode 4.1 MAC OS 10.7,when I execute the command, the following error appears:
    error: can’t exec
    ‘/Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/LLVM
    GCC 4.2.xcplugin/Contents/Resources/gcc’ (No such file or directory)
    I have checked it. There is no gcc file in this directory. could you mind telling me how can i get through this error?
    Thank you,
    Dmitri

  20. Va2ron1 says:

    Work Perfectly in Xcode 4.2.1 with iOS 5 in Mac Lion 10.7.2
    Thanks!!!

  21. Mikael says:

    @Va@ron1, so what are you doing differently from me? The only difference is that I’m running Lion 10.7.3. And it keeps causing leakage errors into otherwise happily running code.

  22. Ramkumar says:

    Hi,

    I managed to run all the steps and I get libmysql.dylib,libmysql.a files.But I don’t know how to proceed further.These files are in Release folder.I have some sample codes of MySQL and while running I’m getting

    “Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
    pthread_cond_init$UNIX2003 called from function my_thread_init in image RemoteMySQL.
    If you are encountering this problem running a simulator binary within gdb, make sure you ‘set start-with-shell off’ first.”

    MysqlConnection *newObject = [[self alloc] init];

    mysql_init(&(newObject->_connection)); here I’m getting the crash

    Please for past 4 days I was working with this before problem was xcode 4.3 now I resolved that

  23. Kostapppas says:

    perfect install. Some notes (to save time)

    Download the Source Code at step 1.

    change the compiling commands depend your version for 5.1 is the following
    xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphoneos5.1 ONLY_ACTIVE_ARCH=NO ARCHS=”armv6 armv7″ PRODUCT_NAME=mysqlclient_device

    xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphonesimulator5.1 ONLY_ACTIVE_ARCH=NO ARCHS=i386 PRODUCT_NAME=mysqlclient_simulator

    At lipo command be careful at directories. Probably you will need to create the ……/Release directory, and check where the two above commands created the two .a files. In my case worked that:
    lipo ./libmysql/Release-iphonesimulator/libmysqlclient_simulator.a ./libmysql/Release-iphoneos/libmysqlclient_device.a -create -output ./libmysql/Release/libmysqlclient.a

    THANKS

  24. [...] for iOS, that do the work. For example you can use mysql_connector/C from mysql.com (take a look to this interesting post) or you can use something like iOS Open Database Connectivity [...]

  25. Ozzy says:

    Any luck to get pre-built libraries?
    Would be usefull for a lot IOS and Android devs…

  26. Chris says:

    Hi All,
    My notes to get this to work with Mac OS X Mountain Lion & Xcode4.5 iOS6

    Perhaps it will help someone:

    More notes:
    1) download MacPort

    2) down cmake

    3) get mysql from mysql

    4) install gcc47 via port

    5) /opt/local/bin/port install gcc_select
    To see your versions use
    gcc_select -l
    To select a version use
    sudo gcc_select gcc40

    sudo port select –list gcc
    Available versions for gcc:
    gcc42
    llvm-gcc42
    mp-gcc46
    none (active)

    6) cmake -G Xcode

    7) open up Xcode (from http://blog.iosplace.com/?p=20)

    he goal is to build a fat library that contains architectures for both the device (armv6 armv7) and the simulator (i386) for debug build.
    Build on 10.6 with Xcode 3.2.2
    Download the source ofConnector/C(libmysql), select Source Code and click the Download button. (current version is mysql-connector-c-6.0.2.tar.gz)
    Download and install CMake for Mac OS X Universal.
    Generate Xcode project with CMake. In Terminal, issue command:
    1
    2
    cd path/to/mysql-connector-c-6.0.2
    cmake -G Xcode
    The libmysql.xcodeproj should be generated.
    Tweak in few places
    In “my_net.h”, comment out line 47 and 49
    47
    48
    49
    //#include
    #include
    //#include
    In “my_global.h”, change the line 129 to
    129
    # if defined(__i386__) || defined(__ppc__) || defined(__arm__)
    In “my_config.h”, undef HAVE_FDATASYNC at line 63
    63
    /* #define HAVE_FDATASYNC 1 */

    8) xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphonesimulator6.0 ONLY_ACTIVE_ARCH=NO ARCHS=i386 PRODUCT_NAME=mysqlclient_simulator

    9) xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphoneos6.0 ONLY_ACTIVE_ARCH=NO ARCHS=”armv7 armv7s” PRODUCT_NAME=mysqlclient_device

    10) lipo Release-iphonesimulator/libmysqlclient_simulator.a Release-iphoneos/libmysqlclient_device.a -create -output Release-iphoneos/libmysqlclient.a

    11) Create the dylib ***
    xcodebuild -project libmysql.xcodeproj -target libmysql -configuration Release -sdk macosx10.8 -mmacosx-version-min=10.8 ONLY_ACTIVE_ARCH=NO ARCHS=”ppc i386 x86_64″

    12) add .a and dylib to Project

  27. Chris says:

    One last note to above — make sure ARC is enabled in the new libmysql project that you created in xcode using Cmake

  28. janabetis says:

    Chris> This is just awesome! Haven’t tried it yet.. but will do later tonight. Do you think you could post a precompiled libmysqlclient.a library for iOS6?

  29. Kalle says:

    Where do you people take it from..
    Great stuff!!

  30. Giulio says:

    Hi everyone,
    i have the same problem,where i can find libmysqlclient.a library for iOS6?

  31. Giulio says:

    Hi everyone,
    i have the same problem,where i can find libmysqlclient.a library for iOS6?
    Whew i test on my iphone kenzo library i obtain this error
    file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/Giulio/Documents/Inota/Inota/Inota/libmysqlclient.a for architecture armv7s

  32. MT says:

    When I build following these directions, everything works fine until after the thread runs. Then, it crashes.

    I can connect to a server on simulator or device using the compiled library, run a query, get results back, and log them to a screen. But, half a second later, it crashes.

    Using the binaries compiled by others, it works fine. But, using the binaries I compile, they crash out a few seconds later. Do you know what could cause this?

  33. Giulio says:

    Hi Mt,
    i have the same problem .
    have you resolved??

  34. MT says:

    Nope, back at it tonight. I’ll let you know if I make progress. If you do, post here.

  35. Giulio says:

    hi Mt ,
    now i’ve the libmysql.a work with ios6 for the simulator
    and device
    but wvery time i use it the application crash.
    i can invoke mysql,and make query but when the queries end app.crash!!!
    i’m going crazy..but i dont believe that nobody have a libmysql.a that work with ios6 .

  36. MT says:

    I got it to work. This was key for me:

    http://blog.iosplace.com/?p=30&cpage=1#comment-6857

    I haven’t yet tried it on an armv7s device, but it fixed the problem I was having with the other builds.

  37. SB says:

    Here are the steps I did how ever when I link it in the project I get the following errors, any help is greatly appreciated. I’m guessing something to do with the encryption library?

    204 cd mysql-connector-c-6.0.2/
    205 vim include/my_net.h
    206 vim include/my_config.h
    207 vim include/my_global.h

    — Changed lines as documented

    216 xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphonesimulator6.0 ONLY_ACTIVE_ARCH=NO ARCHS=i386 PRODUCT_NAME=mysqlclient_simulator

    217 xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphoneos6.0 ONLY_ACTIVE_ARCH=NO ARCHS=”armv7 armv7s” PRODUCT_NAME=mysqlclient_device
    — The above did not work and complained that the ARC=”armv7 does note exists so…

    218 xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphoneos6.0 ONLY_ACTIVE_ARCH=NO ARCHS=armv7s PRODUCT_NAME=mysqlclient_device_armv7s

    221 xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphoneos6.0 ONLY_ACTIVE_ARCH=NO ARCHS=armv7 PRODUCT_NAME=mysqlclient_device_armv7

    222 lipo libmysql/Release-iphonesimulator/libmysqlclient_simulator.a libmysql/Release-iphoneos/libmysqlclient_device_armv7.a libmysql/Release-iphoneos/libmysqlclient_device_armv7s.a -create -output libmysql/Release-iphoneos/libmysqlclient.a

    Added libmysqlclient.a to my project and I am getting the bellow linker errors using 10.7.5 xCode Version 4.5.2 (4G2008a) building for iOS 6

    ERROR ::::::::::::

    Ld /Users/shawn/Library/Developer/Xcode/DerivedData/isiodiTouchScanner-acubwxhdincilfghghclcfqzzrsc/Build/Intermediates/isiodiTouchScanner.build/Debug-iphoneos/isiodiTouchScanner.build/Objects-normal/armv7/isiodiTouchScanner normal armv7
    cd /Users/shawn/Projects/isiodiTouchScanner
    setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
    setenv PATH “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin”
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -L/Users/shawn/Library/Developer/Xcode/DerivedData/isiodiTouchScanner-acubwxhdincilfghghclcfqzzrsc/Build/Products/Debug-iphoneos -L/Users/shawn/Projects/isiodiTouchScanner -L/Users/shawn/Projects/isiodiTouchScanner/LineaSDK “-L/Users/shawn/Projects/isiodiTouchScanner/../DTDevices-iOS_2011-11-07_v1.29 RC/Library” -F/Users/shawn/Library/Developer/Xcode/DerivedData/isiodiTouchScanner-acubwxhdincilfghghclcfqzzrsc/Build/Products/Debug-iphoneos -filelist /Users/shawn/Library/Developer/Xcode/DerivedData/isiodiTouchScanner-acubwxhdincilfghghclcfqzzrsc/Build/Intermediates/isiodiTouchScanner.build/Debug-iphoneos/isiodiTouchScanner.build/Objects-normal/armv7/isiodiTouchScanner.LinkFileList -dead_strip -fobjc-link-runtime -miphoneos-version-min=6.0 -framework Foundation -framework UIKit -framework CoreGraphics -framework ExternalAccessory -ldtdev -lmysqlclient -o /Users/shawn/Library/Developer/Xcode/DerivedData/isiodiTouchScanner-acubwxhdincilfghghclcfqzzrsc/Build/Intermediates/isiodiTouchScanner.build/Debug-iphoneos/isiodiTouchScanner.build/Objects-normal/armv7/isiodiTouchScanner

    Undefined symbols for architecture armv7:
    “vtable for __cxxabiv1::__vmi_class_type_info”, referenced from:
    typeinfo for TaoCrypt::DES in libmysqlclient.a(des.o)
    NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
    “std::terminate()”, referenced from:
    yaSSL::read_file(yaSSL::SSL_CTX*, char const*, int, yaSSL::CertType) in libmysqlclient.a(ssl.o)
    _yaEVP_BytesToKey in libmysqlclient.a(ssl.o)
    _yaTLSv1_client_method in libmysqlclient.a(ssl.o)
    _yaSSL_CTX_new in libmysqlclient.a(ssl.o)
    _yaSSL_new in libmysqlclient.a(ssl.o)
    _yaBN_bin2bn in libmysqlclient.a(ssl.o)
    yaSSL::SSL::~SSL() in libmysqlclient.a(ssl.o)

    “___gxx_personality_sj0″, referenced from:
    yaSSL::read_file(yaSSL::SSL_CTX*, char const*, int, yaSSL::CertType) in libmysqlclient.a(ssl.o)
    _yaEVP_BytesToKey in libmysqlclient.a(ssl.o)
    _yaTLSv1_client_method in libmysqlclient.a(ssl.o)
    _yaSSL_CTX_new in libmysqlclient.a(ssl.o)
    _yaSSL_new in libmysqlclient.a(ssl.o)
    _yaBN_bin2bn in libmysqlclient.a(ssl.o)
    yaSSL::SSL::~SSL() in libmysqlclient.a(ssl.o)

    “vtable for __cxxabiv1::__si_class_type_info”, referenced from:
    typeinfo for TaoCrypt::HASH in libmysqlclient.a(ssl.o)
    typeinfo for yaSSL::Alert in libmysqlclient.a(yassl_imp.o)
    typeinfo for yaSSL::HandShakeHeader in libmysqlclient.a(yassl_imp.o)
    typeinfo for yaSSL::Finished in libmysqlclient.a(yassl_imp.o)
    typeinfo for yaSSL::ClientKeyBase in libmysqlclient.a(yassl_imp.o)
    typeinfo for yaSSL::EncryptedPreMasterSecret in libmysqlclient.a(yassl_imp.o)
    typeinfo for yaSSL::ClientDiffieHellmanPublic in libmysqlclient.a(yassl_imp.o)

    NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
    “vtable for __cxxabiv1::__class_type_info”, referenced from:
    typeinfo for yaSSL::virtual_base in libmysqlclient.a(yassl_imp.o)
    typeinfo for TaoCrypt::BasicDES in libmysqlclient.a(crypto_wrapper.o)
    typeinfo for TaoCrypt::virtual_base in libmysqlclient.a(dsa.o)
    NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

  38. SB says:

    YEEEEEEHHHAAAA!!! Success!

    Note I had to build using the -DSKIP_SSL=1 definition to avoid the errors. It looks like there is an issue with yaSSL (a small SSL library written in C). Some of their definitions appear not to follow the correct ISO C standard :( WT….. so what! I say! Is it me or compilers turning into sissies? LOL

    The only change I had to make was in include/my_global.h on line 129 adding || defined(__arm__) at the end. The rest did not cause compiler issues. The verdict is out on the run time issues :)

    234 cmake -G Xcode -DSKIP_SSL=1
    235 xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphonesimulator6.0 ONLY_ACTIVE_ARCH=NO ARCHS=i386 PRODUCT_NAME=mysqlclient_simulator
    239 xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphoneos6.0 ONLY_ACTIVE_ARCH=NO ARCHS=armv7s PRODUCT_NAME=mysqlclient_device_armv7s
    240 xcodebuild -project libmysql.xcodeproj -target mysqlclient -configuration Release -sdk iphoneos6.0 ONLY_ACTIVE_ARCH=NO ARCHS=armv7 PRODUCT_NAME=mysqlclient_device_armv7
    241 lipo libmysql/Release-iphonesimulator/libmysqlclient_simulator.a libmysql/Release-iphoneos/libmysqlclient_device_armv7.a libmysql/Release-iphoneos/libmysqlclient_device_armv7s.a -create -output libmysql/Release-iphoneos/libmysqlclient.a

  39. [...] 二、iOS系统上访问MySQLserver 在iPhone/iPad上访问MySQLserver,是通过官方MySQL client库来实现。因为iOS完全兼容C语言,所以通过官方的client源码生成静态库来调用。我们将制作这个静态库libmysqlclient.a,支持simulator和ios设备。参考此处 1、下载client的源码,在选择版本框中,选择(source code),以免下错。当前版本(mysql-connector-c-6.0.2.tar.gz) [...]

  40. Michael Ozeryansky says:

    Thanks!

    I had to change the version numbers for the sdks.
    But everything compiled.

    This was much easier than the last cross compile I did.
    I kinda want to know what the tweaks were for though.

  41. Vivek says:

    Ok…I managed to get it compiled. But how to include this file in my project. Any help will be greatly appreciated. BTW I am using Xcode 4.2

  42. Arthur Walasek says:

    After reading all of these notes, and applying the additional changes mentioned here: http://blog.iosplace.com/?p=30&cpage=1#comment-6857 the library is working. I have only tested it on the Simulator with the iPhone 5.0 Simulator sdk, but it is working fine, and I expect it would work under Simulator 6.1 as well. Thank you everyone for the pointers…

    If anyone needs the exact procedure, let me know, and I can repost what was done. I also had to use the 6.0.2 mysql client source, not the latest…

RSS feed for comments on this post. And trackBack URL.

Leave a Reply