Flutter MacOS 修改打包应用名称

4 min read

路径

macos/Runner/Configs/AppInfo.xcconfig

修改内容

// Application-level settings for the Runner target.
//
// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
// future. If not, the values below would default to using the project name when this becomes a
// 'flutter create' template.

// The application's name. By default this is also the title of the Flutter window.
PRODUCT_NAME = 微信图片选择器

// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterWeixinImages

// The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright © 2022 com.example. All rights reserved.