Emil,
Thanks for the tip. I ran your search/replace, but it ended up that
the following process FINALLY got me where I needed:
1) Remove any prior reference to three20 from your app
2) Open (in Finder) the three20 folder, drag Three20.xcodeproj to your
project's Groups & Files panel
3) Click on Three20.xcodeproj in the Groups & Files panel, then click
the "Target" checkbox for libThree20.a
4) Expand the "Targets" node in the Groups & Files panel, double-click
your target, click the General tab, and add Three20 as a Direct
Dependency
5) Double-click your project (top of Groups & Files panel), the click
the Build tab. Ensure that the following values are setup
appropriately for both Debug and Release builds: Architectures (armv6
armv7), Base SDK: iPhone Device 4.0, Build Active Architecture Only:
UNCHECKED, Valid Architectures: armv6 armv7, Target Device Family:
iPhone, iPhone OS Deployment Target: iPhone OS 3.1.3, Other Linker
Flags: -ObjC, Header Search Paths: ../relative/path/to/three20/Build/
Products/three20
6) Perform Step 6 for your app's target, Three20 and EACH OF ITS
DEPENDENCIES AND THEIR TARGETS. Its time consuming for sure, but
combing through each project, target, and build configuration (Debug,
Release) yielded some strange settings... If a setting is in bold
letter it means that it is specific to that project/target and
configuration type. Targets inherit from their project, so when I
found values set on targets that might as well pick up their config
from their project, I selected the row and pressed Delete.
Hopefully that helps someone who is still tearing their hair out like
I was :)
Thanks,
Scott
After that, I've got 0 problems building for both Simulator and
Device, in Debug and Release modes.
On Jul 10, 8:35 am, Emil Palm <
e...@x86.nu> wrote:
> To fix the Xcode projects to be able to run on Xcode 3.2 with iOS4 SDK's:
>
> Open up terminal;
> cd /your/folder/three20/
> find . -name project.pbxproj -exec sed -i "" 's/iphonesimulator3.0/iphonesimulator3.2/' {} \;
>
> That will replace all instances of "iphonesimulator3.0 with iphonesimulator3.2 which should make it work and compile :)
>
> This worked for me atleast :)
>
> Cheers
>
> On 10 Jul 2010, at 09:29, Scott wrote:
>
>
>
> > Priyank,
>
> > I was finally able to get my project running using the three20 fork
> > @
http://github.com/jamiebriant/three20and the instructions he lists