🚀 The better way to deal with Binary Frameworks for iOS, Mac Catalyst, tvOS, macOS, and watchOS. Create XCFrameworks with ease for multiple platforms at one shot! Stop wasting your time with the Universal/Fat Framework Approach. You don't need to update your shell script periodically anymore.
- About
- Requirements
- Installing
- Setting up surmagic
- How to Use
- What is the Surfile
- Passing parameters
- Further Reading
- Uninstalling
- References
- Contribute
- License
- Further Reading
After Xcode 11 now Xcode fully supports using and creating binary frameworks in Swift. Simultaneously support devices and Simulator with the new XCFramework bundle type. XCFrameworks support the binary distribution of Swift and C-based code. A single XCFramework can contain a variant for the simulator, and for the device. This means you can ship slices for any of the architectures, including simulator, any Apple OS and even separate slices for UIKit and AppKit apps.
- macOS Version 11.2 and above
- Xcode 11 and above
- Swift 5.1 and above
Brew is the Recommended way to install/uninstall the surmagic.
brew tap gurhub/surmagic
brew install surmagic
This command will install surmagic to your desired bash.
Then, check the How to Use section on the Wiki.
If you didn't find what you're looking for, check Surmagic's Wiki page. Or maybe you'll want to improve the Wiki page🤓. Obviously, it's a great idea. 👏🏻
🙋🏻♂️*Need contribution here!
*If you want to contribute please check out CONTRIBUTING.md for more information on how to help with surmagic.
- Muhammed Gurhan Yerlikaya, gurhanyerlikaya@gmail.com, @mgyky
"Surmagic" is available under the MIT License license. See the LICENSE
file for more info.