xcode9hopper

Hopper to disassemble the UIKit.framework from Xcode


I use Hopper Disassembler to disassemble the UIKit.framework. I usually select the binary from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/UIKit.framework/UIKit but since I'm using Xcode 9 and later, I'm unable to find the binary to do the disassembling. The Xcode 8 UIKit.framework has the binary but the Xcode 9 UIKit.framework has only a UIKit.tbd file.

How can I achieve the disassemble in recent Xcodes?


Solution

  • Apple split up UIKit. The framework you are looking for is in ../PrivateFrameworks/UIKitCore.framework

    Xcode 10

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
    

    Xcode 11, 12, 13 & 14

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
    

    Xcode 15

    /Users/{USERNAME}/Library/Developer/Xcode/iOS DeviceSupport/{IPHONE_MODEL} ({IOS_VERSION})/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore