Description
Checklist
- I have looked into the API documentation and have not found a suitable solution or answer.I have searched the issues and have not found a suitable solution or answer.I have searched the Auth0 Community forums and have not found a suitable solution or answer.I agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
We have added Auth0.swift, JWTDecode.swift, and SimpleKeychain as submodules to our project. However since the Auth0 framework does not explicitly link JWTDecode.swift and SimpleKeychain build errors result on clean builds, as Auth0 may attempt to build before JWTDecode.swift and SimpleKeychain have.
Describe the ideal solution
We have forked Auth0 and made these dependencies explicit in Auth0 framework targets, by adding both JWTDecode and SimpleKeychain to "Link Binary With Libraries":
This makes the dependency explicit, and ensures that JWTDecode and SimpleKeychain are built before Auth0.
Alternatives and current workarounds
We attempted to resolve this by simply moving JWTDecode to higher in our dependency list, but because Xcode builds things in parallel this wasn't enough to make sure JWTDecode was built before Auth0.
Additional context
No response
Activity
Widcket commentedon Jan 15, 2025
Hi @hoolrory,
I haven't been able to take a look at this yet, but I'll try to do so next week.
Widcket commentedon Feb 18, 2025
Hi @hoolrory, please update the PR with the current state of the
master
branch and mark the PR as ready for review.Widcket commentedon May 30, 2025
This is now out in Auth0.swift 2.13.0.