Skip to content

Commit

Permalink
Add step for building the app
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Dec 6, 2023
1 parent 339f167 commit 38138d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/actions/smoke-tests-darwin/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Run iOS/macOS smoke tests
description: Execute the smoke test suite on iOS/macOS

s
inputs:
platform:
description: Either iOS or macOS
Expand All @@ -19,6 +19,10 @@ runs:
run: echo "platform=$(echo ${{ inputs.platform }} | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
shell: bash

- name: Build ${{ inputs.platform }} app
run: flutter build ${{ steps.lowercase-platform.outputs.platform }} --debug
shell: bash

- name: Disable iOS hardware keyboard
if: ${{ inputs.platform == 'iOS' }}
run: defaults write com.apple.iphonesimulator ConnectHardwareKeyboard 0
Expand Down
6 changes: 4 additions & 2 deletions sample/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1340;
LastUpgradeCheck = 1300;
LastUpgradeCheck = 1430;
ORGANIZATIONNAME = "";
TargetAttributes = {
5C84DBD72879193000E317DB = {
Expand Down Expand Up @@ -265,6 +265,7 @@
files = (
);
inputPaths = (
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
);
name = "Thin Binary";
outputPaths = (
Expand Down Expand Up @@ -638,7 +639,8 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Manual;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO;
Expand Down

0 comments on commit 38138d5

Please sign in to comment.