-
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 projectplatform-iosiOS applications specificallyiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project management"xcodebuild" on iOS and general Xcode project managementteam-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
If Generated.xcconfig has not been #included in the Xcode project configuration, FLUTTER_ROOT is undefined and Xcode will be unable to locate xcode_backend.sh. In the flutter create project template, we should include something similar to the following boilerplate above the execution of the xcode_backend.sh script:
if [ ! -f "$FLUTTER_ROOT"/packages/flutter_tools/bin/xcode_backend.sh" ]; then
echo "xcode_backend.sh not found"
echo "FLUTTER_ROOT is '$FLUTTER_ROOT'"
echo "Verify that your Xcode project is configured to use the Debug or Release profile"
exit 1
fi
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectplatform-iosiOS applications specificallyiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project management"xcodebuild" on iOS and general Xcode project managementteam-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