Closed moopoints closed 1 year ago
Hi @moopoints, thanks for raising this.
You get this error if you already have Auth0.swift v2 as a dependency. Lock.swift uses Auth0.swift v1.
If you remove Auth0.swift from your app, it will install successfully:
Closing due to inactivity. Please feel free to ping if you'd prefer to reopen.
Describe the problem
It appears that adding the Lock.swift package via SPM requires a Package.swift file. A Package.swift file does not exist if one is adding and managing packages using Xcode's SPM. Attempting to add the package immediately fails (screenshot).
Error message is:
the package manifest at '/Package.swift' cannot be accessed (/Package.swift doesn't existe in the file system)
What was the expected behavior?
Ability to add package via SPM
Reproduction
Environment
Lock.swift
used: 2.9.0