firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.64k stars 1.48k forks source link

Xcode 16 - Fails to upload dSYM to ASC #13551

Open flexund opened 2 months ago

flexund commented 2 months ago

Description

After archiving project with Firebase frameworks, the upload process completes with warnings about the archive's dSYM folder is missing DWARF file for these frameworks:

Reproducing the issue

Archive & Upload a build to App Store Connect using Xcode 16 Beta 6

Firebase SDK Version

11.1.0

Xcode Version

16 Beta 6

Installation Method

Swift Package Manager

Firebase Product(s)

Analytics

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

N/A

If using CocoaPods, the project's Podfile.lock

N/A

google-oss-bot commented 2 months ago

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

rizafran commented 1 month ago

Thanks for reporting this, @felixhedlund. I was able to reproduce the issue. I've raised this to our engineers and see what we can do here.

alexanderkhitev commented 1 month ago

hello! Any news/updates? Thanks

lexuanquynh commented 1 month ago

@rizafran please make it to Dynamic library option.

ormaa commented 1 month ago

it seems that dynamic library is deprecated on Firebase side...

4eleven7 commented 1 month ago

Any update on this? I'm experiencing the exact same, and the same frameworks with FirebaseAnalytics, GoogleAppMeasurement and GoogleAppMeasurementIdentitySupport. Plus GoogleTagManager.

Was using CocoaPods, but moved over to SPM to see if that would help (allowing me to install it fresh, as this is a 3-4 year old project).

chrszlz commented 1 month ago

Hi, I'm also experiencing this issue. Standard SPM installation using Analytics, Auth, RemoteConfig, Storage.

App Store Connect flow, via Xcode, successfully uploads but says it has the following issues: "The following issues occurred while distributing your application" ... "Upload symbols failed" "The archive did not include a dSYM for the .framework... ensure includes a DWARF file".

I've ensured that build Project > Build Settings > Debug Information Format is set to "DWARF with dSYM File" for both with Debug and Release

benfrearson commented 1 month ago

Just worth mentioning for anyone following here that there's a larger discussion about the issue here with some potential workarounds for the moment.

(I'm not a contributor btw, just happened to be following both Issues!)

lirbar commented 3 weeks ago

Any ETA on fixing this ?

tsunghung commented 3 weeks ago

I can reproduce this issue with Swift Package Manager, but not with CocoaPods. I just want to be sure that this issue is not blocking App Review or App Store release, right?

tsunghung commented 3 weeks ago

According to the post on the Apple Developer Forums, this is an Apple issue, not an SDK issue.

lirbar commented 3 weeks ago

According to the post on the Apple Developer Forums, this is an Apple issue, not an SDK issue.

It seems not an Apple issue, according to the lasted answer from Apple engineer: https://developer.apple.com/forums/thread/761589?answerId=806733022#806733022

paulb777 commented 2 weeks ago

See the latest at https://developer.apple.com/forums/thread/761589?page=2