[go: up one dir, main page]

Skip to content

🚀 Command Line Tool to create XCFramework for multiple platforms in one shot!

License

Notifications You must be signed in to change notification settings

gurhub/surmagic

Repository files navigation

Surmagic

🚀 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

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.

Requirements

  • macOS Version 11.2 and above
  • Xcode 11 and above
  • Swift 5.1 and above

Installing surmagic

Homebrew (macOS)

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.

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. 👏🏻

Contribute to surmagic

🙋🏻‍♂️*Need contribution here!

*If you want to contribute please check out CONTRIBUTING.md for more information on how to help with surmagic.

Contributers

License

"Surmagic" is available under the MIT License license. See the LICENSE file for more info.