Unverified Commit 145d70c1 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Rename integration test ios_app_with_watch_companion -> ios_app_with_extensions (#58458)

parent 442f9c10
......@@ -17,14 +17,14 @@ Future<void> main() async {
String watchDeviceID;
String phoneDeviceID;
final Directory tempDir = Directory.systemTemp
.createTempSync('ios_app_with_watch_companion_test');
.createTempSync('ios_app_with_extensions_test');
final Directory projectDir =
Directory(path.join(tempDir.path, 'app_with_companion'));
Directory(path.join(tempDir.path, 'app_with_extensions'));
try {
mkdir(projectDir);
recursiveCopy(
Directory(path.join(flutterDirectory.path, 'dev', 'integration_tests',
'ios_app_with_watch_companion')),
'ios_app_with_extensions')),
projectDir,
);
......
......@@ -683,9 +683,9 @@ tasks:
# required_agent_capabilities: ["mac/ios"]
# flaky: true
ios_app_with_watch_companion:
ios_app_with_extensions_test:
description: >
Checks that an iOS app with a watchOS companion can be build for physical and simulated devices.
Checks that an iOS app with extensions can be built for physical and simulated devices.
stage: devicelab_ios
required_agent_capabilities: ["mac/ios"]
......
# iOS Extensions Test
Integration test to test building an iOS app with
non-Flutter features:
- watchOS app and extension
......@@ -436,7 +436,6 @@
/* Begin XCBuildConfiguration section */
249021D3217E4FDB00AE95B9 /* Profile */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
......@@ -506,7 +505,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
......@@ -536,7 +535,7 @@
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp.watchkitextension;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp.watchkitextension;
PRODUCT_NAME = "${TARGET_NAME}";
SDKROOT = watchos;
SKIP_INSTALL = YES;
......@@ -569,7 +568,7 @@
);
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp.watchkitextension;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp.watchkitextension;
PRODUCT_NAME = "${TARGET_NAME}";
SDKROOT = watchos;
SKIP_INSTALL = YES;
......@@ -601,7 +600,7 @@
);
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp.watchkitextension;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp.watchkitextension;
PRODUCT_NAME = "${TARGET_NAME}";
SDKROOT = watchos;
SKIP_INSTALL = YES;
......@@ -630,7 +629,7 @@
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
......@@ -659,7 +658,7 @@
MARKETING_VERSION = 1.0.0;
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
......@@ -687,7 +686,7 @@
MARKETING_VERSION = 1.0.0;
MTL_FAST_MATH = YES;
OTHER_LDFLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest.watchkitapp;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
SKIP_INSTALL = YES;
......@@ -700,7 +699,6 @@
};
97C147031CF9000F007C117D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
......@@ -756,7 +754,6 @@
};
97C147041CF9000F007C117D /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
......@@ -828,7 +825,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
......@@ -858,7 +855,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.watchCompanionTest;
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.extensionTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
......
......@@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>watchCompanionTest</string>
<string>Flutter Extension Test</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
......
......@@ -25,7 +25,7 @@
<key>NSExtensionAttributes</key>
<dict>
<key>WKAppBundleIdentifier</key>
<string>com.example.watchCompanionTest.watchkitapp</string>
<string>io.flutter.extensionTest.watchkitapp</string>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.watchkit</string>
......
......@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>watchCompanionTest</string>
<string>Flutter Extension Test</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
......@@ -26,7 +26,7 @@
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>WKCompanionAppBundleIdentifier</key>
<string>com.example.watchCompanionTest</string>
<string>io.flutter.extensionTest</string>
<key>WKWatchKitApp</key>
<true/>
</dict>
......
name: watchCompanionTest
description: A new Flutter project.
name: ios_app_with_extensions
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
......
# watchCompanionTest
A new Flutter project.
## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment