Use SPM.
In your Package.swift
, in the dependencies argument, add:
.package(url: "https://github.com/happn-tech/XibLoc.git", from: "1.0.0")
and add XibLoc
to the list of dependencies of your app.
If you’re using Xcode, add a Swift Package in the settings of your project.
If you’re working on XibLoc on macOS, you have to use the xcodeproj in the project and not
open Package.swift in Xcode.
The project does not compile because the tests need macOS 10.11 to run when launching the
Package.swift directly. And even when setting the correct minimum version for macOS, some
tests are still not run (ObjC tests) and some tests only work when launched with the xcodeproj
(use resources in a bundle).
This project was originally created by François Lamboley while working at happn.