File tree Expand file tree Collapse file tree
files_and_groups/test/ElementCreator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -512,7 +512,7 @@ final class CreateFileElementTests: XCTestCase {
512512 )
513513
514514 let expectedContent = #"""
515- {isa = PBXFileReference; explicitFileType = wrapper.xcmappingmodel; path = a_path; sourceTree = "<group>"; }
515+ {isa = PBXFileReference; lastKnownFileType = wrapper.xcmappingmodel; path = a_path; sourceTree = "<group>"; }
516516"""#
517517
518518 // Act
Original file line number Diff line number Diff line change @@ -181,18 +181,6 @@ extension Generator {
181181 key: " BAZEL_SEPARATE_INDEXBUILD_OUTPUT_BASE " ,
182182 value: " YES "
183183 ) ,
184- . init(
185- key: " INDEXING_PROJECT_DIR__ " ,
186- value: #""$(INDEXING_PROJECT_DIR__NO)""#
187- ) ,
188- . init(
189- key: " INDEXING_PROJECT_DIR__NO " ,
190- value: projectDir. pbxProjEscaped
191- ) ,
192- . init(
193- key: " INDEXING_PROJECT_DIR__YES " ,
194- value: indexingProjectDir. pbxProjEscaped
195- ) ,
196184 . init(
197185 key: " PROJECT_DIR " ,
198186 value:
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ class PBXProjectBuildSettingsTests: XCTestCase {
4949 ENABLE_USER_SCRIPT_SANDBOXING = NO;
5050 GCC_OPTIMIZATION_LEVEL = 0;
5151 IMPORT_INDEX_BUILD_INDEXSTORES = NO;
52+ INDEXING_PROJECT_DIR__ = "$(INDEXING_PROJECT_DIR__NO)";
53+ INDEXING_PROJECT_DIR__NO = "/some/project dir";
54+ INDEXING_PROJECT_DIR__YES = "/some/indexing/project dir";
5255 INDEX_DATA_STORE_DIR = "$(INDEX_DATA_STORE_DIR)";
5356 INDEX_FORCE_SCRIPT_EXECUTION = YES;
5457 INDEX_IMPORT = "$(BAZEL_EXTERNAL)/index-import";
@@ -123,6 +126,7 @@ class PBXProjectBuildSettingsTests: XCTestCase {
123126 BAZEL_LLDB_INIT = "$(HOME)/.lldbinit-rules_xcodeproj";
124127 BAZEL_OUT = "$(PROJECT_DIR)/bazel-out";
125128 BAZEL_OUTPUT_BASE = "$(_BAZEL_OUTPUT_BASE:standardizepath)";
129+ BAZEL_SEPARATE_INDEXBUILD_OUTPUT_BASE = YES;
126130 BAZEL_WORKSPACE_ROOT = "$(SRCROOT)";
127131 BUILD_DIR = "$(SYMROOT)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)";
128132 BUILD_MARKER_FILE = "$(OBJROOT)/build_marker";
You can’t perform that action at this time.
0 commit comments