Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
6a3ea7eb
Unverified
Commit
6a3ea7eb
authored
Nov 24, 2021
by
Jenn Magder
Committed by
GitHub
Nov 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Xcode toolsVersion encoded in generated Main.storyboard (#94084)
parent
07cba167
Changes
30
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
220 additions
and
56 deletions
+220
-56
Main.storyboard
...arks/complex_layout/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...rks/macrobenchmarks/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...rks/microbenchmarks/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...atform_views_layout/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
..._hybrid_composition/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...ks/test_apps/stocks/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...tion_tests/channels/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...n_tests/external_ui/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...ation_tests/flavors/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...sts/flutter_gallery/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...app_with_extensions/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...platform_view_tests/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
..._tests/non_nullable/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...latform_interaction/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
.../release_smoke_test/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...ntegration_tests/ui/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
dev/manual_tests/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
examples/api/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
examples/hello_world/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
examples/image_list/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
examples/layers/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...es/platform_channel/ios/Runner/Base.lproj/Main.storyboard
+2
-2
Main.storyboard
...tform_channel_swift/ios/Runner/Base.lproj/Main.storyboard
+2
-2
mac.dart
packages/flutter_tools/lib/src/ios/mac.dart
+2
-0
storyboard_version_migration.dart
.../lib/src/ios/migrations/storyboard_version_migration.dart
+63
-0
xcode_project.dart
packages/flutter_tools/lib/src/xcode_project.dart
+5
-0
Main.storyboard
...tes/app_shared/ios.tmpl/Runner/Base.lproj/Main.storyboard
+5
-4
Main.storyboard
...host_app_ephemeral/Runner.tmpl/Base.lproj/Main.storyboard
+5
-4
ios_project_migration_test.dart
...ls/test/general.shard/ios/ios_project_migration_test.dart
+92
-0
Main.storyboard
...ration_test/example/ios/Runner/Base.lproj/Main.storyboard
+2
-2
No files found.
dev/benchmarks/complex_layout/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/benchmarks/macrobenchmarks/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/benchmarks/microbenchmarks/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/benchmarks/platform_views_layout/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/benchmarks/test_apps/stocks/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/integration_tests/channels/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/integration_tests/external_ui/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/integration_tests/flavors/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/integration_tests/flutter_gallery/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/integration_tests/ios_app_with_extensions/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/integration_tests/ios_platform_view_tests/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/integration_tests/non_nullable/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/integration_tests/platform_interaction/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
2121"
systemVersion=
"16G29"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
colorMatched=
"YES"
initialViewController=
"hIq-15-ITu
"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
initialViewController=
"BYZ-38-t0r
"
>
<device
id=
"retina4_7"
orientation=
"portrait"
>
<device
id=
"retina4_7"
orientation=
"portrait"
>
<adaptation
id=
"fullscreen"
/>
<adaptation
id=
"fullscreen"
/>
</device>
</device>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
2089
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
...
...
dev/integration_tests/release_smoke_test/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/integration_tests/ui/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
dev/manual_tests/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
examples/api/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
examples/hello_world/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
examples/image_list/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
examples/layers/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
examples/platform_channel/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
examples/platform_channel_swift/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
packages/flutter_tools/lib/src/ios/mac.dart
View file @
6a3ea7eb
...
@@ -29,6 +29,7 @@ import 'migrations/project_base_configuration_migration.dart';
...
@@ -29,6 +29,7 @@ import 'migrations/project_base_configuration_migration.dart';
import
'migrations/project_build_location_migration.dart'
;
import
'migrations/project_build_location_migration.dart'
;
import
'migrations/project_object_version_migration.dart'
;
import
'migrations/project_object_version_migration.dart'
;
import
'migrations/remove_framework_link_and_embedding_migration.dart'
;
import
'migrations/remove_framework_link_and_embedding_migration.dart'
;
import
'migrations/storyboard_version_migration.dart'
;
import
'migrations/xcode_build_system_migration.dart'
;
import
'migrations/xcode_build_system_migration.dart'
;
import
'xcode_build_settings.dart'
;
import
'xcode_build_settings.dart'
;
import
'xcodeproj.dart'
;
import
'xcodeproj.dart'
;
...
@@ -122,6 +123,7 @@ Future<XcodeBuildResult> buildXcodeProject({
...
@@ -122,6 +123,7 @@ Future<XcodeBuildResult> buildXcodeProject({
ProjectBuildLocationMigration
(
app
.
project
,
globals
.
logger
),
ProjectBuildLocationMigration
(
app
.
project
,
globals
.
logger
),
DeploymentTargetMigration
(
app
.
project
,
globals
.
logger
),
DeploymentTargetMigration
(
app
.
project
,
globals
.
logger
),
ProjectObjectVersionMigration
(
app
.
project
,
globals
.
logger
),
ProjectObjectVersionMigration
(
app
.
project
,
globals
.
logger
),
StoryboardVersionMigration
(
app
.
project
,
globals
.
logger
),
];
];
final
ProjectMigration
migration
=
ProjectMigration
(
migrators
);
final
ProjectMigration
migration
=
ProjectMigration
(
migrators
);
...
...
packages/flutter_tools/lib/src/ios/migrations/storyboard_version_migration.dart
0 → 100644
View file @
6a3ea7eb
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'../../base/file_system.dart'
;
import
'../../base/logger.dart'
;
import
'../../base/project_migrator.dart'
;
import
'../../xcode_project.dart'
;
// Update Main.storyboard tools versions to avoid Xcode UI hang.
class
StoryboardVersionMigration
extends
ProjectMigrator
{
StoryboardVersionMigration
(
IosProject
project
,
Logger
logger
,
)
:
_mainStoryboard
=
project
.
xcodeMainStoryboard
,
super
(
logger
);
final
File
_mainStoryboard
;
@override
bool
migrate
()
{
if
(
_mainStoryboard
.
existsSync
())
{
processFileLines
(
_mainStoryboard
);
}
else
{
logger
.
printTrace
(
'Xcode project main storyboard not found, skipping version migration.'
);
}
return
true
;
}
@override
String
migrateLine
(
String
line
)
{
String
updatedString
=
line
;
final
List
<
String
>
originalDocumentHeaders
=
<
String
>[
// https://github.com/flutter/flutter/commit/5f6e9cb39c
'<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531"'
,
// https://github.com/flutter/flutter/pull/4252
'<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150"'
,
// https://github.com/flutter/flutter/pull/4277
'<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117"'
,
// https://github.com/flutter/flutter/pull/4820
'<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211"'
,
// https://github.com/flutter/flutter/pull/11505
'<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121"'
,
];
if
(
originalDocumentHeaders
.
any
(
line
.
contains
))
{
const
String
mainReplacement
=
'<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">'
;
updatedString
=
mainReplacement
;
logger
.
printStatus
(
'Updating iOS Main.storyboard tools version.'
);
}
// Only update plugIn if the document version also needs to be updated to avoid downgrading version.
const
String
originalPluginFragment
=
'<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin"'
;
if
(
migrationRequired
&&
line
.
contains
(
originalPluginFragment
))
{
const
String
replacementPluginLine
=
' <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>'
;
updatedString
=
replacementPluginLine
;
}
return
updatedString
;
}
}
packages/flutter_tools/lib/src/xcode_project.dart
View file @
6a3ea7eb
...
@@ -132,6 +132,11 @@ class IosProject extends XcodeBasedProject {
...
@@ -132,6 +132,11 @@ class IosProject extends XcodeBasedProject {
File get appFrameworkInfoPlist => _flutterLibRoot.childDirectory('
Flutter
').childFile('
AppFrameworkInfo
.
plist
');
File get appFrameworkInfoPlist => _flutterLibRoot.childDirectory('
Flutter
').childFile('
AppFrameworkInfo
.
plist
');
File get xcodeMainStoryboard => _flutterLibRoot
.childDirectory('
Runner
')
.childDirectory('
Base
.
lproj
')
.childFile('
Main
.
storyboard
');
Directory get symlinks => _flutterLibRoot.childDirectory('
.
symlinks
');
Directory get symlinks => _flutterLibRoot.childDirectory('
.
symlinks
');
/// Do all plugins support arm64 simulators to run natively on an ARM Mac?
/// Do all plugins support arm64 simulators to run natively on an ARM Mac?
...
...
packages/flutter_tools/templates/app_shared/ios.tmpl/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8"
standalone="no"
?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"13104.12"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"10085"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
packages/flutter_tools/templates/module/ios/host_app_ephemeral/Runner.tmpl/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8"
standalone="no"
?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"13104.12"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"10085"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
packages/flutter_tools/test/general.shard/ios/ios_project_migration_test.dart
View file @
6a3ea7eb
...
@@ -11,6 +11,7 @@ import 'package:flutter_tools/src/ios/migrations/project_base_configuration_migr
...
@@ -11,6 +11,7 @@ import 'package:flutter_tools/src/ios/migrations/project_base_configuration_migr
import
'package:flutter_tools/src/ios/migrations/project_build_location_migration.dart'
;
import
'package:flutter_tools/src/ios/migrations/project_build_location_migration.dart'
;
import
'package:flutter_tools/src/ios/migrations/project_object_version_migration.dart'
;
import
'package:flutter_tools/src/ios/migrations/project_object_version_migration.dart'
;
import
'package:flutter_tools/src/ios/migrations/remove_framework_link_and_embedding_migration.dart'
;
import
'package:flutter_tools/src/ios/migrations/remove_framework_link_and_embedding_migration.dart'
;
import
'package:flutter_tools/src/ios/migrations/storyboard_version_migration.dart'
;
import
'package:flutter_tools/src/ios/migrations/xcode_build_system_migration.dart'
;
import
'package:flutter_tools/src/ios/migrations/xcode_build_system_migration.dart'
;
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:flutter_tools/src/reporting/reporting.dart'
;
import
'package:flutter_tools/src/xcode_project.dart'
;
import
'package:flutter_tools/src/xcode_project.dart'
;
...
@@ -708,6 +709,94 @@ keep this 3
...
@@ -708,6 +709,94 @@ keep this 3
expect
(
'Updating project for Xcode compatibility'
.
allMatches
(
testLogger
.
statusText
).
length
,
1
);
expect
(
'Updating project for Xcode compatibility'
.
allMatches
(
testLogger
.
statusText
).
length
,
1
);
});
});
});
});
group
(
'update Main.storyboard tools version'
,
()
{
late
MemoryFileSystem
memoryFileSystem
;
late
BufferLogger
testLogger
;
late
FakeIosProject
project
;
late
File
xcodeMainStoryboard
;
setUp
(()
{
memoryFileSystem
=
MemoryFileSystem
();
testLogger
=
BufferLogger
.
test
();
project
=
FakeIosProject
();
xcodeMainStoryboard
=
memoryFileSystem
.
file
(
'Main.storyboard'
);
project
.
xcodeMainStoryboard
=
xcodeMainStoryboard
;
});
testWithoutContext
(
'skipped if files are missing'
,
()
{
final
StoryboardVersionMigration
iosProjectMigration
=
StoryboardVersionMigration
(
project
,
testLogger
,
);
expect
(
iosProjectMigration
.
migrate
(),
isTrue
);
expect
(
xcodeMainStoryboard
.
existsSync
(),
isFalse
);
expect
(
testLogger
.
traceText
,
contains
(
'Xcode project main storyboard not found, skipping version migration'
));
expect
(
testLogger
.
statusText
,
isEmpty
);
});
testWithoutContext
(
'skipped if nothing to upgrade'
,
()
{
const
String
xcodeMainStoryboardContents
=
'''
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="1400000" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
'''
;
xcodeMainStoryboard
.
writeAsStringSync
(
xcodeMainStoryboardContents
);
final
DateTime
projectLastModified
=
xcodeMainStoryboard
.
lastModifiedSync
();
final
StoryboardVersionMigration
iosProjectMigration
=
StoryboardVersionMigration
(
project
,
testLogger
,
);
expect
(
iosProjectMigration
.
migrate
(),
isTrue
);
expect
(
xcodeMainStoryboard
.
lastModifiedSync
(),
projectLastModified
);
expect
(
xcodeMainStoryboard
.
readAsStringSync
(),
xcodeMainStoryboardContents
);
expect
(
testLogger
.
statusText
,
isEmpty
);
});
testWithoutContext
(
'storyboard is migrated to Xcode 12.3 tools version'
,
()
{
xcodeMainStoryboard
.
writeAsStringSync
(
'''
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
'''
);
final
StoryboardVersionMigration
iosProjectMigration
=
StoryboardVersionMigration
(
project
,
testLogger
,
);
expect
(
iosProjectMigration
.
migrate
(),
isTrue
);
expect
(
xcodeMainStoryboard
.
readAsStringSync
(),
'''
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
</dependencies>
'''
);
expect
(
testLogger
.
statusText
,
contains
(
'Updating iOS Main.storyboard tools version'
));
});
});
});
});
}
}
...
@@ -726,6 +815,9 @@ class FakeIosProject extends Fake implements IosProject {
...
@@ -726,6 +815,9 @@ class FakeIosProject extends Fake implements IosProject {
@override
@override
File
appFrameworkInfoPlist
=
MemoryFileSystem
.
test
().
file
(
'appFrameworkInfoPlist'
);
File
appFrameworkInfoPlist
=
MemoryFileSystem
.
test
().
file
(
'appFrameworkInfoPlist'
);
@override
File
xcodeMainStoryboard
=
MemoryFileSystem
.
test
().
file
(
'xcodeProjectMainStoryboard'
);
}
}
class
FakeIOSMigrator
extends
ProjectMigrator
{
class
FakeIOSMigrator
extends
ProjectMigrator
{
...
...
packages/integration_test/example/ios/Runner/Base.lproj/Main.storyboard
View file @
6a3ea7eb
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
0117"
systemVersion=
"15F34"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1
3122.16"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched
=
"YES"
initialViewController=
"BYZ-38-t0r"
>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
0085
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
3104.12
"
/>
</dependencies>
</dependencies>
<scenes>
<scenes>
<!--Flutter View Controller-->
<!--Flutter View Controller-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment