I know how to create a framework in Xcode 5. But in Xcode 6 how to combine both a simulator framework & a device framework? When I try to combine I get a code signing error. When I use lipo
to combine both framework, I also get an error.
Error: Command /bin/sh failed with exit code 65
My solution to create universal framework in xcode6.
Try these steps:
Step 1:
Step 2: Create custom class files
Step 3:
Makes all header files into public. Now build in simulator & device.
Step 4:
Step 5:
Step 6: Add following
shell code
in run scriptStep 7:
Step 8: Now right click framework from products in Xcode & click show in finder.
Check "Debug-universal” folder & get universal framework.