https://github.com/hyperoslo/swiftpackage
🏆 Template to make a Swift package
https://github.com/hyperoslo/swiftpackage
framework generate ios mac package swift
Last synced: 2 months ago
JSON representation
🏆 Template to make a Swift package
- Host: GitHub
- URL: https://github.com/hyperoslo/swiftpackage
- Owner: hyperoslo
- License: other
- Created: 2016-01-04T09:41:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-11T22:06:33.000Z (over 7 years ago)
- Last Synced: 2025-04-22T17:45:18.710Z (5 months ago)
- Topics: framework, generate, ios, mac, package, swift
- Language: Ruby
- Homepage:
- Size: 74.2 KB
- Stars: 39
- Watchers: 7
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SwiftPackage
**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](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage)
compatible and generates an empty example project.## Features
- Support Swift 4 🎉
- Support iOS, macOS, tvOS, watchOS
- Support CocoaPods, Carthage, Swift Package Manager
- Use [Circle CI](https://circleci.com/)### Project structure
- 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## Usage
1. `git clone https://github.com/hyperoslo/SwiftPackage.git NewPackageName`
2. `cd NewPackageName`
3. `./init.rb`
4. Enter the requested info."NewPackageName" here is the name of your Swift framework.
## Author
Hyper Interaktiv AS, ios@hyper.no
## Contributing
We would love you to contribute to **SwiftPackage**, check the [CONTRIBUTING](https://github.com/hyperoslo/SwiftPackage/blob/master/CONTRIBUTING.md) file for more info.
## License
**SwiftPackage** is available under the MIT license. See the [LICENSE](https://github.com/hyperoslo/SwiftPackage/blob/master/LICENSE.md) file for more info.