Browse Source

iOS config ,i18n

Caijinglong 4 years ago
parent
commit
99f563dfc5

+ 13
- 8
example/ios/Runner.xcodeproj/project.pbxproj View File

40
 /* Begin PBXFileReference section */
40
 /* Begin PBXFileReference section */
41
 		1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
41
 		1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
42
 		1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
42
 		1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
43
+		223FFDA7243467D600A654DC /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Main.strings"; sourceTree = "<group>"; };
44
+		223FFDA8243467D600A654DC /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = "<group>"; };
43
 		3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
45
 		3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
44
 		3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = "<group>"; };
46
 		3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = "<group>"; };
45
 		7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
47
 		7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
48
 		9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
50
 		9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
49
 		9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
51
 		9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
50
 		9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = "<group>"; };
52
 		9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = "<group>"; };
51
-		97C146EE1CF9000F007C117D /* photo_example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = photo_example.app; sourceTree = BUILT_PRODUCTS_DIR; };
53
+		97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
52
 		97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
54
 		97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
53
 		97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
55
 		97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
54
 		97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
56
 		97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
109
 		97C146EF1CF9000F007C117D /* Products */ = {
111
 		97C146EF1CF9000F007C117D /* Products */ = {
110
 			isa = PBXGroup;
112
 			isa = PBXGroup;
111
 			children = (
113
 			children = (
112
-				97C146EE1CF9000F007C117D /* photo_example.app */,
114
+				97C146EE1CF9000F007C117D /* Runner.app */,
113
 			);
115
 			);
114
 			name = Products;
116
 			name = Products;
115
 			sourceTree = "<group>";
117
 			sourceTree = "<group>";
168
 			);
170
 			);
169
 			name = Runner;
171
 			name = Runner;
170
 			productName = Runner;
172
 			productName = Runner;
171
-			productReference = 97C146EE1CF9000F007C117D /* photo_example.app */;
173
+			productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
172
 			productType = "com.apple.product-type.application";
174
 			productType = "com.apple.product-type.application";
173
 		};
175
 		};
174
 /* End PBXNativeTarget section */
176
 /* End PBXNativeTarget section */
182
 				TargetAttributes = {
184
 				TargetAttributes = {
183
 					97C146ED1CF9000F007C117D = {
185
 					97C146ED1CF9000F007C117D = {
184
 						CreatedOnToolsVersion = 7.3.1;
186
 						CreatedOnToolsVersion = 7.3.1;
185
-						DevelopmentTeam = 344756CAN4;
187
+						DevelopmentTeam = S5GU4EMC47;
186
 					};
188
 					};
187
 				};
189
 				};
188
 			};
190
 			};
194
 				English,
196
 				English,
195
 				en,
197
 				en,
196
 				Base,
198
 				Base,
199
+				"zh-Hans",
197
 			);
200
 			);
198
 			mainGroup = 97C146E51CF9000F007C117D;
201
 			mainGroup = 97C146E51CF9000F007C117D;
199
 			productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
202
 			productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
306
 			isa = PBXVariantGroup;
309
 			isa = PBXVariantGroup;
307
 			children = (
310
 			children = (
308
 				97C146FB1CF9000F007C117D /* Base */,
311
 				97C146FB1CF9000F007C117D /* Base */,
312
+				223FFDA7243467D600A654DC /* zh-Hans */,
309
 			);
313
 			);
310
 			name = Main.storyboard;
314
 			name = Main.storyboard;
311
 			sourceTree = "<group>";
315
 			sourceTree = "<group>";
314
 			isa = PBXVariantGroup;
318
 			isa = PBXVariantGroup;
315
 			children = (
319
 			children = (
316
 				97C147001CF9000F007C117D /* Base */,
320
 				97C147001CF9000F007C117D /* Base */,
321
+				223FFDA8243467D600A654DC /* zh-Hans */,
317
 			);
322
 			);
318
 			name = LaunchScreen.storyboard;
323
 			name = LaunchScreen.storyboard;
319
 			sourceTree = "<group>";
324
 			sourceTree = "<group>";
429
 			buildSettings = {
434
 			buildSettings = {
430
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
435
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
431
 				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
436
 				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
432
-				DEVELOPMENT_TEAM = 344756CAN4;
437
+				DEVELOPMENT_TEAM = S5GU4EMC47;
433
 				ENABLE_BITCODE = NO;
438
 				ENABLE_BITCODE = NO;
434
 				FRAMEWORK_SEARCH_PATHS = (
439
 				FRAMEWORK_SEARCH_PATHS = (
435
 					"$(inherited)",
440
 					"$(inherited)",
442
 					"$(PROJECT_DIR)/Flutter",
447
 					"$(PROJECT_DIR)/Flutter",
443
 				);
448
 				);
444
 				PRODUCT_BUNDLE_IDENTIFIER = top.kikt.photo.manager;
449
 				PRODUCT_BUNDLE_IDENTIFIER = top.kikt.photo.manager;
445
-				PRODUCT_NAME = photo_example;
450
+				PRODUCT_NAME = Runner;
446
 				VERSIONING_SYSTEM = "apple-generic";
451
 				VERSIONING_SYSTEM = "apple-generic";
447
 			};
452
 			};
448
 			name = Debug;
453
 			name = Debug;
453
 			buildSettings = {
458
 			buildSettings = {
454
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
459
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
455
 				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
460
 				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
456
-				DEVELOPMENT_TEAM = 344756CAN4;
461
+				DEVELOPMENT_TEAM = S5GU4EMC47;
457
 				ENABLE_BITCODE = NO;
462
 				ENABLE_BITCODE = NO;
458
 				FRAMEWORK_SEARCH_PATHS = (
463
 				FRAMEWORK_SEARCH_PATHS = (
459
 					"$(inherited)",
464
 					"$(inherited)",
466
 					"$(PROJECT_DIR)/Flutter",
471
 					"$(PROJECT_DIR)/Flutter",
467
 				);
472
 				);
468
 				PRODUCT_BUNDLE_IDENTIFIER = top.kikt.photo.manager;
473
 				PRODUCT_BUNDLE_IDENTIFIER = top.kikt.photo.manager;
469
-				PRODUCT_NAME = photo_example;
474
+				PRODUCT_NAME = Runner;
470
 				VERSIONING_SYSTEM = "apple-generic";
475
 				VERSIONING_SYSTEM = "apple-generic";
471
 			};
476
 			};
472
 			name = Release;
477
 			name = Release;

+ 2
- 8
example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme View File

26
       buildConfiguration = "Debug"
26
       buildConfiguration = "Debug"
27
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
-      language = ""
30
       shouldUseLaunchSchemeArgsEnv = "YES">
29
       shouldUseLaunchSchemeArgsEnv = "YES">
31
-      <Testables>
32
-      </Testables>
33
       <MacroExpansion>
30
       <MacroExpansion>
34
          <BuildableReference
31
          <BuildableReference
35
             BuildableIdentifier = "primary"
32
             BuildableIdentifier = "primary"
39
             ReferencedContainer = "container:Runner.xcodeproj">
36
             ReferencedContainer = "container:Runner.xcodeproj">
40
          </BuildableReference>
37
          </BuildableReference>
41
       </MacroExpansion>
38
       </MacroExpansion>
42
-      <AdditionalOptions>
43
-      </AdditionalOptions>
39
+      <Testables>
40
+      </Testables>
44
    </TestAction>
41
    </TestAction>
45
    <LaunchAction
42
    <LaunchAction
46
       buildConfiguration = "Debug"
43
       buildConfiguration = "Debug"
47
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
44
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
48
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
45
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
49
-      language = ""
50
       launchStyle = "0"
46
       launchStyle = "0"
51
       useCustomWorkingDirectory = "NO"
47
       useCustomWorkingDirectory = "NO"
52
       ignoresPersistentStateOnLaunch = "NO"
48
       ignoresPersistentStateOnLaunch = "NO"
63
             ReferencedContainer = "container:Runner.xcodeproj">
59
             ReferencedContainer = "container:Runner.xcodeproj">
64
          </BuildableReference>
60
          </BuildableReference>
65
       </BuildableProductRunnable>
61
       </BuildableProductRunnable>
66
-      <AdditionalOptions>
67
-      </AdditionalOptions>
68
    </LaunchAction>
62
    </LaunchAction>
69
    <ProfileAction
63
    <ProfileAction
70
       buildConfiguration = "Release"
64
       buildConfiguration = "Release"

+ 1
- 1
example/ios/Runner/Info.plist View File

11
 	<key>CFBundleInfoDictionaryVersion</key>
11
 	<key>CFBundleInfoDictionaryVersion</key>
12
 	<string>6.0</string>
12
 	<string>6.0</string>
13
 	<key>CFBundleName</key>
13
 	<key>CFBundleName</key>
14
-	<string>example</string>
14
+	<string>PhotoExample</string>
15
 	<key>CFBundlePackageType</key>
15
 	<key>CFBundlePackageType</key>
16
 	<string>APPL</string>
16
 	<string>APPL</string>
17
 	<key>CFBundleShortVersionString</key>
17
 	<key>CFBundleShortVersionString</key>

+ 1
- 0
example/ios/Runner/zh-Hans.lproj/LaunchScreen.strings View File

1
+

+ 1
- 0
example/ios/Runner/zh-Hans.lproj/Main.strings View File

1
+