Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c11fe48

Browse files
authored
[iOS] Do not archive/upload Flutter.dSYM to cloud (#54492)
As of the following three patches, we now bundle Flutter.framework.dSYM as part of Flutter.xcframework and bundle them in the .xcarchive bundles produced by `flutter build ipa` / Xcode Product > Archive for upload to the iOS App Store. * #54414 * #54458 * flutter/flutter#153215 The .dSYM bundle is now available both in the uploaded .xcarchive and in the xcframework in Flutter's internal artifact cache. For developers with CI toolchains that do additional manual handling or local archiving of .dSYMs, the dSYMs no longer need to be downloaded from cloud storage as previously detailed in `docs/Crashes.md`, but can instead be copied up from the appropriate dSYM subdirectory in the framework cache: * `flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework` Issue: flutter/flutter#116493 Credo: [Embrace the yak shave](https://suno.com/song/37cb7c43-85ad-40f2-87e6-9aec7baa0419) [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 2c910fc commit c11fe48

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

ci/builders/mac_ios_engine.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -540,16 +540,6 @@
540540
"source": "out/release/artifacts.zip",
541541
"destination": "ios-release/artifacts.zip",
542542
"realm": "production"
543-
},
544-
{
545-
"source": "out/release/Flutter.dSYM.zip",
546-
"destination": "ios-release/Flutter.dSYM.zip",
547-
"realm": "production"
548-
},
549-
{
550-
"source": "out/release/extension_safe_Flutter.dSYM.zip",
551-
"destination": "ios-release/extension_safe_Flutter.dSYM.zip",
552-
"realm": "production"
553543
}
554544
]
555545
}

sky/tools/create_full_ios_framework.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -219,26 +219,6 @@ def zip_archive(dst):
219219
],
220220
cwd=dst)
221221

222-
# Generate Flutter.dSYM.zip for manual symbolification.
223-
#
224-
# Historically, the framework dSYM was named Flutter.dSYM, so in order to
225-
# remain backward-compatible with existing instructions in docs/Crashes.md
226-
# and existing tooling such as dart-lang/dart_ci, we rename back to that name
227-
#
228-
# TODO(cbracken): remove these archives and the upload steps once we bundle
229-
# dSYMs in app archives. https://github.com/flutter/flutter/issues/116493
230-
framework_dsym = os.path.join(dst, 'Flutter.framework.dSYM')
231-
if os.path.exists(framework_dsym):
232-
renamed_dsym = framework_dsym.replace('Flutter.framework.dSYM', 'Flutter.dSYM')
233-
os.rename(framework_dsym, renamed_dsym)
234-
subprocess.check_call(['zip', '-r', 'Flutter.dSYM.zip', 'Flutter.dSYM'], cwd=dst)
235-
236-
extension_safe_dsym = os.path.join(dst, 'extension_safe', 'Flutter.framework.dSYM')
237-
if os.path.exists(extension_safe_dsym):
238-
renamed_dsym = extension_safe_dsym.replace('Flutter.framework.dSYM', 'Flutter.dSYM')
239-
os.rename(extension_safe_dsym, renamed_dsym)
240-
subprocess.check_call(['zip', '-r', 'extension_safe_Flutter.dSYM.zip', 'Flutter.dSYM'], cwd=dst)
241-
242222

243223
def process_framework(args, dst, framework_binary, dsym):
244224
if dsym:

0 commit comments

Comments
 (0)