From 93104d43216f5a6868e6b50c2a157c36ba6444c0 Mon Sep 17 00:00:00 2001 From: Brentley Jones Date: Tue, 19 Jul 2022 10:22:51 -0500 Subject: [PATCH] Include generated `{Info,Launchd}.plist` files in Project navigator It can be useful to see the output of a `genrule`/custom rule. --- .../multiplatform/bwb.xcodeproj/project.pbxproj | 8 ++++++++ .../rules_xcodeproj/generated.xcfilelist | 4 ++++ test/fixtures/multiplatform/bwb_spec.json | 16 ++++++++++++++++ .../multiplatform/bwx.xcodeproj/project.pbxproj | 8 ++++++++ .../rules_xcodeproj/generated.xcfilelist | 4 ++++ test/fixtures/multiplatform/bwx_spec.json | 16 ++++++++++++++++ xcodeproj/internal/input_files.bzl | 10 ++-------- 7 files changed, 58 insertions(+), 8 deletions(-) diff --git a/test/fixtures/multiplatform/bwb.xcodeproj/project.pbxproj b/test/fixtures/multiplatform/bwb.xcodeproj/project.pbxproj index 6ae69866a1..09b01afe92 100644 --- a/test/fixtures/multiplatform/bwb.xcodeproj/project.pbxproj +++ b/test/fixtures/multiplatform/bwb.xcodeproj/project.pbxproj @@ -332,6 +332,7 @@ 6289C06F2F7A8C9BAA0757C5 /* MessagesViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessagesViewController.swift; sourceTree = ""; }; 67B340F17EDBE3495213D123 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 67EF6425ED99CC56F814F4EA /* BUILD */ = {isa = PBXFileReference; explicitFileType = text.script.python; path = BUILD; sourceTree = ""; }; + 697322B4BA686896A5074045 /* Info.withbundleid.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.withbundleid.plist; sourceTree = ""; }; 73051C293E9F673CEA1D4FD4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 7401FDA68482F8B5BE018478 /* CryptoSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CryptoSwift.framework; sourceTree = ""; }; 82C7184778C265E6AF5491B6 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; @@ -343,6 +344,7 @@ 9065B04356832B39E95AA885 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 9427A227944F4D18102ADE4F /* Lib.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Lib.swift; sourceTree = ""; }; 95EAAF0384D20903614054AA /* Lib.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Lib.swift; sourceTree = ""; }; + 972279E1AD5E2A736E5C8CFA /* Info.withbundleid.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.withbundleid.plist; sourceTree = ""; }; 99C79CA8BF8DBF31ED1958B3 /* BUILD */ = {isa = PBXFileReference; explicitFileType = text.script.python; path = BUILD; sourceTree = ""; }; 9B92DB0A68A3B511E0B4527D /* libLib.a */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; name = libLib.a; path = "bazel-out/ios-x86_64-min15.0-applebin_ios-ios_x86_64-dbg-ST-e7c08a7bb9db/bin/examples/multiplatform/Lib/libLib.a"; sourceTree = BUILT_PRODUCTS_DIR; }; A0D53513CFBFCA1DD5F01CE8 /* libLib.a */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; name = libLib.a; path = "bazel-out/watchos-x86_64-min7.0-applebin_watchos-watchos_x86_64-dbg-ST-2fd25852cc8a/bin/examples/multiplatform/Lib/libLib.a"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -374,6 +376,7 @@ D1FBA2590E14FA946C70E605 /* Lib.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Lib.swift; sourceTree = ""; }; D6D47AB7111AD76651E98D19 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainInterface.storyboard; sourceTree = ""; }; D7CC5CE744AFD0A5E15D6AEC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + DC4B86DC245B61292BCF7585 /* Info.withbundleid.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.withbundleid.plist; sourceTree = ""; }; DCAD2E3EA0F9B2B9A58A4F90 /* BUILD */ = {isa = PBXFileReference; explicitFileType = text.script.python; path = BUILD; sourceTree = ""; }; DDD8B97AA93AE8B902A67A36 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; DF7126971C71380F35EAD51D /* Lib.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Lib.swift; sourceTree = ""; }; @@ -382,6 +385,7 @@ E332411DCE28305063274CDF /* iMessageAppExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = iMessageAppExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; }; E61C1B860E7015FBB3750A95 /* _BazelForcedCompile_.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = _BazelForcedCompile_.swift; sourceTree = DERIVED_FILE_DIR; }; E62E7FC91CB721FEE5206A21 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + E6907279EB458676B4EE324A /* Info.withbundleid.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.withbundleid.plist; sourceTree = ""; }; E7CC0575EECAA039E39C8B0F /* Entitlements.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Entitlements.entitlements; sourceTree = ""; }; E89AED11EAA442900F8C9C96 /* tvOSApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = tvOSApp.swift; sourceTree = ""; }; E99EC9E0460C9E8B7262C039 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; @@ -522,6 +526,7 @@ isa = PBXGroup; children = ( 0C285F1B47BDD84D96AB767F /* rules_xcodeproj */, + 972279E1AD5E2A736E5C8CFA /* Info.withbundleid.plist */, ); path = watchOSApp; sourceTree = ""; @@ -1134,6 +1139,7 @@ isa = PBXGroup; children = ( 156FEA6921D4852CF6E270B2 /* rules_xcodeproj */, + 697322B4BA686896A5074045 /* Info.withbundleid.plist */, ); path = watchOSApp; sourceTree = ""; @@ -1158,6 +1164,7 @@ isa = PBXGroup; children = ( AE909FDED4F6821399C5F403 /* rules_xcodeproj */, + DC4B86DC245B61292BCF7585 /* Info.withbundleid.plist */, ); path = watchOSAppExtension; sourceTree = ""; @@ -1345,6 +1352,7 @@ isa = PBXGroup; children = ( C4E32E0A7D517184B1929186 /* rules_xcodeproj */, + E6907279EB458676B4EE324A /* Info.withbundleid.plist */, ); path = watchOSAppExtension; sourceTree = ""; diff --git a/test/fixtures/multiplatform/bwb.xcodeproj/rules_xcodeproj/generated.xcfilelist b/test/fixtures/multiplatform/bwb.xcodeproj/rules_xcodeproj/generated.xcfilelist index ff8dfa4eff..cbae03d053 100644 --- a/test/fixtures/multiplatform/bwb.xcodeproj/rules_xcodeproj/generated.xcfilelist +++ b/test/fixtures/multiplatform/bwb.xcodeproj/rules_xcodeproj/generated.xcfilelist @@ -13,9 +13,13 @@ $(GEN_DIR)/applebin_ios-ios_x86_64-dbg-ST-e7c08a7bb9db/bin/examples/multiplatfor $(GEN_DIR)/applebin_macos-darwin_x86_64-dbg-ST-0139d977e630/bin/examples/multiplatform/Tool/rules_xcodeproj/Tool/Info.plist $(GEN_DIR)/applebin_tvos-tvos_arm64-dbg-ST-d6d3bf2233f2/bin/examples/multiplatform/tvOSApp/rules_xcodeproj/tvOSApp/Info.plist $(GEN_DIR)/applebin_tvos-tvos_x86_64-dbg-ST-ae85ff5caa67/bin/examples/multiplatform/tvOSApp/rules_xcodeproj/tvOSApp/Info.plist +$(GEN_DIR)/applebin_watchos-watchos_arm64_32-dbg-ST-01fecab27ffc/bin/examples/multiplatform/watchOSApp/Info.withbundleid.plist $(GEN_DIR)/applebin_watchos-watchos_arm64_32-dbg-ST-01fecab27ffc/bin/examples/multiplatform/watchOSApp/rules_xcodeproj/watchOSApp/Info.plist +$(GEN_DIR)/applebin_watchos-watchos_arm64_32-dbg-ST-01fecab27ffc/bin/examples/multiplatform/watchOSAppExtension/Info.withbundleid.plist $(GEN_DIR)/applebin_watchos-watchos_arm64_32-dbg-ST-01fecab27ffc/bin/examples/multiplatform/watchOSAppExtension/rules_xcodeproj/watchOSAppExtension/Info.plist +$(GEN_DIR)/applebin_watchos-watchos_x86_64-dbg-ST-2fd25852cc8a/bin/examples/multiplatform/watchOSApp/Info.withbundleid.plist $(GEN_DIR)/applebin_watchos-watchos_x86_64-dbg-ST-2fd25852cc8a/bin/examples/multiplatform/watchOSApp/rules_xcodeproj/watchOSApp/Info.plist +$(GEN_DIR)/applebin_watchos-watchos_x86_64-dbg-ST-2fd25852cc8a/bin/examples/multiplatform/watchOSAppExtension/Info.withbundleid.plist $(GEN_DIR)/applebin_watchos-watchos_x86_64-dbg-ST-2fd25852cc8a/bin/examples/multiplatform/watchOSAppExtension/rules_xcodeproj/watchOSAppExtension/Info.plist $(GEN_DIR)/ios-arm64-min15.0-applebin_ios-ios_arm64-dbg-ST-28ac48b4d0bf/bin/examples/multiplatform/Lib/Lib.swift $(GEN_DIR)/ios-arm64-min15.0-applebin_ios-ios_arm64-dbg-ST-28ac48b4d0bf/bin/examples/multiplatform/WidgetExtension/Intents.swift diff --git a/test/fixtures/multiplatform/bwb_spec.json b/test/fixtures/multiplatform/bwb_spec.json index 130b02b573..23df0303c1 100644 --- a/test/fixtures/multiplatform/bwb_spec.json +++ b/test/fixtures/multiplatform/bwb_spec.json @@ -55,6 +55,10 @@ "t": "e" }, "examples/multiplatform/watchOSAppExtension/Info.plist", + { + "_": "applebin_watchos-watchos_arm64_32-dbg-ST-01fecab27ffc/bin/examples/multiplatform/watchOSAppExtension/Info.withbundleid.plist", + "t": "g" + }, { "_": "applebin_watchos-watchos_arm64_32-dbg-ST-01fecab27ffc/bin/examples/multiplatform/watchOSAppExtension/rules_xcodeproj/watchOSAppExtension/Info.plist", "t": "g" @@ -62,6 +66,10 @@ "examples/multiplatform/watchOSAppExtension/PreviewContent/Preview Assets.xcassets", "examples/multiplatform/watchOSAppExtension/Assets.xcassets", "examples/multiplatform/watchOSApp/Info.plist", + { + "_": "applebin_watchos-watchos_arm64_32-dbg-ST-01fecab27ffc/bin/examples/multiplatform/watchOSApp/Info.withbundleid.plist", + "t": "g" + }, { "_": "applebin_watchos-watchos_arm64_32-dbg-ST-01fecab27ffc/bin/examples/multiplatform/watchOSApp/rules_xcodeproj/watchOSApp/Info.plist", "t": "g" @@ -109,10 +117,18 @@ "_": "com_github_krzyzanowskim_cryptoswift/CryptoSwift.xcframework/watchos-arm64_i386_x86_64-simulator/CryptoSwift.framework", "t": "e" }, + { + "_": "applebin_watchos-watchos_x86_64-dbg-ST-2fd25852cc8a/bin/examples/multiplatform/watchOSAppExtension/Info.withbundleid.plist", + "t": "g" + }, { "_": "applebin_watchos-watchos_x86_64-dbg-ST-2fd25852cc8a/bin/examples/multiplatform/watchOSAppExtension/rules_xcodeproj/watchOSAppExtension/Info.plist", "t": "g" }, + { + "_": "applebin_watchos-watchos_x86_64-dbg-ST-2fd25852cc8a/bin/examples/multiplatform/watchOSApp/Info.withbundleid.plist", + "t": "g" + }, { "_": "applebin_watchos-watchos_x86_64-dbg-ST-2fd25852cc8a/bin/examples/multiplatform/watchOSApp/rules_xcodeproj/watchOSApp/Info.plist", "t": "g" diff --git a/test/fixtures/multiplatform/bwx.xcodeproj/project.pbxproj b/test/fixtures/multiplatform/bwx.xcodeproj/project.pbxproj index 5cb6b0ef34..8dec839866 100644 --- a/test/fixtures/multiplatform/bwx.xcodeproj/project.pbxproj +++ b/test/fixtures/multiplatform/bwx.xcodeproj/project.pbxproj @@ -408,11 +408,13 @@ 4A3E6D2A0181CABE29F49A3E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 4D15882F3881536469A76374 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 4DE36E3C6C4DC98BD96BABE8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 5166568297CA6079DCBDF4A6 /* Info.withbundleid.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.withbundleid.plist; sourceTree = ""; }; 571673AD5562DFA4AB138EB8 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; 57DED4191C90C7A853FF2A4E /* iOSApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iOSApp.swift; sourceTree = ""; }; 5808BF0F847CC0BF0E1128FB /* watchOSAppExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = watchOSAppExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; }; 5BA3E1F7C6E01C0C1E3D8520 /* Lib.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Lib.swift; sourceTree = ""; }; 5F99A7D79C5DEADA3086ADE2 /* CryptoSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CryptoSwift.framework; sourceTree = ""; }; + 5FD059D0C34446E812F2C6F6 /* Info.withbundleid.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.withbundleid.plist; sourceTree = ""; }; 60204A59A069D824C5F7C640 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 62DC42CBDAE2C00476DC55EC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 64904A92E0E07764C4F2D3A2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; @@ -433,6 +435,7 @@ 8E6227CA9560FF959269C101 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 909CC2C241F4540F5E294662 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 90CF6E599C94E1D9A0FA5C94 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; + 91B390FBDDEB5887FC38DED1 /* Info.withbundleid.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.withbundleid.plist; sourceTree = ""; }; 91CF2675AADEEEB1E769F8FF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; 9279CB2D3807B222C69E71C3 /* Intents.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Intents.swift; sourceTree = ""; }; 94B4E46AB654CACC5E8E5C55 /* iOSApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iOSApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -460,6 +463,7 @@ CBF82757D7FDE4769AE71673 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; CC801C96D3ED6985981681F9 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; D05F392CABFB9D136406F852 /* BUILD */ = {isa = PBXFileReference; explicitFileType = text.script.python; path = BUILD; sourceTree = ""; }; + D0E8B9F942315318B692D2BD /* Info.withbundleid.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.withbundleid.plist; sourceTree = ""; }; D295FECC5CF307D463F8CBD4 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; D76D2C3E02897E2ED28A8958 /* watchOSApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = watchOSApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; D9C00801286B351024D0850E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; @@ -920,6 +924,7 @@ isa = PBXGroup; children = ( B2B1F3BAE272CEF7D0EED380 /* rules_xcodeproj */, + 91B390FBDDEB5887FC38DED1 /* Info.withbundleid.plist */, ); path = watchOSApp; sourceTree = ""; @@ -1400,6 +1405,7 @@ isa = PBXGroup; children = ( 354394140F1B53481EBC47C0 /* rules_xcodeproj */, + 5166568297CA6079DCBDF4A6 /* Info.withbundleid.plist */, ); path = watchOSApp; sourceTree = ""; @@ -1645,6 +1651,7 @@ isa = PBXGroup; children = ( 305BC93396447895E5996DAB /* rules_xcodeproj */, + 5FD059D0C34446E812F2C6F6 /* Info.withbundleid.plist */, ); path = watchOSAppExtension; sourceTree = ""; @@ -1809,6 +1816,7 @@ isa = PBXGroup; children = ( B94818A5AF5649E1BA977BD9 /* rules_xcodeproj */, + D0E8B9F942315318B692D2BD /* Info.withbundleid.plist */, ); path = watchOSAppExtension; sourceTree = ""; diff --git a/test/fixtures/multiplatform/bwx.xcodeproj/rules_xcodeproj/generated.xcfilelist b/test/fixtures/multiplatform/bwx.xcodeproj/rules_xcodeproj/generated.xcfilelist index c47252c126..c7f62a013d 100644 --- a/test/fixtures/multiplatform/bwx.xcodeproj/rules_xcodeproj/generated.xcfilelist +++ b/test/fixtures/multiplatform/bwx.xcodeproj/rules_xcodeproj/generated.xcfilelist @@ -13,9 +13,13 @@ $(GEN_DIR)/applebin_ios-ios_x86_64-dbg-ST-6fabcb83ef01/bin/examples/multiplatfor $(GEN_DIR)/applebin_macos-darwin_x86_64-dbg-ST-59a3e2f8ef60/bin/examples/multiplatform/Tool/rules_xcodeproj/Tool/Info.plist $(GEN_DIR)/applebin_tvos-tvos_arm64-dbg-ST-eb2e402285ef/bin/examples/multiplatform/tvOSApp/rules_xcodeproj/tvOSApp/Info.plist $(GEN_DIR)/applebin_tvos-tvos_x86_64-dbg-ST-37edb098dc53/bin/examples/multiplatform/tvOSApp/rules_xcodeproj/tvOSApp/Info.plist +$(GEN_DIR)/applebin_watchos-watchos_arm64_32-dbg-ST-934faf172fd3/bin/examples/multiplatform/watchOSApp/Info.withbundleid.plist $(GEN_DIR)/applebin_watchos-watchos_arm64_32-dbg-ST-934faf172fd3/bin/examples/multiplatform/watchOSApp/rules_xcodeproj/watchOSApp/Info.plist +$(GEN_DIR)/applebin_watchos-watchos_arm64_32-dbg-ST-934faf172fd3/bin/examples/multiplatform/watchOSAppExtension/Info.withbundleid.plist $(GEN_DIR)/applebin_watchos-watchos_arm64_32-dbg-ST-934faf172fd3/bin/examples/multiplatform/watchOSAppExtension/rules_xcodeproj/watchOSAppExtension/Info.plist +$(GEN_DIR)/applebin_watchos-watchos_x86_64-dbg-ST-07c4a284aeba/bin/examples/multiplatform/watchOSApp/Info.withbundleid.plist $(GEN_DIR)/applebin_watchos-watchos_x86_64-dbg-ST-07c4a284aeba/bin/examples/multiplatform/watchOSApp/rules_xcodeproj/watchOSApp/Info.plist +$(GEN_DIR)/applebin_watchos-watchos_x86_64-dbg-ST-07c4a284aeba/bin/examples/multiplatform/watchOSAppExtension/Info.withbundleid.plist $(GEN_DIR)/applebin_watchos-watchos_x86_64-dbg-ST-07c4a284aeba/bin/examples/multiplatform/watchOSAppExtension/rules_xcodeproj/watchOSAppExtension/Info.plist $(GEN_DIR)/ios-arm64-min15.0-applebin_ios-ios_arm64-dbg-ST-787a8770ecb8/bin/examples/multiplatform/Lib/Lib.swift $(GEN_DIR)/ios-arm64-min15.0-applebin_ios-ios_arm64-dbg-ST-787a8770ecb8/bin/examples/multiplatform/WidgetExtension/Intents.swift diff --git a/test/fixtures/multiplatform/bwx_spec.json b/test/fixtures/multiplatform/bwx_spec.json index 1d22475e18..cfcbd71bd7 100644 --- a/test/fixtures/multiplatform/bwx_spec.json +++ b/test/fixtures/multiplatform/bwx_spec.json @@ -52,11 +52,19 @@ "t": "e" }, "examples/multiplatform/watchOSAppExtension/Info.plist", + { + "_": "applebin_watchos-watchos_arm64_32-dbg-ST-934faf172fd3/bin/examples/multiplatform/watchOSAppExtension/Info.withbundleid.plist", + "t": "g" + }, { "_": "applebin_watchos-watchos_arm64_32-dbg-ST-934faf172fd3/bin/examples/multiplatform/watchOSAppExtension/rules_xcodeproj/watchOSAppExtension/Info.plist", "t": "g" }, "examples/multiplatform/watchOSApp/Info.plist", + { + "_": "applebin_watchos-watchos_arm64_32-dbg-ST-934faf172fd3/bin/examples/multiplatform/watchOSApp/Info.withbundleid.plist", + "t": "g" + }, { "_": "applebin_watchos-watchos_arm64_32-dbg-ST-934faf172fd3/bin/examples/multiplatform/watchOSApp/rules_xcodeproj/watchOSApp/Info.plist", "t": "g" @@ -94,10 +102,18 @@ "_": "com_github_krzyzanowskim_cryptoswift/CryptoSwift.xcframework/watchos-arm64_i386_x86_64-simulator/CryptoSwift.framework", "t": "e" }, + { + "_": "applebin_watchos-watchos_x86_64-dbg-ST-07c4a284aeba/bin/examples/multiplatform/watchOSAppExtension/Info.withbundleid.plist", + "t": "g" + }, { "_": "applebin_watchos-watchos_x86_64-dbg-ST-07c4a284aeba/bin/examples/multiplatform/watchOSAppExtension/rules_xcodeproj/watchOSAppExtension/Info.plist", "t": "g" }, + { + "_": "applebin_watchos-watchos_x86_64-dbg-ST-07c4a284aeba/bin/examples/multiplatform/watchOSApp/Info.withbundleid.plist", + "t": "g" + }, { "_": "applebin_watchos-watchos_x86_64-dbg-ST-07c4a284aeba/bin/examples/multiplatform/watchOSApp/rules_xcodeproj/watchOSApp/Info.plist", "t": "g" diff --git a/xcodeproj/internal/input_files.bzl b/xcodeproj/internal/input_files.bzl index 22318ec4fe..d4a7048b50 100644 --- a/xcodeproj/internal/input_files.bzl +++ b/xcodeproj/internal/input_files.bzl @@ -180,15 +180,9 @@ def _collect( # assigning to the existing variable pch.append(file) elif attr in automatic_target_info.infoplists: - if file.is_source: - # We don't need to include a generated one, as we already use - # the Bazel generated one, which is one step further generated - extra_files.append(file_path(file)) + extra_files.append(file_path(file)) elif attr in automatic_target_info.launchdplists: - if file.is_source: - # We don't need to include a generated one, as we already use - # the Bazel generated one, which is one step further generated - extra_files.append(file_path(file)) + extra_files.append(file_path(file)) elif attr == automatic_target_info.entitlements: # We use `append` instead of setting a single value because # assigning to `entitlements` creates a new local variable instead