· Create xcode Framework (MySDK) · Create xcode Project (MyDemo) · Create workspace · Add projects to workspace (Must close them first!)
· Create MySDK.h/.m in framework. · In SDK project Build Phases > Headers > Move MySDK.h from Project to Public. Create new target in SDK project (Aggregate Target, e.g MySDK_ALL) Under new target "Build Phases" select "Add Run Script" and copy the contents of the script below Select Aggregate Target scheme, then build (cmd+b)