From 35c7197f07d030d6ed017fc729fbf5e69437b858 Mon Sep 17 00:00:00 2001 From: John Szumski <784312+jszumski@users.noreply.github.com> Date: Wed, 6 Sep 2023 14:30:07 -0400 Subject: [PATCH] Fix warnings for a missing base class and pointer mismatch. (#763) --- tests/macos/xcodeproj/NonArcObject.h | 2 +- .../xctest_absolute_source_locations.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/macos/xcodeproj/NonArcObject.h b/tests/macos/xcodeproj/NonArcObject.h index 166e88c6a..d34fa0d31 100644 --- a/tests/macos/xcodeproj/NonArcObject.h +++ b/tests/macos/xcodeproj/NonArcObject.h @@ -1,2 +1,2 @@ -@interface NonArcObject +@interface NonArcObject: NSObject @end diff --git a/tools/xctest_absolute_source_locations/xctest_absolute_source_locations.m b/tools/xctest_absolute_source_locations/xctest_absolute_source_locations.m index 3692b4c9c..aa96bf318 100644 --- a/tools/xctest_absolute_source_locations/xctest_absolute_source_locations.m +++ b/tools/xctest_absolute_source_locations/xctest_absolute_source_locations.m @@ -11,7 +11,7 @@ // @testBundle a string with the path: // e.g. "/Users/some/Library/Developer/Xcode/DerivedData/bazel-project-*/Build/Products/Debug-iphonesimulator/Some.xctest"; // Note: this code is effectively a noop on other test runners than Xcode's GUI -static NSURL *getWorkspacePath(NSURL *testBundle) +static NSURL *getWorkspacePath(NSString *testBundle) { NSArray *components = testBundle.pathComponents; if (components.count < 4) {