OMG, what have I done?
A few days ago I tried to use macport to install something, because I was using Xcode 4.3, and the command line tool was not installed by then macport was not working. Therefore, I followed the example guide for installing the command line tool, then used the following command:
sudo xcode-select -switch /Applications/Xcode.app/
which, I think, screwed everything except macport: now, in Xcode, even a simple iOS project with one view will not be compiled, it says: "UIKit / UIKit.h not found."
Does anyone know how to fix this? I do not want to install the giant Xcode again, today I have to do some iOS project, help!
ios xcode macos
Chris Chen Mar 07 '12 at 11:29 2012-03-07 11:29
source share