Make the user specify the path to the flutter repo in Xcode

This commit is contained in:
Chinmay Garde 2015-11-11 14:01:16 -08:00
parent 036cd470f9
commit 11a37c8a78
2 changed files with 3 additions and 3 deletions

View File

@ -36,8 +36,6 @@ PackageProject() {
exit -1
fi
local pub_path="$(which pub)"
AssertExists $1
local project_path=$1
@ -61,7 +59,7 @@ PackageProject() {
# containing the pubspec
RunCommand pushd ${project_path}
RunCommand ${pub_path} run sky_tools build \
RunCommand ${FLUTTER_PATH}/bin/flutter build \
--asset-base ${icons_path} \
--main ${dart_main} \
--output-file ${derived_dir}/app.flx \

View File

@ -502,6 +502,7 @@
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FLUTTER_APPLICATION_PATH = path/to/application;
FLUTTER_PATH = path/to/flutter/repo;
INFOPLIST_FILE = FlutterApplication/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
@ -521,6 +522,7 @@
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FLUTTER_APPLICATION_PATH = path/to/application;
FLUTTER_PATH = path/to/flutter/repo;
INFOPLIST_FILE = FlutterApplication/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;