Cannot find UIKit.framework
Solution 1
UIKit.framework is here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks
Solution 2
In the newer Xcode versions the iPhoneOS frameworks do no longer include a binary, but include a tbd file. You can find simulator binaries at this path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks
Solution 3
New location:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks
Solution 4
iOS 14, Xcode 12 path I've found here
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UIKit.framework/UIKit
Solution 5
Updated for Xcode 11.3:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UIKit.framework
Josh
Software Design student - Macquarie University Currently working on ASP.NET MVC 5
Updated on June 11, 2022Comments
-
Josh about 2 years
I am currently running Xcode 6 beta 2, and I can't find the UIKit.framework. I've looked in System/Library/Frameworks as suggested in Apple's reference page
All the other frameworks are there, except UIKit.
Note: I have no issues importing the UIKit framework