Skip to content

Commit 5ba309f

Browse files
committed
Remove CocoaPods artifacts from macOS Xcode project
Remove CocoaPods-managed frameworks and pod-check build phases from the macOS Runner Xcode project for the tray_icon_example. This deletes PBXBuildFile/PBXFileReference entries for Pods_Runner.framework and Pods_RunnerTests.framework, removes those frameworks from the Frameworks group and build phases, and removes the "[CP] Check Pods Manifest.lock" PBXShellScriptBuildPhase entries to keep the project clean when CocoaPods are not used.
1 parent ad28bf7 commit 5ba309f

1 file changed

Lines changed: 1 addition & 54 deletions

File tree

examples/tray_icon_example/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
2929
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
3030
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
31-
7B919EB9629A48AEE0B69638 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8575792C5C24DA35381B86A0 /* Pods_RunnerTests.framework */; };
32-
90FBD9393B099A2E30F412C9 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 149B4334FBE7293B0839D975 /* Pods_Runner.framework */; };
31+
3332
/* End PBXBuildFile section */
3433

3534
/* Begin PBXContainerItemProxy section */
@@ -63,7 +62,6 @@
6362
/* End PBXCopyFilesBuildPhase section */
6463

6564
/* Begin PBXFileReference section */
66-
149B4334FBE7293B0839D975 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6765
331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
6866
331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
6967
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
@@ -82,7 +80,6 @@
8280
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; };
8381
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
8482
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
85-
8575792C5C24DA35381B86A0 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
8683
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
8784
/* End PBXFileReference section */
8885

@@ -91,7 +88,6 @@
9188
isa = PBXFrameworksBuildPhase;
9289
buildActionMask = 2147483647;
9390
files = (
94-
7B919EB9629A48AEE0B69638 /* Pods_RunnerTests.framework in Frameworks */,
9591
);
9692
runOnlyForDeploymentPostprocessing = 0;
9793
};
@@ -100,7 +96,6 @@
10096
buildActionMask = 2147483647;
10197
files = (
10298
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
103-
90FBD9393B099A2E30F412C9 /* Pods_Runner.framework in Frameworks */,
10499
);
105100
runOnlyForDeploymentPostprocessing = 0;
106101
};
@@ -185,8 +180,6 @@
185180
C21569B9BF97F760432761A5 /* Frameworks */ = {
186181
isa = PBXGroup;
187182
children = (
188-
149B4334FBE7293B0839D975 /* Pods_Runner.framework */,
189-
8575792C5C24DA35381B86A0 /* Pods_RunnerTests.framework */,
190183
);
191184
name = Frameworks;
192185
sourceTree = "<group>";
@@ -198,7 +191,6 @@
198191
isa = PBXNativeTarget;
199192
buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
200193
buildPhases = (
201-
003FAB655D145A410DDA5E9B /* [CP] Check Pods Manifest.lock */,
202194
331C80D1294CF70F00263BE5 /* Sources */,
203195
331C80D2294CF70F00263BE5 /* Frameworks */,
204196
331C80D3294CF70F00263BE5 /* Resources */,
@@ -217,7 +209,6 @@
217209
isa = PBXNativeTarget;
218210
buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
219211
buildPhases = (
220-
E53AE5A0AC748D6EB4E2ABD5 /* [CP] Check Pods Manifest.lock */,
221212
33CC10E92044A3C60003C045 /* Sources */,
222213
33CC10EA2044A3C60003C045 /* Frameworks */,
223214
33CC10EB2044A3C60003C045 /* Resources */,
@@ -311,28 +302,6 @@
311302
/* End PBXResourcesBuildPhase section */
312303

313304
/* Begin PBXShellScriptBuildPhase section */
314-
003FAB655D145A410DDA5E9B /* [CP] Check Pods Manifest.lock */ = {
315-
isa = PBXShellScriptBuildPhase;
316-
buildActionMask = 2147483647;
317-
files = (
318-
);
319-
inputFileListPaths = (
320-
);
321-
inputPaths = (
322-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
323-
"${PODS_ROOT}/Manifest.lock",
324-
);
325-
name = "[CP] Check Pods Manifest.lock";
326-
outputFileListPaths = (
327-
);
328-
outputPaths = (
329-
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
330-
);
331-
runOnlyForDeploymentPostprocessing = 0;
332-
shellPath = /bin/sh;
333-
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";
334-
showEnvVarsInLog = 0;
335-
};
336305
3399D490228B24CF009A79C7 /* ShellScript */ = {
337306
isa = PBXShellScriptBuildPhase;
338307
alwaysOutOfDate = 1;
@@ -371,28 +340,6 @@
371340
shellPath = /bin/sh;
372341
shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
373342
};
374-
E53AE5A0AC748D6EB4E2ABD5 /* [CP] Check Pods Manifest.lock */ = {
375-
isa = PBXShellScriptBuildPhase;
376-
buildActionMask = 2147483647;
377-
files = (
378-
);
379-
inputFileListPaths = (
380-
);
381-
inputPaths = (
382-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
383-
"${PODS_ROOT}/Manifest.lock",
384-
);
385-
name = "[CP] Check Pods Manifest.lock";
386-
outputFileListPaths = (
387-
);
388-
outputPaths = (
389-
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
390-
);
391-
runOnlyForDeploymentPostprocessing = 0;
392-
shellPath = /bin/sh;
393-
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";
394-
showEnvVarsInLog = 0;
395-
};
396343
/* End PBXShellScriptBuildPhase section */
397344

398345
/* Begin PBXSourcesBuildPhase section */

0 commit comments

Comments
 (0)