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!
- 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.
- 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
One Comment
Thank you very much posting out this.. I was pissed off by this this