Skip to content

Commit

Permalink
update iOS project and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin committed Nov 8, 2023
1 parent 5ca30eb commit fbced85
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions catalyst_voices/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 362TXNZD27;
ENABLE_BITCODE = NO;
FLAVOR_APP_NAME = CUP;
FLAVOR_APP_NAME = Voices;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -631,7 +631,7 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 362TXNZD27;
ENABLE_BITCODE = NO;
FLAVOR_APP_NAME = CUP;
FLAVOR_APP_NAME = Voices;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -659,7 +659,7 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 362TXNZD27;
ENABLE_BITCODE = NO;
FLAVOR_APP_NAME = CUP;
FLAVOR_APP_NAME = Voices;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -1399,7 +1399,7 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 362TXNZD27;
ENABLE_BITCODE = NO;
FLAVOR_APP_NAME = "[DEV] CUP";
FLAVOR_APP_NAME = "[DEV] Voices";
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -1480,7 +1480,7 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 362TXNZD27;
ENABLE_BITCODE = NO;
FLAVOR_APP_NAME = "[DEV] CUP";
FLAVOR_APP_NAME = "[DEV] Voices";
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -1558,7 +1558,7 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 362TXNZD27;
ENABLE_BITCODE = NO;
FLAVOR_APP_NAME = "[DEV] CUP";
FLAVOR_APP_NAME = "[DEV] Voices";
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -1641,7 +1641,7 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 362TXNZD27;
ENABLE_BITCODE = NO;
FLAVOR_APP_NAME = "[STG] CUP";
FLAVOR_APP_NAME = "[STG] Voices";
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -1722,7 +1722,7 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 362TXNZD27;
ENABLE_BITCODE = NO;
FLAVOR_APP_NAME = "[STG] CUP";
FLAVOR_APP_NAME = "[STG] Voices";
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -1800,7 +1800,7 @@
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 362TXNZD27;
ENABLE_BITCODE = NO;
FLAVOR_APP_NAME = "[STG] CUP";
FLAVOR_APP_NAME = "[STG] Voices";
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down
8 changes: 4 additions & 4 deletions scripts/flutter_ios_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ output="../build/ios_integ"
product="build/ios_integ/Build/Products"

pushd catalyst_voices
flutter build ios integration_test/main.dart --debug --flavor development --simulator
flutter build ios integration_test/main.dart --release --flavor development

pushd ios
xcodebuild build-for-testing \
-workspace Runner.xcworkspace \
-scheme development \
-xcconfig Flutter/Release.xcconfig \
-configuration Debug-development \
-configuration Release-development \
-sdk iphoneos \
-derivedDataPath \
$output
popd

# Varify test build
## Verify test build locally before pushing to google cloud.
# xcodebuild test-without-building \
# -xctestrun "../catalyst_voices/build/ios_integ/Build/Products/development_iphoneos17.0-arm64.xctestrun" \
# -destination id=700CAA18-787E-4831-B4D7-6B8E32485304
# -destination id=00008120-001934493663C01E

pushd $product
zip -r "ios_tests.zip" "Release-iphoneos" "development_iphoneos17.0-arm64.xctestrun"
Expand Down

0 comments on commit fbced85

Please sign in to comment.