Open S2Ler opened 2 years ago
@S2Ler, can you please provide more details on this one? Is it for internal application usage?
This is for SDK similar to what Maps SDK team built. https://github.com/mapbox/mapbox-maps-ios/blob/main/scripts/api-compatibility-check/breaking-api-check.py
Now
We detect breaking changes by building an abstract syntax tree from the source code using "SourceKit" and then building the diff and then analysing what is considered a breaking change.
Proposed
Use
swift-api-digester
tool that ships with Xcode to detect breaking API changes.Why
Instead of maintaining the own tool, we will use a tool that is maintained by compiler engineers that will have less false positives that we currently have.