Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit f306e25

Browse files
Remove native iOS tests from app-facing package
1 parent f676b46 commit f306e25

File tree

6 files changed

+0
-358
lines changed

6 files changed

+0
-358
lines changed

packages/url_launcher/url_launcher/example/ios/Podfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ flutter_ios_podfile_setup
2929

3030
target 'Runner' do
3131
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
32-
target 'RunnerTests' do
33-
inherit! :search_paths
34-
end
3532
end
3633

3734
post_install do |installer|

packages/url_launcher/url_launcher/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 0 additions & 251 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,8 @@
1515
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
1616
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1717
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
18-
B8140773523F70A044426500 /* libPods-RunnerTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 487A1B5A2ECB3E406FD62FE3 /* libPods-RunnerTests.a */; };
19-
F7151F4B26604CFB0028CB91 /* URLLauncherTests.m in Sources */ = {isa = PBXBuildFile; fileRef = F7151F4A26604CFB0028CB91 /* URLLauncherTests.m */; };
20-
F7151F5926604D060028CB91 /* URLLauncherUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = F7151F5826604D060028CB91 /* URLLauncherUITests.m */; };
2118
/* End PBXBuildFile section */
2219

23-
/* Begin PBXContainerItemProxy section */
24-
F7151F4D26604CFB0028CB91 /* PBXContainerItemProxy */ = {
25-
isa = PBXContainerItemProxy;
26-
containerPortal = 97C146E61CF9000F007C117D /* Project object */;
27-
proxyType = 1;
28-
remoteGlobalIDString = 97C146ED1CF9000F007C117D;
29-
remoteInfo = Runner;
30-
};
31-
F7151F5B26604D060028CB91 /* PBXContainerItemProxy */ = {
32-
isa = PBXContainerItemProxy;
33-
containerPortal = 97C146E61CF9000F007C117D /* Project object */;
34-
proxyType = 1;
35-
remoteGlobalIDString = 97C146ED1CF9000F007C117D;
36-
remoteInfo = Runner;
37-
};
38-
/* End PBXContainerItemProxy section */
39-
4020
/* Begin PBXCopyFilesBuildPhase section */
4121
9705A1C41CF9048500538489 /* Embed Frameworks */ = {
4222
isa = PBXCopyFilesBuildPhase;
@@ -71,12 +51,6 @@
7151
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
7252
A84BFEE343F54B983D1B67EB /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
7353
D25C434271ACF6555E002440 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
74-
F7151F4826604CFB0028CB91 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
75-
F7151F4A26604CFB0028CB91 /* URLLauncherTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = URLLauncherTests.m; sourceTree = "<group>"; };
76-
F7151F4C26604CFB0028CB91 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
77-
F7151F5626604D060028CB91 /* RunnerUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
78-
F7151F5826604D060028CB91 /* URLLauncherUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = URLLauncherUITests.m; sourceTree = "<group>"; };
79-
F7151F5A26604D060028CB91 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
8054
/* End PBXFileReference section */
8155

8256
/* Begin PBXFrameworksBuildPhase section */
@@ -88,21 +62,6 @@
8862
);
8963
runOnlyForDeploymentPostprocessing = 0;
9064
};
91-
F7151F4526604CFB0028CB91 /* Frameworks */ = {
92-
isa = PBXFrameworksBuildPhase;
93-
buildActionMask = 2147483647;
94-
files = (
95-
B8140773523F70A044426500 /* libPods-RunnerTests.a in Frameworks */,
96-
);
97-
runOnlyForDeploymentPostprocessing = 0;
98-
};
99-
F7151F5326604D060028CB91 /* Frameworks */ = {
100-
isa = PBXFrameworksBuildPhase;
101-
buildActionMask = 2147483647;
102-
files = (
103-
);
104-
runOnlyForDeploymentPostprocessing = 0;
105-
};
10665
/* End PBXFrameworksBuildPhase section */
10766

10867
/* Begin PBXGroup section */
@@ -135,8 +94,6 @@
13594
2D92223E1EC1DA93007564B0 /* GeneratedPluginRegistrant.m */,
13695
9740EEB11CF90186004384FC /* Flutter */,
13796
97C146F01CF9000F007C117D /* Runner */,
138-
F7151F4926604CFB0028CB91 /* RunnerTests */,
139-
F7151F5726604D060028CB91 /* RunnerUITests */,
14097
97C146EF1CF9000F007C117D /* Products */,
14198
840012C8B5EDBCF56B0E4AC1 /* Pods */,
14299
CF3B75C9A7D2FA2A4C99F110 /* Frameworks */,
@@ -147,8 +104,6 @@
147104
isa = PBXGroup;
148105
children = (
149106
97C146EE1CF9000F007C117D /* Runner.app */,
150-
F7151F4826604CFB0028CB91 /* RunnerTests.xctest */,
151-
F7151F5626604D060028CB91 /* RunnerUITests.xctest */,
152107
);
153108
name = Products;
154109
sourceTree = "<group>";
@@ -184,24 +139,6 @@
184139
name = Frameworks;
185140
sourceTree = "<group>";
186141
};
187-
F7151F4926604CFB0028CB91 /* RunnerTests */ = {
188-
isa = PBXGroup;
189-
children = (
190-
F7151F4A26604CFB0028CB91 /* URLLauncherTests.m */,
191-
F7151F4C26604CFB0028CB91 /* Info.plist */,
192-
);
193-
path = RunnerTests;
194-
sourceTree = "<group>";
195-
};
196-
F7151F5726604D060028CB91 /* RunnerUITests */ = {
197-
isa = PBXGroup;
198-
children = (
199-
F7151F5826604D060028CB91 /* URLLauncherUITests.m */,
200-
F7151F5A26604D060028CB91 /* Info.plist */,
201-
);
202-
path = RunnerUITests;
203-
sourceTree = "<group>";
204-
};
205142
/* End PBXGroup section */
206143

207144
/* Begin PBXNativeTarget section */
@@ -226,43 +163,6 @@
226163
productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
227164
productType = "com.apple.product-type.application";
228165
};
229-
F7151F4726604CFB0028CB91 /* RunnerTests */ = {
230-
isa = PBXNativeTarget;
231-
buildConfigurationList = F7151F5126604CFB0028CB91 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
232-
buildPhases = (
233-
DD4687403C4F35FCD2994FDE /* [CP] Check Pods Manifest.lock */,
234-
F7151F4426604CFB0028CB91 /* Sources */,
235-
F7151F4526604CFB0028CB91 /* Frameworks */,
236-
F7151F4626604CFB0028CB91 /* Resources */,
237-
);
238-
buildRules = (
239-
);
240-
dependencies = (
241-
F7151F4E26604CFB0028CB91 /* PBXTargetDependency */,
242-
);
243-
name = RunnerTests;
244-
productName = RunnerTests;
245-
productReference = F7151F4826604CFB0028CB91 /* RunnerTests.xctest */;
246-
productType = "com.apple.product-type.bundle.unit-test";
247-
};
248-
F7151F5526604D060028CB91 /* RunnerUITests */ = {
249-
isa = PBXNativeTarget;
250-
buildConfigurationList = F7151F5D26604D060028CB91 /* Build configuration list for PBXNativeTarget "RunnerUITests" */;
251-
buildPhases = (
252-
F7151F5226604D060028CB91 /* Sources */,
253-
F7151F5326604D060028CB91 /* Frameworks */,
254-
F7151F5426604D060028CB91 /* Resources */,
255-
);
256-
buildRules = (
257-
);
258-
dependencies = (
259-
F7151F5C26604D060028CB91 /* PBXTargetDependency */,
260-
);
261-
name = RunnerUITests;
262-
productName = RunnerUITests;
263-
productReference = F7151F5626604D060028CB91 /* RunnerUITests.xctest */;
264-
productType = "com.apple.product-type.bundle.ui-testing";
265-
};
266166
/* End PBXNativeTarget section */
267167

268168
/* Begin PBXProject section */
@@ -276,16 +176,6 @@
276176
CreatedOnToolsVersion = 7.3.1;
277177
DevelopmentTeam = S8QB4VV633;
278178
};
279-
F7151F4726604CFB0028CB91 = {
280-
CreatedOnToolsVersion = 12.5;
281-
ProvisioningStyle = Automatic;
282-
TestTargetID = 97C146ED1CF9000F007C117D;
283-
};
284-
F7151F5526604D060028CB91 = {
285-
CreatedOnToolsVersion = 12.5;
286-
ProvisioningStyle = Automatic;
287-
TestTargetID = 97C146ED1CF9000F007C117D;
288-
};
289179
};
290180
};
291181
buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
@@ -302,8 +192,6 @@
302192
projectRoot = "";
303193
targets = (
304194
97C146ED1CF9000F007C117D /* Runner */,
305-
F7151F4726604CFB0028CB91 /* RunnerTests */,
306-
F7151F5526604D060028CB91 /* RunnerUITests */,
307195
);
308196
};
309197
/* End PBXProject section */
@@ -320,20 +208,6 @@
320208
);
321209
runOnlyForDeploymentPostprocessing = 0;
322210
};
323-
F7151F4626604CFB0028CB91 /* Resources */ = {
324-
isa = PBXResourcesBuildPhase;
325-
buildActionMask = 2147483647;
326-
files = (
327-
);
328-
runOnlyForDeploymentPostprocessing = 0;
329-
};
330-
F7151F5426604D060028CB91 /* Resources */ = {
331-
isa = PBXResourcesBuildPhase;
332-
buildActionMask = 2147483647;
333-
files = (
334-
);
335-
runOnlyForDeploymentPostprocessing = 0;
336-
};
337211
/* End PBXResourcesBuildPhase section */
338212

339213
/* Begin PBXShellScriptBuildPhase section */
@@ -383,28 +257,6 @@
383257
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";
384258
showEnvVarsInLog = 0;
385259
};
386-
DD4687403C4F35FCD2994FDE /* [CP] Check Pods Manifest.lock */ = {
387-
isa = PBXShellScriptBuildPhase;
388-
buildActionMask = 2147483647;
389-
files = (
390-
);
391-
inputFileListPaths = (
392-
);
393-
inputPaths = (
394-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
395-
"${PODS_ROOT}/Manifest.lock",
396-
);
397-
name = "[CP] Check Pods Manifest.lock";
398-
outputFileListPaths = (
399-
);
400-
outputPaths = (
401-
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
402-
);
403-
runOnlyForDeploymentPostprocessing = 0;
404-
shellPath = /bin/sh;
405-
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";
406-
showEnvVarsInLog = 0;
407-
};
408260
/* End PBXShellScriptBuildPhase section */
409261

410262
/* Begin PBXSourcesBuildPhase section */
@@ -418,37 +270,8 @@
418270
);
419271
runOnlyForDeploymentPostprocessing = 0;
420272
};
421-
F7151F4426604CFB0028CB91 /* Sources */ = {
422-
isa = PBXSourcesBuildPhase;
423-
buildActionMask = 2147483647;
424-
files = (
425-
F7151F4B26604CFB0028CB91 /* URLLauncherTests.m in Sources */,
426-
);
427-
runOnlyForDeploymentPostprocessing = 0;
428-
};
429-
F7151F5226604D060028CB91 /* Sources */ = {
430-
isa = PBXSourcesBuildPhase;
431-
buildActionMask = 2147483647;
432-
files = (
433-
F7151F5926604D060028CB91 /* URLLauncherUITests.m in Sources */,
434-
);
435-
runOnlyForDeploymentPostprocessing = 0;
436-
};
437273
/* End PBXSourcesBuildPhase section */
438274

439-
/* Begin PBXTargetDependency section */
440-
F7151F4E26604CFB0028CB91 /* PBXTargetDependency */ = {
441-
isa = PBXTargetDependency;
442-
target = 97C146ED1CF9000F007C117D /* Runner */;
443-
targetProxy = F7151F4D26604CFB0028CB91 /* PBXContainerItemProxy */;
444-
};
445-
F7151F5C26604D060028CB91 /* PBXTargetDependency */ = {
446-
isa = PBXTargetDependency;
447-
target = 97C146ED1CF9000F007C117D /* Runner */;
448-
targetProxy = F7151F5B26604D060028CB91 /* PBXContainerItemProxy */;
449-
};
450-
/* End PBXTargetDependency section */
451-
452275
/* Begin PBXVariantGroup section */
453276
97C146FA1CF9000F007C117D /* Main.storyboard */ = {
454277
isa = PBXVariantGroup;
@@ -617,62 +440,6 @@
617440
};
618441
name = Release;
619442
};
620-
F7151F4F26604CFB0028CB91 /* Debug */ = {
621-
isa = XCBuildConfiguration;
622-
baseConfigurationReference = 666BCD7C181C34F8BE58929B /* Pods-RunnerTests.debug.xcconfig */;
623-
buildSettings = {
624-
BUNDLE_LOADER = "$(TEST_HOST)";
625-
CODE_SIGN_STYLE = Automatic;
626-
INFOPLIST_FILE = RunnerTests/Info.plist;
627-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
628-
MTL_FAST_MATH = YES;
629-
PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.RunnerTests;
630-
PRODUCT_NAME = "$(TARGET_NAME)";
631-
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/Runner";
632-
};
633-
name = Debug;
634-
};
635-
F7151F5026604CFB0028CB91 /* Release */ = {
636-
isa = XCBuildConfiguration;
637-
baseConfigurationReference = D25C434271ACF6555E002440 /* Pods-RunnerTests.release.xcconfig */;
638-
buildSettings = {
639-
BUNDLE_LOADER = "$(TEST_HOST)";
640-
CODE_SIGN_STYLE = Automatic;
641-
INFOPLIST_FILE = RunnerTests/Info.plist;
642-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
643-
MTL_FAST_MATH = YES;
644-
PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.RunnerTests;
645-
PRODUCT_NAME = "$(TARGET_NAME)";
646-
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/Runner";
647-
};
648-
name = Release;
649-
};
650-
F7151F5E26604D060028CB91 /* Debug */ = {
651-
isa = XCBuildConfiguration;
652-
buildSettings = {
653-
CODE_SIGN_STYLE = Automatic;
654-
INFOPLIST_FILE = RunnerUITests/Info.plist;
655-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
656-
MTL_FAST_MATH = YES;
657-
PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.RunnerUITests;
658-
PRODUCT_NAME = "$(TARGET_NAME)";
659-
TEST_TARGET_NAME = Runner;
660-
};
661-
name = Debug;
662-
};
663-
F7151F5F26604D060028CB91 /* Release */ = {
664-
isa = XCBuildConfiguration;
665-
buildSettings = {
666-
CODE_SIGN_STYLE = Automatic;
667-
INFOPLIST_FILE = RunnerUITests/Info.plist;
668-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
669-
MTL_FAST_MATH = YES;
670-
PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.RunnerUITests;
671-
PRODUCT_NAME = "$(TARGET_NAME)";
672-
TEST_TARGET_NAME = Runner;
673-
};
674-
name = Release;
675-
};
676443
/* End XCBuildConfiguration section */
677444

678445
/* Begin XCConfigurationList section */
@@ -694,24 +461,6 @@
694461
defaultConfigurationIsVisible = 0;
695462
defaultConfigurationName = Release;
696463
};
697-
F7151F5126604CFB0028CB91 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = {
698-
isa = XCConfigurationList;
699-
buildConfigurations = (
700-
F7151F4F26604CFB0028CB91 /* Debug */,
701-
F7151F5026604CFB0028CB91 /* Release */,
702-
);
703-
defaultConfigurationIsVisible = 0;
704-
defaultConfigurationName = Release;
705-
};
706-
F7151F5D26604D060028CB91 /* Build configuration list for PBXNativeTarget "RunnerUITests" */ = {
707-
isa = XCConfigurationList;
708-
buildConfigurations = (
709-
F7151F5E26604D060028CB91 /* Debug */,
710-
F7151F5F26604D060028CB91 /* Release */,
711-
);
712-
defaultConfigurationIsVisible = 0;
713-
defaultConfigurationName = Release;
714-
};
715464
/* End XCConfigurationList section */
716465
};
717466
rootObject = 97C146E61CF9000F007C117D /* Project object */;

packages/url_launcher/url_launcher/example/ios/RunnerTests/Info.plist

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)