Modularization of an iOS app
Creating shared product
- add submodule to your product
git submodule add git@github.com:artur-gurgul-pro/sharepack.git Sharepack
- Extract shared code to multi-module package. See
Sharepack
- Add local package
TBD
Initialisation of a library
mkdir MyDeps && cd MyDeps
swift package init --type library
swift package generate-xcodeproj
xcodebuild -resolvePackageDependencies