-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update project layout for Swift Package Manager #157
Comments
Depending on how wide a scope you want to make this, it could also cover trying to test these out on CI |
I am thinking minimally viable product here is to make it work. Testing comes later (famous last words). I have just reached out to the Swift mailing list requesting assistance with this. |
👍 |
Update: clarified that this issue results in changing the layout of the project. |
Cool, yeah the layout makes sense - a warning this will be quite a bit of work simply making sure everything hooks back up again 👍 |
Update: this is fixed in #179. |
Update the template layout so that libraries started with
pod-template
can be used from Swift Package Manager.I recommend we take the AlamoFire approach: make it work but don't officially support it until SPM gets a stable API.
Here is a simple iOS framework which supports CocoaPods, Carthage, SPM, testing, an example project and CI https://github.com/fulldecent/FDChessboardView It is based entirely off the project layout for AlamoFire.
Please let me know if a PR that updates pod-template to be like that project would be well received.
Note on testing SPM compliance
Currently we cannot test SPM because it does not actually support iOS (https://stackoverflow.com/questions/34778823/swift-package-manager-uikit-dependency).
When SPM supports iOS we can use this Travis CI script:
(adapted from http://ankit.im/swift/2016/02/17/swift-package-manager-testing-preview/)
OPEN PR: #179
The text was updated successfully, but these errors were encountered: