Skip to content

Instantly share code, notes, and snippets.

@billgarrison
Forked from 0xced/README.md
Created February 22, 2013 05:57
Show Gist options
  • Save billgarrison/5011074 to your computer and use it in GitHub Desktop.
Save billgarrison/5011074 to your computer and use it in GitHub Desktop.

Using HockeySDK as an example

  1. Download HockeySDK 3.0.0

  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment