From e5ca4f0bfdcc26bf2e45bb7ab01c1260f89d6912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=81=A5=E8=8E=B9?= Date: Thu, 4 Apr 2024 00:13:07 +0800 Subject: [PATCH] wip: Add CFBundleName to parse ipa package --- .../lib/src/parsers/ipa/app_package_parser_ipa.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/parse_app_package/lib/src/parsers/ipa/app_package_parser_ipa.dart b/packages/parse_app_package/lib/src/parsers/ipa/app_package_parser_ipa.dart index 8e1cdd3b..fc733fbb 100644 --- a/packages/parse_app_package/lib/src/parsers/ipa/app_package_parser_ipa.dart +++ b/packages/parse_app_package/lib/src/parsers/ipa/app_package_parser_ipa.dart @@ -25,7 +25,7 @@ class AppPackageParserIpa extends AppPackageParser { return AppPackage( platform: 'ios', identifier: result['CFBundleIdentifier'], - name: result['CFBundleDisplayName'], + name: result['CFBundleDisplayName'] ?? result['CFBundleName'], version: result['CFBundleShortVersionString'], buildNumber: int.parse(result['CFBundleVersion']), );