firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

Add CI to detect public API changes in Swift

Open paulb777 opened this issue 2 years ago • 2 comments

  • Update Danger to turn on GitHub public tag
  • Generate a report in PR for public API changes

Both of these are likely using DocC to get the API docs

paulb777 avatar Feb 16 '22 18:02 paulb777

Update: DocC likely isn't necessary for this.

# Generate symbol graphs from Swift Package manifest. From the root of the repo:
mkdir -p .build/symbol-graphs
swift build --target FirebaseMLModelDownloader -Xswiftc -emit-symbol-graph -Xswiftc -emit-symbol-graph-dir -Xswiftc .build/symbol-graphs

A JSON file will exist at .build/symbol-graphs/FirebaseMLModelDownloader.symbols.json that contains the API surface.

ryanwilson avatar Apr 04 '22 18:04 ryanwilson

@yifanyang Please take a look at this issue

sunmou99 avatar Oct 10 '22 20:10 sunmou99

Fixed by @sunmou99

paulb777 avatar Aug 08 '23 21:08 paulb777