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

[FR]: Add a Swift Package Plugin for Crashlytics DSYM uploads

Open BrentMifsud opened this issue 2 years ago • 5 comments

Description

With Swift package plugin support, now widely available, it would be nice to have the Crashlytics DSYM upload script available as a package plugin.

Today we have to setup a build phase for this.

With a package plugin, the setup would be integrated into Xcode. Making onboarding much easier for new users.

API Proposal

n/a

Firebase Product(s)

Crashlytics

BrentMifsud avatar Oct 24 '23 21:10 BrentMifsud

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Oct 24 '23 21:10 google-oss-bot

Hey @BrentMifsud - thanks for the suggestion. Was doing some digging and from https://github.com/apple/swift-package-manager/blob/main/Documentation/Plugins.md, it looks like Package Plugins will be restricted from accessing the network.

This would prevent upload-symbols from sending symbols to Crashlytics. I need to do some digging to see if there's a way to get the user's permission, but if someone has information about this it would be helpful for our exploration.

Screenshot 2023-11-22 at 2 06 00 PM

samedson avatar Nov 22 '23 19:11 samedson

Ah that's unfortunate. I didn't realize they put network limitations on package plugins.

BrentMifsud avatar Nov 23 '23 17:11 BrentMifsud

Yeah, was definitely excited about this feature for this use case. But I guess for now I'll leave this open in case anyone finds something out that unblocks this.

samedson avatar Nov 29 '23 19:11 samedson

Has anyone opened up a feedback to Apple on this to allow plugins to talk to the rest of the world?

SwiftNativeDeveloper avatar Mar 04 '24 22:03 SwiftNativeDeveloper