Using HockeySDK as an example
-
Download HockeySDK 3.0.0
-
Run this command:
echo "int main(int argc, char *argv[]) { return 0; }" | clang -x c -arch armv7 -ObjC -isysroot `xcode-select -print-path`/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -Xlinker -objc_abi_version -Xlinker 2 -F$HOME/Downloads/HockeySDK-iOS-3/HockeySDK.embeddedframework -framework HockeySDK -framework Foundation -framework UIKit -framework QuartzCore -framework CoreGraphics -framework CoreText -o $TMPDIR/HockeySDK - && class-dump $TMPDIR/HockeySDK
Adapt all the -framework
options according to the documentation that comes with the iOS static framework.