I cannot build my application anymore since I updated Xcode to the new version (Xcode 5.1). the error message is \'Could not build module \'UIKit\'\'. I have the same probl
My Problem was the app was running in Release mode Changing back to debug...Boom!! starts working
I solved the issue by deleting and adding UIKit.framework in Build Phases -> Link Binary With Libraries.
So, I also encountered this problem, and discovered the problem was that my Podfile's minimum iOS version was 6.1 while my project's minimum iOS Version was 6.0. Getting these two values aligned resolved the issue.
Go to your DerivedData
directory and remove ModuleCache
directory.
In terminal:
cd /Users/<account_name>/Library/Developer/Xcode/DerivedData
rm -rf ModuleCache/
then reinstall pods: pod install
.
If it doesn't help try removing whole DerivedData directory and reinstall pods.
After trying all of the above to no avail, I finally reinstalled XCode which did the trick.
I have the same problem. I solved this by going to XCode -> Preferences ... -> Download
I have iOS 6.1 and 7.0 simulators.
In the project go to Build Settings -> Deployment and then in iOS Deployment Target section make sure the right iOS simulator version is selected. In my case I chose iOS 7.0