Skip to content

Commit 793bd15

Browse files
vbuberenclaude
andauthored
ci(package_info_plus): fix macOS/iOS example build with Swift Package Manager (#3986)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 9271753 commit 793bd15

8 files changed

Lines changed: 56 additions & 197 deletions

File tree

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
21
#include "Generated.xcconfig"
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
21
#include "Generated.xcconfig"

‎packages/package_info_plus/package_info_plus/example/ios/Runner.xcodeproj/project.pbxproj‎

Lines changed: 4 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88

99
/* Begin PBXBuildFile section */
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11-
1D1FC330D80BC0290F09A4C8 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 67CB7927F88779948E391CE2 /* Pods_RunnerTests.framework */; };
1211
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
1312
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
14-
3E15AF6DC5E3ED410111828C /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6D1C0531D62A7BE5B3C172E9 /* Pods_Runner.framework */; };
1513
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
1614
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
1715
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
@@ -47,14 +45,7 @@
4745
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
4846
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
4947
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
50-
37063221B03E9E3D923C6FDD /* 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>"; };
5148
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
52-
47C5F1143152266C33779DAE /* 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>"; };
53-
4FBF1DD6F3C99AFE49F50C75 /* 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>"; };
54-
5428FE62D6C0F9D2A7051AD4 /* 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>"; };
55-
6479A0DE5EFF788ED0147251 /* 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-
67CB7927F88779948E391CE2 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
57-
6D1C0531D62A7BE5B3C172E9 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5849
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
5950
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
6051
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
@@ -66,15 +57,15 @@
6657
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
6758
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
6859
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
69-
C948306E8039E3240787227E /* 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>"; };
60+
784666492D4C4C64000A1A5F /* FlutterFramework */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterFramework; path = Flutter/ephemeral/Packages/.packages/FlutterFramework; sourceTree = "<group>"; };
61+
78DABEA22ED26510000E7860 /* package_info_plus */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = package_info_plus; path = ../../ios/package_info_plus; sourceTree = "<group>"; };
7062
/* End PBXFileReference section */
7163

7264
/* Begin PBXFrameworksBuildPhase section */
7365
160C920B6BF423E8F1A1FAE2 /* Frameworks */ = {
7466
isa = PBXFrameworksBuildPhase;
7567
buildActionMask = 2147483647;
7668
files = (
77-
1D1FC330D80BC0290F09A4C8 /* Pods_RunnerTests.framework in Frameworks */,
7869
);
7970
runOnlyForDeploymentPostprocessing = 0;
8071
};
@@ -83,22 +74,12 @@
8374
buildActionMask = 2147483647;
8475
files = (
8576
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
86-
3E15AF6DC5E3ED410111828C /* Pods_Runner.framework in Frameworks */,
8777
);
8878
runOnlyForDeploymentPostprocessing = 0;
8979
};
9080
/* End PBXFrameworksBuildPhase section */
9181

9282
/* Begin PBXGroup section */
93-
12206F0FC3638154794EE488 /* Frameworks */ = {
94-
isa = PBXGroup;
95-
children = (
96-
6D1C0531D62A7BE5B3C172E9 /* Pods_Runner.framework */,
97-
67CB7927F88779948E391CE2 /* Pods_RunnerTests.framework */,
98-
);
99-
name = Frameworks;
100-
sourceTree = "<group>";
101-
};
10283
331C8082294A63A400263BE5 /* RunnerTests */ = {
10384
isa = PBXGroup;
10485
children = (
@@ -107,23 +88,11 @@
10788
path = RunnerTests;
10889
sourceTree = "<group>";
10990
};
110-
4F23092C11E37ECC8082AE73 /* Pods */ = {
111-
isa = PBXGroup;
112-
children = (
113-
37063221B03E9E3D923C6FDD /* Pods-Runner.debug.xcconfig */,
114-
4FBF1DD6F3C99AFE49F50C75 /* Pods-Runner.release.xcconfig */,
115-
5428FE62D6C0F9D2A7051AD4 /* Pods-Runner.profile.xcconfig */,
116-
6479A0DE5EFF788ED0147251 /* Pods-RunnerTests.debug.xcconfig */,
117-
C948306E8039E3240787227E /* Pods-RunnerTests.release.xcconfig */,
118-
47C5F1143152266C33779DAE /* Pods-RunnerTests.profile.xcconfig */,
119-
);
120-
name = Pods;
121-
path = Pods;
122-
sourceTree = "<group>";
123-
};
12491
9740EEB11CF90186004384FC /* Flutter */ = {
12592
isa = PBXGroup;
12693
children = (
94+
78DABEA22ED26510000E7860 /* package_info_plus */,
95+
784666492D4C4C64000A1A5F /* FlutterFramework */,
12796
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */,
12897
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
12998
9740EEB21CF90195004384FC /* Debug.xcconfig */,
@@ -140,8 +109,6 @@
140109
97C146F01CF9000F007C117D /* Runner */,
141110
97C146EF1CF9000F007C117D /* Products */,
142111
331C8082294A63A400263BE5 /* RunnerTests */,
143-
4F23092C11E37ECC8082AE73 /* Pods */,
144-
12206F0FC3638154794EE488 /* Frameworks */,
145112
);
146113
sourceTree = "<group>";
147114
};
@@ -176,7 +143,6 @@
176143
isa = PBXNativeTarget;
177144
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
178145
buildPhases = (
179-
66A01BB0C2644D6469126795 /* [CP] Check Pods Manifest.lock */,
180146
331C807D294A63A400263BE5 /* Sources */,
181147
331C807F294A63A400263BE5 /* Resources */,
182148
160C920B6BF423E8F1A1FAE2 /* Frameworks */,
@@ -195,7 +161,6 @@
195161
isa = PBXNativeTarget;
196162
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
197163
buildPhases = (
198-
06525FCCB179AA22E65281AE /* [CP] Check Pods Manifest.lock */,
199164
9740EEB61CF901F6004384FC /* Run Script */,
200165
97C146EA1CF9000F007C117D /* Sources */,
201166
97C146EB1CF9000F007C117D /* Frameworks */,
@@ -278,28 +243,6 @@
278243
/* End PBXResourcesBuildPhase section */
279244

280245
/* Begin PBXShellScriptBuildPhase section */
281-
06525FCCB179AA22E65281AE /* [CP] Check Pods Manifest.lock */ = {
282-
isa = PBXShellScriptBuildPhase;
283-
buildActionMask = 2147483647;
284-
files = (
285-
);
286-
inputFileListPaths = (
287-
);
288-
inputPaths = (
289-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
290-
"${PODS_ROOT}/Manifest.lock",
291-
);
292-
name = "[CP] Check Pods Manifest.lock";
293-
outputFileListPaths = (
294-
);
295-
outputPaths = (
296-
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
297-
);
298-
runOnlyForDeploymentPostprocessing = 0;
299-
shellPath = /bin/sh;
300-
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";
301-
showEnvVarsInLog = 0;
302-
};
303246
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
304247
isa = PBXShellScriptBuildPhase;
305248
alwaysOutOfDate = 1;
@@ -316,28 +259,6 @@
316259
shellPath = /bin/sh;
317260
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
318261
};
319-
66A01BB0C2644D6469126795 /* [CP] Check Pods Manifest.lock */ = {
320-
isa = PBXShellScriptBuildPhase;
321-
buildActionMask = 2147483647;
322-
files = (
323-
);
324-
inputFileListPaths = (
325-
);
326-
inputPaths = (
327-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
328-
"${PODS_ROOT}/Manifest.lock",
329-
);
330-
name = "[CP] Check Pods Manifest.lock";
331-
outputFileListPaths = (
332-
);
333-
outputPaths = (
334-
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
335-
);
336-
runOnlyForDeploymentPostprocessing = 0;
337-
shellPath = /bin/sh;
338-
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";
339-
showEnvVarsInLog = 0;
340-
};
341262
9740EEB61CF901F6004384FC /* Run Script */ = {
342263
isa = PBXShellScriptBuildPhase;
343264
alwaysOutOfDate = 1;
@@ -476,7 +397,6 @@
476397
};
477398
331C8088294A63A400263BE5 /* Debug */ = {
478399
isa = XCBuildConfiguration;
479-
baseConfigurationReference = 6479A0DE5EFF788ED0147251 /* Pods-RunnerTests.debug.xcconfig */;
480400
buildSettings = {
481401
BUNDLE_LOADER = "$(TEST_HOST)";
482402
CODE_SIGN_STYLE = Automatic;
@@ -494,7 +414,6 @@
494414
};
495415
331C8089294A63A400263BE5 /* Release */ = {
496416
isa = XCBuildConfiguration;
497-
baseConfigurationReference = C948306E8039E3240787227E /* Pods-RunnerTests.release.xcconfig */;
498417
buildSettings = {
499418
BUNDLE_LOADER = "$(TEST_HOST)";
500419
CODE_SIGN_STYLE = Automatic;
@@ -510,7 +429,6 @@
510429
};
511430
331C808A294A63A400263BE5 /* Profile */ = {
512431
isa = XCBuildConfiguration;
513-
baseConfigurationReference = 47C5F1143152266C33779DAE /* Pods-RunnerTests.profile.xcconfig */;
514432
buildSettings = {
515433
BUNDLE_LOADER = "$(TEST_HOST)";
516434
CODE_SIGN_STYLE = Automatic;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
21
#include "ephemeral/Flutter-Generated.xcconfig"
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
21
#include "ephemeral/Flutter-Generated.xcconfig"

0 commit comments

Comments
 (0)