Merge pull request #587 from tsuiyuenhong/bugfix/vscode_profile_task_fail

fix: fail to execute profile task in VSCode
This commit is contained in:
Nathan.fooo 2022-07-04 15:04:21 +08:00 committed by GitHub
commit cbf8a993e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 = "";