Reputation: 1403
I can't find UIKit.framework anywhere: it's nowhere in my /System/Library/Framework and I can't add it via Build Phase because it's not there to select. I have installed and re-installed xcode and it's not showing up. It doesn't seem to be directly downloadable either. Any ideas?
Upvotes: 6
Views: 8614
Reputation: 9858
If this is indeed meant to be a question for a Mac OS X application instead of an iOS application @Ken Thomases reply is true. If this question is about making an iOS application with Xcode on Mac OS X then it might be possible your project file is a bit broken. I had to deal with this some weeks ago when all of a sudden I could not add an audio framework.
Alternatively you can show the contents of the package of your project file by CTRL-clicking it and selecting Show Package Contents. There are a lot of user based files there, some might be corrupt. Throw these files away and try again. Backup just to be sure.
Your project's settings should look something like this:
Build phases:
It's important that you target iOS and that UIKit and Foundation are there
If they're not, try to create a new project
Upvotes: 1