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
File "ttmodule.py", line 180, in main
xcodebuild_version = f.readlines()
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.
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!
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!
Does anyone have any idea how to fix this? Where is the new eqiv to /Developer in 4.3?
@forgo thanks. It works!
great help!thank you!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In Apply for Membership