Sharif Ahamed
Sharif Ahamed

Reputation: 261

The archive did not include a dSYM for the Flutter.framework with the UUIDs

I'm new to Flutter iOS development. Trying to publish an app on the Apple app store. But after building the archive, when I try to distribute or validate the app, Xcode keeps me showing

The archive did not include a dSYM for the Flutter.framework with the UUIDs [4C4C-5555--****-*****45CD327]. Ensure that the archive's dSYM folder includes a DWARF file for Flutter.framework with the expected UUIDs. enter image description here

How can I overcome this?

Upvotes: 19

Views: 26444

Answers (6)

Bin Emmanuel
Bin Emmanuel

Reputation: 83

I've never had this issue since I started using and deploying Flutter Apps in 2019, but I encountered it today when I tried to deploy using shorebird release. The solution for me was to go to my shorebird console > app version > Artifacts to download Flutter.dSYM file. After downloading the file I right-clicked on my archive from the list of archive on Xcode, right-click on .xcarchive file and click on Show Package Content, then lastly move the dowloaded ** Flutter.dSYM** to dSYMs directory and you are good.

Upvotes: 1

Kevin
Kevin

Reputation: 381

flutter upgrade after this vscode will ask you updating ,just click yes

Upvotes: 0

Sarath CR
Sarath CR

Reputation: 11

I have the same issue, but I found a temporary solution.

Vs code:

flutter build ios --no-codesign

get path like - /build/.../runner.app/

Flutter.framework floder inside run below code:

dsymutil Flutter -o Flutter.framework.dSYM

get (Flutter.framework.dSYM) file to paste into the xcode => archive => package content => DSYMs floder

Revalidate the file pasted in the same build

Upvotes: 1

Mark Alvin Centino
Mark Alvin Centino

Reputation: 71

I just upgraded my flutter and the warning is gone. I just did "flutter upgrade" in my vscode terminal.

Upvotes: 4

عباس فآضل
عباس فآضل

Reputation: 130

To solve this problem you just need to update the flutter version

Upvotes: 9

sertancayci
sertancayci

Reputation: 131

To retrieve the dSYM file for your Flutter app in Xcode, follow these steps:

  1. Open Xcode:

    • Start Xcode and go to your project.
  2. Create an Archive:

    • Click on Product in the top menu.
    • Select Archive. This will build and archive your app.
  3. Access Archives:

    • Once the archiving process is complete, the Organizer window will open.
    • You’ll see a list of archives for your app. Right-click on the archive you want to access.
  4. Show in Finder:

    • From the right-click menu, select Show in Finder. This will open a Finder window showing the archived files.
  5. Locate the .xcarchive File:

    • You should see a file with the extension .xcarchive (it’ll have your app name). Right-click on this file.
  6. Show Package Contents:

    • Select Show Package Contents from the right-click menu. This will open a new window showing the internal structure of the archive.
  7. Find the dSYMs Folder:

    • Look for a folder named dSYMs inside the package contents. Open this folder.
  8. Get the .dSYM File:

    • Inside the dSYMs folder, you’ll find the .dSYM file you need. You can copy it from here for your distribution needs

Upvotes: 4

Related Questions