joshchngs / swift-package-manager-ios Goto Github PK
View Code? Open in Web Editor NEWExample of how to use SPM v4 to manage iOS dependencies
License: MIT License
Example of how to use SPM v4 to manage iOS dependencies
License: MIT License
I know this is kind of obvious, given that SPM is effectively a git repository manager.
The issue occurs when creating a new Xcode project (i.e. SPM app). When selecting a location for the project to be saved to there is a box to "Create Git repository on my Mac." If this box is unchecked when the project is Created, the project won't build, throwing an error about the Package.resolved file being malformed. The Package.resolved file is zero bytes when this happens.
I know that's not really an issue of this project, just wanted to point it out in case someone else runs into the same issue.
Hi,
I have downloaded the latest version(Master) on both Xcode 8.3 and 9. But on trying to run it shows 'No such module RXSwift'. Also, I have seen that the 'Dependencies.xcodeproj' is not present in the source code base.
Here is one little improvement possibility I found:
Instead of the .deps-sources
folder you can create one folder like Dependencies
and put everything package manager related in there and then use path: "."
in Package.swift
. You still need the placeholder source file though. I found this structure more clearly arranged.
Example: https://github.com/ralfebert/ios-recipes-spm-HelloApp/tree/master/Dependencies
By the way, I wrote a tutorial on how to create a library and app project using the script: http://www.ralfebert.de/ios-examples/xcode/ios-dependency-management-with-swift-package-manager/
Also wanted to say thank you for the great example! :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.