Skip to content

Commit d679b4e

Browse files
committed
Update homescreen_codelab
1 parent 8f03894 commit d679b4e

34 files changed

Lines changed: 189 additions & 659 deletions

File tree

homescreen_codelab/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build/

homescreen_codelab/codelab_rebuild.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -786,24 +786,9 @@ steps:
786786
<plist version="1.0">
787787
<dict/>
788788
</plist>
789-
- name: Patch ios/Podfile
790-
path: homescreen_widgets/ios/Podfile
791-
patch-u: |
792-
--- a/homescreen_widgets/step_03/ios/Podfile
793-
+++ b/homescreen_widgets/step_03/ios/Podfile
794-
@@ -1,5 +1,5 @@
795-
# Uncomment this line to define a global platform for your project
796-
-# platform :ios, '13.0'
797-
+platform :ios, '15.0'
798-
799-
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
800-
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
801789
- name: Patch ios/Runner.xcodeproj/project.pbxproj
802790
xcode-project-path: homescreen_widgets/ios/Runner.xcodeproj
803791
iphoneos-deployment-target: '15.0'
804-
- name: pod update ios
805-
path: homescreen_widgets/ios
806-
pod: update
807792
- name: Add lib/article_screen.dart
808793
path: homescreen_widgets/lib/article_screen.dart
809794
replace-contents: |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
22
android.useAndroidX=true
3+
# This builtInKotlin flag was added automatically by Flutter migrator
4+
android.builtInKotlin=false
5+
# This newDsl flag was added automatically by Flutter migrator
6+
android.newDsl=false
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
21
#include "Generated.xcconfig"
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
21
#include "Generated.xcconfig"

homescreen_codelab/step_03/ios/Podfile

Lines changed: 0 additions & 43 deletions
This file was deleted.

homescreen_codelab/step_03/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 24 additions & 112 deletions
Large diffs are not rendered by default.

homescreen_codelab/step_03/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@
55
<BuildAction
66
parallelizeBuildables = "YES"
77
buildImplicitDependencies = "YES">
8+
<PreActions>
9+
<ExecutionAction
10+
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
11+
<ActionContent
12+
title = "Run Prepare Flutter Framework Script"
13+
scriptText = "/bin/sh &quot;$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh&quot; prepare&#10;">
14+
<EnvironmentBuildable>
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
18+
BuildableName = "Runner.app"
19+
BlueprintName = "Runner"
20+
ReferencedContainer = "container:Runner.xcodeproj">
21+
</BuildableReference>
22+
</EnvironmentBuildable>
23+
</ActionContent>
24+
</ExecutionAction>
25+
</PreActions>
826
<BuildActionEntries>
927
<BuildActionEntry
1028
buildForTesting = "YES"

homescreen_codelab/step_03/ios/Runner.xcworkspace/contents.xcworkspacedata

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

homescreen_codelab/step_03/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ publish_to: 'none'
44
version: 0.1.0+1
55

66
environment:
7-
sdk: ^3.11.4
7+
sdk: ^3.12.0-0
88

99
dependencies:
1010
cupertino_icons: ^1.0.9

0 commit comments

Comments
 (0)