Three20 iOS ad-hoc distribution issues

There are a few important things to remember when deploying an ad-hoc distribution application with the Three20 library to an iDevice. This took me a few hours to figure out so hopefully it saves time for someone else!

  1. If you get “Three20.h No such file or directory error.” errors during your build, make sure you go to your Three20 library on your local machine and copy the “Build/Products/Release-iphoneos” folder and rename it to “Distribution-iphoneos”. This folder doesn’t seem to be included when you download the library and should solve this issue.
  2. If your application is crashing on an iDevice in sections where Three20 is used but works fine in Debug mode, take a look at your distribution build configuration and make sure the following values are set in “Other Linker Flags” section. The values were missing from my Release configuration and your application will build completely fine without these values but will crash hard when running it on an iDevice.
    -all_load
    -ObjC
    
This entry was posted in development and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. Chamira Fernando
    Posted December 13, 2010 at 8:15 am | Permalink

    Thank you very much posting out this.. I was pissed off by this this

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>