-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: buildBuilding flutter applications with the toolBuilding flutter applications with the toold: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
In order to get Xcode use the correct debug/profile/release mode, the Generated.xcconfig file should include FLUTTER_BUILD_MODE=xxx.
A correct one would like like:
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/liyuqian/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/liyuqian/flutter/test/webp
FLUTTER_TARGET=/Users/liyuqian/flutter/test/webp/lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
FLUTTER_FRAMEWORK_DIR=/Users/liyuqian/flutter/flutter/bin/cache/artifacts/engine/ios-profile
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
TRACK_WIDGET_CREATION=true
FLUTTER_BUILD_MODE=profile
However, currently the Flutter tools are generating
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/liyuqian/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/liyuqian/flutter/test/webp
FLUTTER_TARGET=/Users/liyuqian/flutter/test/webp/lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
FLUTTER_FRAMEWORK_DIR=/Users/liyuqian/flutter/flutter/bin/cache/artifacts/engine/ios-profile
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
TRACK_WIDGET_CREATION=true
agordeev, jeduden, clarissaj, bbjay and skeltoac
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: buildBuilding flutter applications with the toolBuilding flutter applications with the toold: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team