SwiftPackage is a template to create Swift frameworks. It has a basic folder structure and the project with shared framework and test targets. It also includes the necessary metadata files to make it CocoaPods and Carthage compatible and generates an empty example project.
- Support Swift 4 ๐
- Support iOS, macOS, tvOS, watchOS
- Support Cocoapods, Carthage, Swift Package Manager
- Use Circle CI
- Sources: contains source files
- Shared: common files
- iOS: for iOS target
- macOS: for macoS target
- tvOS: for tvOS target
- watchOS: for watchOS target
- Info: contains target
Info.plist
files - SwiftPackageTests: contains test files
git clone https://github.com/hyperoslo/SwiftPackage.git NewPackageName
cd NewPackageName
./init.rb
- Enter the requested info.
"NewPackageName" here is the name of your Swift framework.
Hyper Interaktiv AS, [email protected]
We would love you to contribute to SwiftPackage, check the CONTRIBUTING file for more info.
SwiftPackage is available under the MIT license. See the LICENSE file for more info.