Skip to content

Commit 2c2cbe7

Browse files
committed
app with appclip plus symbols test
1 parent 6836f2b commit 2c2cbe7

2 files changed

Lines changed: 11 additions & 22 deletions

File tree

test/starlark_tests/ios_application_tests.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,16 +708,16 @@ def ios_application_test_suite(name):
708708
)
709709

710710
# Tests that app clips also contribute .symbols package files when
711-
# `include_symbols_in_bundle` is enabled on the embedding application.
711+
# `include_symbols` is enabled on the wrapping archive target.
712712
apple_symbols_file_test(
713713
name = "{}_archive_contains_apple_symbols_files_with_app_clip_test".format(name),
714714
binary_paths = [
715-
"Payload/app_with_app_clip_and_symbols_in_bundle.app/app_with_app_clip_and_symbols_in_bundle",
716-
"Payload/app_with_app_clip_and_symbols_in_bundle.app/AppClips/app_clip.app/app_clip",
715+
"Payload/app_with_app_clip.app/app_with_app_clip",
716+
"Payload/app_with_app_clip.app/AppClips/app_clip.app/app_clip",
717717
],
718718
build_type = "simulator",
719719
tags = [name],
720-
target_under_test = "//test/starlark_tests/targets_under_test/ios:app_with_app_clip_and_symbols_in_bundle",
720+
target_under_test = "//test/starlark_tests/targets_under_test/ios:ipa_app_with_app_clip_and_symbols",
721721
)
722722

723723
# Tests that the archive contains .symbols package files generated from

test/starlark_tests/targets_under_test/ios/BUILD

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,24 +1169,6 @@ ios_application(
11691169
],
11701170
)
11711171

1172-
ios_application(
1173-
name = "app_with_app_clip_and_symbols_in_bundle",
1174-
app_clips = [":app_clip"],
1175-
bundle_id = "com.google.example",
1176-
entitlements = "//test/starlark_tests/resources:entitlements.plist",
1177-
families = ["iphone"],
1178-
include_symbols_in_bundle = True,
1179-
infoplists = [
1180-
"//test/starlark_tests/resources:Info.plist",
1181-
],
1182-
minimum_os_version = common.min_os_ios.appclip_support,
1183-
provisioning_profile = "//test/testdata/provisioning:integration_testing_ios.mobileprovision",
1184-
tags = common.fixture_tags,
1185-
deps = [
1186-
"//test/starlark_tests/resources:objc_main_lib",
1187-
],
1188-
)
1189-
11901172
ios_app_clip(
11911173
name = "app_clip",
11921174
bundle_id = "com.google.example.clip",
@@ -5838,6 +5820,13 @@ apple_archive(
58385820
tags = common.fixture_tags,
58395821
)
58405822

5823+
apple_archive(
5824+
name = "ipa_app_with_app_clip_and_symbols",
5825+
bundle = ":app_with_app_clip",
5826+
include_symbols = True,
5827+
tags = common.fixture_tags,
5828+
)
5829+
58415830
apple_archive(
58425831
name = "ipa_app_with_app_clip_with_swift_support",
58435832
bundle = ":app_with_app_clip_with_swift_support",

0 commit comments

Comments
 (0)