Skip to content

Commit c09b443

Browse files
committed
Regenerate Example Build Files iOS Target 14
1 parent 1ce6d75 commit c09b443

File tree

18 files changed

+622
-239
lines changed

18 files changed

+622
-239
lines changed

example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>11.0</string>
24+
<string>12.0</string>
2525
</dict>
2626
</plist>

example/ios/Podfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '11.0'
2+
# platform :ios, '14'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -32,6 +32,9 @@ target 'Runner' do
3232
use_modular_headers!
3333

3434
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35+
target 'RunnerTests' do
36+
inherit! :search_paths
37+
end
3538
end
3639

3740
post_install do |installer|

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 222 additions & 45 deletions
Large diffs are not rendered by default.

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1300"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -37,6 +37,17 @@
3737
</BuildableReference>
3838
</MacroExpansion>
3939
<Testables>
40+
<TestableReference
41+
skipped = "NO"
42+
parallelizable = "YES">
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "331C8080294A63A400263BE5"
46+
BuildableName = "RunnerTests.xctest"
47+
BlueprintName = "RunnerTests"
48+
ReferencedContainer = "container:Runner.xcodeproj">
49+
</BuildableReference>
50+
</TestableReference>
4051
</Testables>
4152
</TestAction>
4253
<LaunchAction

example/ios/Runner/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import UIKit
21
import Flutter
2+
import UIKit
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,
Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,122 @@
11
{
2-
"images": [
2+
"images" : [
33
{
4-
"size": "20x20",
5-
"idiom": "iphone",
6-
"filename": "Icon-App-20x20@2x.png",
7-
"scale": "2x"
4+
"size" : "20x20",
5+
"idiom" : "iphone",
6+
"filename" : "Icon-App-20x20@2x.png",
7+
"scale" : "2x"
88
},
99
{
10-
"size": "20x20",
11-
"idiom": "iphone",
12-
"filename": "Icon-App-20x20@3x.png",
13-
"scale": "3x"
10+
"size" : "20x20",
11+
"idiom" : "iphone",
12+
"filename" : "Icon-App-20x20@3x.png",
13+
"scale" : "3x"
1414
},
1515
{
16-
"size": "29x29",
17-
"idiom": "iphone",
18-
"filename": "Icon-App-29x29@1x.png",
19-
"scale": "1x"
16+
"size" : "29x29",
17+
"idiom" : "iphone",
18+
"filename" : "Icon-App-29x29@1x.png",
19+
"scale" : "1x"
2020
},
2121
{
22-
"size": "29x29",
23-
"idiom": "iphone",
24-
"filename": "Icon-App-29x29@2x.png",
25-
"scale": "2x"
22+
"size" : "29x29",
23+
"idiom" : "iphone",
24+
"filename" : "Icon-App-29x29@2x.png",
25+
"scale" : "2x"
2626
},
2727
{
28-
"size": "29x29",
29-
"idiom": "iphone",
30-
"filename": "Icon-App-29x29@3x.png",
31-
"scale": "3x"
28+
"size" : "29x29",
29+
"idiom" : "iphone",
30+
"filename" : "Icon-App-29x29@3x.png",
31+
"scale" : "3x"
3232
},
3333
{
34-
"size": "40x40",
35-
"idiom": "iphone",
36-
"filename": "Icon-App-40x40@2x.png",
37-
"scale": "2x"
34+
"size" : "40x40",
35+
"idiom" : "iphone",
36+
"filename" : "Icon-App-40x40@2x.png",
37+
"scale" : "2x"
3838
},
3939
{
40-
"size": "40x40",
41-
"idiom": "iphone",
42-
"filename": "Icon-App-40x40@3x.png",
43-
"scale": "3x"
40+
"size" : "40x40",
41+
"idiom" : "iphone",
42+
"filename" : "Icon-App-40x40@3x.png",
43+
"scale" : "3x"
4444
},
4545
{
46-
"size": "60x60",
47-
"idiom": "iphone",
48-
"filename": "Icon-App-60x60@2x.png",
49-
"scale": "2x"
46+
"size" : "60x60",
47+
"idiom" : "iphone",
48+
"filename" : "Icon-App-60x60@2x.png",
49+
"scale" : "2x"
5050
},
5151
{
52-
"size": "60x60",
53-
"idiom": "iphone",
54-
"filename": "Icon-App-60x60@3x.png",
55-
"scale": "3x"
52+
"size" : "60x60",
53+
"idiom" : "iphone",
54+
"filename" : "Icon-App-60x60@3x.png",
55+
"scale" : "3x"
5656
},
5757
{
58-
"size": "20x20",
59-
"idiom": "ipad",
60-
"filename": "Icon-App-20x20@1x.png",
61-
"scale": "1x"
58+
"size" : "20x20",
59+
"idiom" : "ipad",
60+
"filename" : "Icon-App-20x20@1x.png",
61+
"scale" : "1x"
6262
},
6363
{
64-
"size": "20x20",
65-
"idiom": "ipad",
66-
"filename": "Icon-App-20x20@2x.png",
67-
"scale": "2x"
64+
"size" : "20x20",
65+
"idiom" : "ipad",
66+
"filename" : "Icon-App-20x20@2x.png",
67+
"scale" : "2x"
6868
},
6969
{
70-
"size": "29x29",
71-
"idiom": "ipad",
72-
"filename": "Icon-App-29x29@1x.png",
73-
"scale": "1x"
70+
"size" : "29x29",
71+
"idiom" : "ipad",
72+
"filename" : "Icon-App-29x29@1x.png",
73+
"scale" : "1x"
7474
},
7575
{
76-
"size": "29x29",
77-
"idiom": "ipad",
78-
"filename": "Icon-App-29x29@2x.png",
79-
"scale": "2x"
76+
"size" : "29x29",
77+
"idiom" : "ipad",
78+
"filename" : "Icon-App-29x29@2x.png",
79+
"scale" : "2x"
8080
},
8181
{
82-
"size": "40x40",
83-
"idiom": "ipad",
84-
"filename": "Icon-App-40x40@1x.png",
85-
"scale": "1x"
82+
"size" : "40x40",
83+
"idiom" : "ipad",
84+
"filename" : "Icon-App-40x40@1x.png",
85+
"scale" : "1x"
8686
},
8787
{
88-
"size": "40x40",
89-
"idiom": "ipad",
90-
"filename": "Icon-App-40x40@2x.png",
91-
"scale": "2x"
88+
"size" : "40x40",
89+
"idiom" : "ipad",
90+
"filename" : "Icon-App-40x40@2x.png",
91+
"scale" : "2x"
9292
},
9393
{
94-
"size": "76x76",
95-
"idiom": "ipad",
96-
"filename": "Icon-App-76x76@1x.png",
97-
"scale": "1x"
94+
"size" : "76x76",
95+
"idiom" : "ipad",
96+
"filename" : "Icon-App-76x76@1x.png",
97+
"scale" : "1x"
9898
},
9999
{
100-
"size": "76x76",
101-
"idiom": "ipad",
102-
"filename": "Icon-App-76x76@2x.png",
103-
"scale": "2x"
100+
"size" : "76x76",
101+
"idiom" : "ipad",
102+
"filename" : "Icon-App-76x76@2x.png",
103+
"scale" : "2x"
104104
},
105105
{
106-
"size": "83.5x83.5",
107-
"idiom": "ipad",
108-
"filename": "Icon-App-83.5x83.5@2x.png",
109-
"scale": "2x"
106+
"size" : "83.5x83.5",
107+
"idiom" : "ipad",
108+
"filename" : "Icon-App-83.5x83.5@2x.png",
109+
"scale" : "2x"
110110
},
111111
{
112-
"size": "1024x1024",
113-
"idiom": "ios-marketing",
114-
"filename": "Icon-App-1024x1024@1x.png",
115-
"scale": "1x"
112+
"size" : "1024x1024",
113+
"idiom" : "ios-marketing",
114+
"filename" : "Icon-App-1024x1024@1x.png",
115+
"scale" : "1x"
116116
}
117117
],
118-
"info": {
119-
"version": 1,
120-
"author": "xcode"
118+
"info" : {
119+
"version" : 1,
120+
"author" : "xcode"
121121
}
122122
}
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"images": [
2+
"images" : [
33
{
4-
"idiom": "universal",
5-
"filename": "LaunchImage.png",
6-
"scale": "1x"
4+
"idiom" : "universal",
5+
"filename" : "LaunchImage.png",
6+
"scale" : "1x"
77
},
88
{
9-
"idiom": "universal",
10-
"filename": "LaunchImage@2x.png",
11-
"scale": "2x"
9+
"idiom" : "universal",
10+
"filename" : "LaunchImage@2x.png",
11+
"scale" : "2x"
1212
},
1313
{
14-
"idiom": "universal",
15-
"filename": "LaunchImage@3x.png",
16-
"scale": "3x"
14+
"idiom" : "universal",
15+
"filename" : "LaunchImage@3x.png",
16+
"scale" : "3x"
1717
}
1818
],
19-
"info": {
20-
"version": 1,
21-
"author": "xcode"
19+
"info" : {
20+
"version" : 1,
21+
"author" : "xcode"
2222
}
2323
}

example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22

33
You can customize the launch screen with your own desired assets by replacing the image files in this directory.
44

5-
You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting
6-
`Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
5+
You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.

example/ios/Runner/Info.plist

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>CADisableMinimumFrameDurationOnPhone</key>
6-
<true/>
75
<key>CFBundleDevelopmentRegion</key>
86
<string>$(DEVELOPMENT_LANGUAGE)</string>
97
<key>CFBundleDisplayName</key>
@@ -26,8 +24,6 @@
2624
<string>$(FLUTTER_BUILD_NUMBER)</string>
2725
<key>LSRequiresIPhoneOS</key>
2826
<true/>
29-
<key>UIApplicationSupportsIndirectInputEvents</key>
30-
<true/>
3127
<key>UILaunchStoryboardName</key>
3228
<string>LaunchScreen</string>
3329
<key>UIMainStoryboardFile</key>
@@ -45,7 +41,9 @@
4541
<string>UIInterfaceOrientationLandscapeLeft</string>
4642
<string>UIInterfaceOrientationLandscapeRight</string>
4743
</array>
48-
<key>UIViewControllerBasedStatusBarAppearance</key>
49-
<false/>
44+
<key>CADisableMinimumFrameDurationOnPhone</key>
45+
<true/>
46+
<key>UIApplicationSupportsIndirectInputEvents</key>
47+
<true/>
5048
</dict>
5149
</plist>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import Flutter
2+
import UIKit
3+
import XCTest
4+
5+
class RunnerTests: XCTestCase {
6+
7+
func testExample() {
8+
// If you add code to the Runner application, consider adding tests here.
9+
// See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10+
}
11+
12+
}

0 commit comments

Comments
 (0)