Welcome to the Three20 forums! Before you dive too deep into things, please read our forum rules.
Xcode 4.3 and Three20 Scripts
  • Vote Up0Vote Down frogofrogo February 2012
    Posts: 4

    As many of you already know, Xcode 4.3 was released yesterday and basically blew away the /Developer directory in favour of a single Xcode.app package in Applications. Now as I run the scripts to add Three20 to a new project I get the following warning:

    python ttmodule.py -p ../../../MyProject.xcodeproj Three20 Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path. Traceback (most recent call last): File "ttmodule.py", line 194, in sys.exit(main()) File "ttmodule.py", line 180, in main xcodebuild_version = f.readlines()[0] IndexError: list index out of range

    Strange thing is that /usr/bin/xcode-select still points to /Developer after the upgrade.

    Looks like we have to add three20 to our projects manually until this is sorted.

  • 5 Comments sorted by
  • Vote Up1Vote Down frogofrogo February 2012
    Posts: 4

    A bit of an update on this: I managed to get the script running by pointing xcode to the new Developer folder inside the Xcode.app by running the following command in the terminal:

    /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/
    

    This will allow the ttmodule.py to run and add the frameworks. Just got a few errors to sort now for Header Paths and then we are done!

  • Vote Up1Vote Down frogofrogo February 2012
    Posts: 4

    All fixed now, run the above command, downloaded fresh copy, ran an example, then ran python ttmodule.py. Everything working the way it should! Hope this little post helps someone out!

  • Vote Up0Vote Down frogofrogo February 2012
    Posts: 4

    Does anyone have any idea how to fix this? Where is the new eqiv to /Developer in 4.3?

  • Vote Up0Vote Down _Jimit_Jimit March 2012
    Posts: 1

    @forgo thanks. It works!

  • Vote Up0Vote Down snowleungsnowleung June 2012
    Posts: 0

    great help!thank you!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Twitter

Sign In Apply for Membership

In this Discussion

Tagged

Latest Three20 version: 1.0.5

Who's Online (0)