Skip to content

Commit 7162d31

Browse files
committed
🔧 Update iOS example configurations
1 parent 458ce3c commit 7162d31

File tree

4 files changed

+76
-4
lines changed

4 files changed

+76
-4
lines changed

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 68 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
0A0E89E1223357E5C8DF60A9 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3D89E84167F0EF469C20425C /* Pods_Runner.framework */; };
1011
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
1112
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1213
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
@@ -31,24 +32,29 @@
3132
/* Begin PBXFileReference section */
3233
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
3334
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
35+
180763EBD166204634D65430 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
3436
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
37+
3D89E84167F0EF469C20425C /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
3538
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
3639
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
3740
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
41+
86785547D2CA1390AA68C185 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
3842
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
3943
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
4044
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
4145
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
4246
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4347
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
4448
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
49+
FF4130927988AA89C13011AF /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
4550
/* End PBXFileReference section */
4651

4752
/* Begin PBXFrameworksBuildPhase section */
4853
97C146EB1CF9000F007C117D /* Frameworks */ = {
4954
isa = PBXFrameworksBuildPhase;
5055
buildActionMask = 2147483647;
5156
files = (
57+
0A0E89E1223357E5C8DF60A9 /* Pods_Runner.framework in Frameworks */,
5258
);
5359
runOnlyForDeploymentPostprocessing = 0;
5460
};
@@ -72,6 +78,8 @@
7278
9740EEB11CF90186004384FC /* Flutter */,
7379
97C146F01CF9000F007C117D /* Runner */,
7480
97C146EF1CF9000F007C117D /* Products */,
81+
AD82BCD6598FE589D9EE5885 /* Pods */,
82+
C500A9C842C2026CDD7B2B42 /* Frameworks */,
7583
);
7684
sourceTree = "<group>";
7785
};
@@ -106,19 +114,40 @@
106114
name = "Supporting Files";
107115
sourceTree = "<group>";
108116
};
117+
AD82BCD6598FE589D9EE5885 /* Pods */ = {
118+
isa = PBXGroup;
119+
children = (
120+
86785547D2CA1390AA68C185 /* Pods-Runner.debug.xcconfig */,
121+
FF4130927988AA89C13011AF /* Pods-Runner.release.xcconfig */,
122+
180763EBD166204634D65430 /* Pods-Runner.profile.xcconfig */,
123+
);
124+
name = Pods;
125+
path = Pods;
126+
sourceTree = "<group>";
127+
};
128+
C500A9C842C2026CDD7B2B42 /* Frameworks */ = {
129+
isa = PBXGroup;
130+
children = (
131+
3D89E84167F0EF469C20425C /* Pods_Runner.framework */,
132+
);
133+
name = Frameworks;
134+
sourceTree = "<group>";
135+
};
109136
/* End PBXGroup section */
110137

111138
/* Begin PBXNativeTarget section */
112139
97C146ED1CF9000F007C117D /* Runner */ = {
113140
isa = PBXNativeTarget;
114141
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
115142
buildPhases = (
143+
C187617FADA857B8B546364C /* [CP] Check Pods Manifest.lock */,
116144
9740EEB61CF901F6004384FC /* Run Script */,
117145
97C146EA1CF9000F007C117D /* Sources */,
118146
97C146EB1CF9000F007C117D /* Frameworks */,
119147
97C146EC1CF9000F007C117D /* Resources */,
120148
9705A1C41CF9048500538489 /* Embed Frameworks */,
121149
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
150+
187C2E5DFF21C7CEB3EB430D /* [CP] Embed Pods Frameworks */,
122151
);
123152
buildRules = (
124153
);
@@ -177,6 +206,23 @@
177206
/* End PBXResourcesBuildPhase section */
178207

179208
/* Begin PBXShellScriptBuildPhase section */
209+
187C2E5DFF21C7CEB3EB430D /* [CP] Embed Pods Frameworks */ = {
210+
isa = PBXShellScriptBuildPhase;
211+
buildActionMask = 2147483647;
212+
files = (
213+
);
214+
inputFileListPaths = (
215+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
216+
);
217+
name = "[CP] Embed Pods Frameworks";
218+
outputFileListPaths = (
219+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
220+
);
221+
runOnlyForDeploymentPostprocessing = 0;
222+
shellPath = /bin/sh;
223+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
224+
showEnvVarsInLog = 0;
225+
};
180226
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
181227
isa = PBXShellScriptBuildPhase;
182228
buildActionMask = 2147483647;
@@ -205,6 +251,28 @@
205251
shellPath = /bin/sh;
206252
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
207253
};
254+
C187617FADA857B8B546364C /* [CP] Check Pods Manifest.lock */ = {
255+
isa = PBXShellScriptBuildPhase;
256+
buildActionMask = 2147483647;
257+
files = (
258+
);
259+
inputFileListPaths = (
260+
);
261+
inputPaths = (
262+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
263+
"${PODS_ROOT}/Manifest.lock",
264+
);
265+
name = "[CP] Check Pods Manifest.lock";
266+
outputFileListPaths = (
267+
);
268+
outputPaths = (
269+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
270+
);
271+
runOnlyForDeploymentPostprocessing = 0;
272+
shellPath = /bin/sh;
273+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
274+
showEnvVarsInLog = 0;
275+
};
208276
/* End PBXShellScriptBuildPhase section */
209277

210278
/* Begin PBXSourcesBuildPhase section */
@@ -241,7 +309,6 @@
241309
/* Begin XCBuildConfiguration section */
242310
249021D3217E4FDB00AE95B9 /* Profile */ = {
243311
isa = XCBuildConfiguration;
244-
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
245312
buildSettings = {
246313
ALWAYS_SEARCH_USER_PATHS = NO;
247314
CLANG_ANALYZER_NONNULL = YES;
@@ -318,7 +385,6 @@
318385
};
319386
97C147031CF9000F007C117D /* Debug */ = {
320387
isa = XCBuildConfiguration;
321-
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
322388
buildSettings = {
323389
ALWAYS_SEARCH_USER_PATHS = NO;
324390
CLANG_ANALYZER_NONNULL = YES;
@@ -374,7 +440,6 @@
374440
};
375441
97C147041CF9000F007C117D /* Release */ = {
376442
isa = XCBuildConfiguration;
377-
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
378443
buildSettings = {
379444
ALWAYS_SEARCH_USER_PATHS = NO;
380445
CLANG_ANALYZER_NONNULL = YES;

example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/ios/Runner.xcworkspace/contents.xcworkspacedata

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

example/ios/Runner/Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<string>$(FLUTTER_BUILD_NUMBER)</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
25+
<key>NSCameraUsageDescription</key>
26+
<string>Take a photo for display</string>
27+
<key>NSMicrophoneUsageDescription</key>
28+
<string>Take a video for display</string>
2529
<key>UILaunchStoryboardName</key>
2630
<string>LaunchScreen</string>
2731
<key>UIMainStoryboardFile</key>

0 commit comments

Comments
 (0)