terminal command to do this is below
#!/bin/sh
## Strips unwanted architectures
lipo -remove i386 MyFramework.framework/MyFramework -output MyFramework.framework/MyFramework
lipo -remove x86_64 MyFramework.framework/MyFramework -output MyFramework.framework/MyFramework
rm MyFramework.framework/Modules/MyFramework.swiftmodule/i386.swiftdoc
rm MyFramework.framework/Modules/MyFramework.swiftmodule/i386.swiftmodule
rm MyFramework.framework/Modules/MyFramework.swiftmodule/x86_64.swiftdoc
rm MyFramework.framework/Modules/MyFramework.swiftmodule/x86_64.swiftmodule
references
#!/bin/sh
## Strips unwanted architectures
lipo -remove i386 MyFramework.framework/MyFramework -output MyFramework.framework/MyFramework
lipo -remove x86_64 MyFramework.framework/MyFramework -output MyFramework.framework/MyFramework
rm MyFramework.framework/Modules/MyFramework.swiftmodule/i386.swiftdoc
rm MyFramework.framework/Modules/MyFramework.swiftmodule/i386.swiftmodule
rm MyFramework.framework/Modules/MyFramework.swiftmodule/x86_64.swiftdoc
rm MyFramework.framework/Modules/MyFramework.swiftmodule/x86_64.swiftmodule
references
No comments:
Post a Comment