fix: fail to execute profile task in VSCode

This commit is contained in:
Lucas.Xu 2022-07-04 14:29:46 +08:00
parent 6fc7f63a8b
commit 98f8a3a35c
3 changed files with 6 additions and 1 deletions

View File

@ -62,8 +62,10 @@
{
"name": "AF: app_flowy (profile mode)",
"request": "launch",
"program": "./lib/main.dart",
"type": "dart",
"flutterMode": "profile"
"flutterMode": "profile",
"cwd": "${workspaceRoot}/app_flowy"
},
]
}

View File

@ -52,6 +52,7 @@ RUST_COMPILE_TARGET = "aarch64-apple-darwin"
BUILD_FLAG = "debug"
FLUTTER_OUTPUT_DIR = "Debug"
PRODUCT_EXT = "app"
BUILD_ARCHS = "arm64"
[env.development-mac-x86_64]
RUST_LOG = "info"
@ -60,6 +61,7 @@ RUST_COMPILE_TARGET = "x86_64-apple-darwin"
BUILD_FLAG = "debug"
FLUTTER_OUTPUT_DIR = "Debug"
PRODUCT_EXT = "app"
BUILD_ARCHS = "x86_64"
[env.production-mac-arm64]
BUILD_FLAG = "release"

View File

@ -427,6 +427,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.appflowy.macos;
PRODUCT_NAME = AppFlowy;
PROVISIONING_PROFILE_SPECIFIER = "";