Skip to content

Commit f75401e

Browse files
committed
fix: pod install
1 parent 49150bb commit f75401e

File tree

4 files changed

+128
-21
lines changed

4 files changed

+128
-21
lines changed

ios/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ source "https://rubygems.org"
33
gem "abbrev"
44
gem "ostruct"
55
gem "pry"
6+
gem "cocoapods"
67
gem "fastlane"

ios/Podfile

Lines changed: 1 addition & 6 deletions
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, '12.0'
2+
platform :ios, '13.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
@@ -40,10 +40,5 @@ end
4040
post_install do |installer|
4141
installer.pods_project.targets.each do |target|
4242
flutter_additional_ios_build_settings(target)
43-
target.build_configurations.each do |config|
44-
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
45-
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
46-
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
47-
end
4843
end
4944
end

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 123 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88

99
/* Begin PBXBuildFile section */
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11+
27D25A55512524A61193EDA0 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE52761F95A9205883E563D3 /* Pods_Runner.framework */; };
12+
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
1113
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1214
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
1315
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
1416
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1517
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
16-
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
18+
A99CA49C23B3E3B56E550173 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 21E98B6904887B28F9394213 /* Pods_RunnerTests.framework */; };
1719
/* End PBXBuildFile section */
1820

1921
/* Begin PBXContainerItemProxy section */
@@ -40,34 +42,68 @@
4042
/* End PBXCopyFilesBuildPhase section */
4143

4244
/* Begin PBXFileReference section */
45+
00452E6603E357FB1EAC36AB /* 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>"; };
4346
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
4447
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
48+
21E98B6904887B28F9394213 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
49+
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
50+
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
4551
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
4652
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
4753
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
4854
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
55+
7DE40410D2B211C152CA1C9A /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
56+
89D6FCE416C8175BF418DA9C /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
4957
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
5058
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
5159
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
5260
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
5361
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5462
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5563
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
56-
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
57-
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
64+
BE52761F95A9205883E563D3 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
65+
D12523B76CB1656CEA478F6C /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
66+
D5E3C5579C18365E351C6DD9 /* 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>"; };
67+
E2680133B705253899091519 /* 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>"; };
5868
/* End PBXFileReference section */
5969

6070
/* Begin PBXFrameworksBuildPhase section */
6171
97C146EB1CF9000F007C117D /* Frameworks */ = {
6272
isa = PBXFrameworksBuildPhase;
6373
buildActionMask = 2147483647;
6474
files = (
75+
27D25A55512524A61193EDA0 /* Pods_Runner.framework in Frameworks */,
76+
);
77+
runOnlyForDeploymentPostprocessing = 0;
78+
};
79+
F54A58222480AC5158D3676B /* Frameworks */ = {
80+
isa = PBXFrameworksBuildPhase;
81+
buildActionMask = 2147483647;
82+
files = (
83+
A99CA49C23B3E3B56E550173 /* Pods_RunnerTests.framework in Frameworks */,
6584
);
6685
runOnlyForDeploymentPostprocessing = 0;
6786
};
6887
/* End PBXFrameworksBuildPhase section */
6988

7089
/* Begin PBXGroup section */
90+
331C8082294A63A400263BE5 /* RunnerTests */ = {
91+
isa = PBXGroup;
92+
children = (
93+
331C807B294A618700263BE5 /* RunnerTests.swift */,
94+
);
95+
path = RunnerTests;
96+
sourceTree = "<group>";
97+
};
98+
88B1823A7F5A13A126416BC3 /* Frameworks */ = {
99+
isa = PBXGroup;
100+
children = (
101+
BE52761F95A9205883E563D3 /* Pods_Runner.framework */,
102+
21E98B6904887B28F9394213 /* Pods_RunnerTests.framework */,
103+
);
104+
name = Frameworks;
105+
sourceTree = "<group>";
106+
};
71107
9740EEB11CF90186004384FC /* Flutter */ = {
72108
isa = PBXGroup;
73109
children = (
@@ -79,21 +115,15 @@
79115
name = Flutter;
80116
sourceTree = "<group>";
81117
};
82-
331C8082294A63A400263BE5 /* RunnerTests */ = {
83-
isa = PBXGroup;
84-
children = (
85-
331C807B294A618700263BE5 /* RunnerTests.swift */,
86-
);
87-
path = RunnerTests;
88-
sourceTree = "<group>";
89-
};
90118
97C146E51CF9000F007C117D = {
91119
isa = PBXGroup;
92120
children = (
93121
9740EEB11CF90186004384FC /* Flutter */,
94122
97C146F01CF9000F007C117D /* Runner */,
95123
97C146EF1CF9000F007C117D /* Products */,
96124
331C8082294A63A400263BE5 /* RunnerTests */,
125+
9B699CA9CACD230806481E92 /* Pods */,
126+
88B1823A7F5A13A126416BC3 /* Frameworks */,
97127
);
98128
sourceTree = "<group>";
99129
};
@@ -121,16 +151,31 @@
121151
path = Runner;
122152
sourceTree = "<group>";
123153
};
154+
9B699CA9CACD230806481E92 /* Pods */ = {
155+
isa = PBXGroup;
156+
children = (
157+
E2680133B705253899091519 /* Pods-Runner.debug.xcconfig */,
158+
D5E3C5579C18365E351C6DD9 /* Pods-Runner.release.xcconfig */,
159+
00452E6603E357FB1EAC36AB /* Pods-Runner.profile.xcconfig */,
160+
7DE40410D2B211C152CA1C9A /* Pods-RunnerTests.debug.xcconfig */,
161+
89D6FCE416C8175BF418DA9C /* Pods-RunnerTests.release.xcconfig */,
162+
D12523B76CB1656CEA478F6C /* Pods-RunnerTests.profile.xcconfig */,
163+
);
164+
name = Pods;
165+
path = Pods;
166+
sourceTree = "<group>";
167+
};
124168
/* End PBXGroup section */
125169

126170
/* Begin PBXNativeTarget section */
127171
331C8080294A63A400263BE5 /* RunnerTests */ = {
128172
isa = PBXNativeTarget;
129173
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
130174
buildPhases = (
175+
C082347D7B76B1498662B35C /* [CP] Check Pods Manifest.lock */,
131176
331C807D294A63A400263BE5 /* Sources */,
132-
331C807E294A63A400263BE5 /* Frameworks */,
133177
331C807F294A63A400263BE5 /* Resources */,
178+
F54A58222480AC5158D3676B /* Frameworks */,
134179
);
135180
buildRules = (
136181
);
@@ -146,12 +191,14 @@
146191
isa = PBXNativeTarget;
147192
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
148193
buildPhases = (
194+
1A52B86032F74A9A2DA70913 /* [CP] Check Pods Manifest.lock */,
149195
9740EEB61CF901F6004384FC /* Run Script */,
150196
97C146EA1CF9000F007C117D /* Sources */,
151197
97C146EB1CF9000F007C117D /* Frameworks */,
152198
97C146EC1CF9000F007C117D /* Resources */,
153199
9705A1C41CF9048500538489 /* Embed Frameworks */,
154200
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
201+
5627AB121A20F2AC45361C5A /* [CP] Embed Pods Frameworks */,
155202
);
156203
buildRules = (
157204
);
@@ -223,6 +270,28 @@
223270
/* End PBXResourcesBuildPhase section */
224271

225272
/* Begin PBXShellScriptBuildPhase section */
273+
1A52B86032F74A9A2DA70913 /* [CP] Check Pods Manifest.lock */ = {
274+
isa = PBXShellScriptBuildPhase;
275+
buildActionMask = 2147483647;
276+
files = (
277+
);
278+
inputFileListPaths = (
279+
);
280+
inputPaths = (
281+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
282+
"${PODS_ROOT}/Manifest.lock",
283+
);
284+
name = "[CP] Check Pods Manifest.lock";
285+
outputFileListPaths = (
286+
);
287+
outputPaths = (
288+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
289+
);
290+
runOnlyForDeploymentPostprocessing = 0;
291+
shellPath = /bin/sh;
292+
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";
293+
showEnvVarsInLog = 0;
294+
};
226295
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
227296
isa = PBXShellScriptBuildPhase;
228297
alwaysOutOfDate = 1;
@@ -239,6 +308,23 @@
239308
shellPath = /bin/sh;
240309
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
241310
};
311+
5627AB121A20F2AC45361C5A /* [CP] Embed Pods Frameworks */ = {
312+
isa = PBXShellScriptBuildPhase;
313+
buildActionMask = 2147483647;
314+
files = (
315+
);
316+
inputFileListPaths = (
317+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
318+
);
319+
name = "[CP] Embed Pods Frameworks";
320+
outputFileListPaths = (
321+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
322+
);
323+
runOnlyForDeploymentPostprocessing = 0;
324+
shellPath = /bin/sh;
325+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
326+
showEnvVarsInLog = 0;
327+
};
242328
9740EEB61CF901F6004384FC /* Run Script */ = {
243329
isa = PBXShellScriptBuildPhase;
244330
alwaysOutOfDate = 1;
@@ -254,6 +340,28 @@
254340
shellPath = /bin/sh;
255341
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
256342
};
343+
C082347D7B76B1498662B35C /* [CP] Check Pods Manifest.lock */ = {
344+
isa = PBXShellScriptBuildPhase;
345+
buildActionMask = 2147483647;
346+
files = (
347+
);
348+
inputFileListPaths = (
349+
);
350+
inputPaths = (
351+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
352+
"${PODS_ROOT}/Manifest.lock",
353+
);
354+
name = "[CP] Check Pods Manifest.lock";
355+
outputFileListPaths = (
356+
);
357+
outputPaths = (
358+
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
359+
);
360+
runOnlyForDeploymentPostprocessing = 0;
361+
shellPath = /bin/sh;
362+
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";
363+
showEnvVarsInLog = 0;
364+
};
257365
/* End PBXShellScriptBuildPhase section */
258366

259367
/* Begin PBXSourcesBuildPhase section */
@@ -377,7 +485,7 @@
377485
};
378486
331C8088294A63A400263BE5 /* Debug */ = {
379487
isa = XCBuildConfiguration;
380-
baseConfigurationReference = AE0B7B92F70575B8D7E0D07E /* Pods-RunnerTests.debug.xcconfig */;
488+
baseConfigurationReference = 7DE40410D2B211C152CA1C9A /* Pods-RunnerTests.debug.xcconfig */;
381489
buildSettings = {
382490
BUNDLE_LOADER = "$(TEST_HOST)";
383491
CODE_SIGN_STYLE = Automatic;
@@ -395,7 +503,7 @@
395503
};
396504
331C8089294A63A400263BE5 /* Release */ = {
397505
isa = XCBuildConfiguration;
398-
baseConfigurationReference = 89B67EB44CE7B6631473024E /* Pods-RunnerTests.release.xcconfig */;
506+
baseConfigurationReference = 89D6FCE416C8175BF418DA9C /* Pods-RunnerTests.release.xcconfig */;
399507
buildSettings = {
400508
BUNDLE_LOADER = "$(TEST_HOST)";
401509
CODE_SIGN_STYLE = Automatic;
@@ -411,7 +519,7 @@
411519
};
412520
331C808A294A63A400263BE5 /* Profile */ = {
413521
isa = XCBuildConfiguration;
414-
baseConfigurationReference = 640959BDD8F10B91D80A66BE /* Pods-RunnerTests.profile.xcconfig */;
522+
baseConfigurationReference = D12523B76CB1656CEA478F6C /* Pods-RunnerTests.profile.xcconfig */;
415523
buildSettings = {
416524
BUNDLE_LOADER = "$(TEST_HOST)";
417525
CODE_SIGN_STYLE = Automatic;

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.

0 commit comments

Comments
 (0)