nokeedev / gradle-native

The home of anything about Gradle support for natively compiled languages
https://nokee.dev
Apache License 2.0
48 stars 8 forks source link

Improve dependency tracking in XC models #832

Closed lacasseio closed 1 year ago

lacasseio commented 1 year ago

Inspect will show more information about target dependencies. We are tracking explicit, implicit via build phase files and Swift PM dependencies. Here is an example for the Wikipedia target:

name: Wikipedia
dependencies:
 - :Wikipedia@WMF (implicit dependency via file '$(BUILT_PRODUCT_DIR)/WMF.framework' in build phase 'Link Binary')
 - product 'Components' (implicit dependency via package at 'https://github.com/wikimedia/wikipedia-ios-components.git' which require branch 'main' in build phase 'Link Binary')
 - :Wikipedia@WidgetsExtension (implicit dependency via file '$(BUILT_PRODUCT_DIR)/WidgetsExtension.appex' in build phase 'Embed Foundation Extensions')
 - :Wikipedia@NotificationServiceExtension (implicit dependency via file '$(BUILT_PRODUCT_DIR)/NotificationServiceExtension.appex' in build phase 'Embed Foundation Extensions')
 - :Wikipedia@ContinueReadingWidget (implicit dependency via file '$(BUILT_PRODUCT_DIR)/ContinueReadingWidget.appex' in build phase 'Embed Foundation Extensions')
 - :Wikipedia@Wikipedia Stickers (implicit dependency via file '$(BUILT_PRODUCT_DIR)/Wikipedia Stickers.appex' in build phase 'Embed Foundation Extensions')
 - :Wikipedia@WMF (implicit dependency via file '$(BUILT_PRODUCT_DIR)/WMF.framework' in build phase 'Embed Frameworks')
 - :Wikipedia@WMF (explicit)
 - :Wikipedia@ContinueReadingWidget (explicit)
 - :Wikipedia@Wikipedia Stickers (explicit)
 - :Wikipedia@WidgetsExtension (explicit)
 - :Wikipedia@NotificationServiceExtension (explicit)