From 641e6f8f55382226e59090b2e1b66b13028d17ac Mon Sep 17 00:00:00 2001 From: Nick Cooke <36927374+ncooke3@users.noreply.github.com> Date: Wed, 17 Jan 2024 13:08:15 -0500 Subject: [PATCH] [NFC] Fix typos: XCode -> Xcode (#12294) --- FirebasePerformance/README.md | 2 +- FirebasePerformance/generate_project.sh | 4 ++-- .../Serializer/Corpus/ConvertTextToBinary.sh | 2 +- Firestore/core/CMakeLists.txt | 2 +- Firestore/core/src/nanopb/pretty_printing.cc | 2 +- Firestore/core/test/unit/FSTGoogleTestTests.mm | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/FirebasePerformance/README.md b/FirebasePerformance/README.md index f1dc615275c..1372cb1e247 100644 --- a/FirebasePerformance/README.md +++ b/FirebasePerformance/README.md @@ -23,6 +23,6 @@ The above command should be sufficient for most scenarios. Few more options list - `sh generate_project.sh` (or) `sh generate_project.sh -e "autopush"` -### Re-generate XCode project by deleting old XCode project +### Re-generate Xcode project by deleting old Xcode project - `sh generate_project.sh -c` diff --git a/FirebasePerformance/generate_project.sh b/FirebasePerformance/generate_project.sh index d1e22dc7829..cc5c175507a 100755 --- a/FirebasePerformance/generate_project.sh +++ b/FirebasePerformance/generate_project.sh @@ -24,7 +24,7 @@ helpFunction() echo "" echo "Usage: $0 -e (prod/autopush*) -p (platform)" echo -e "\tEvent upload environment - prod (or) autopush. Default: autopush" - echo -c "\tRecreate the Xcode project from scratch. Default: Reuse same XCode project" + echo -c "\tRecreate the Xcode project from scratch. Default: Reuse same Xcode project" exit 1 # Exit script after printing help } @@ -67,7 +67,7 @@ if [ -z "$clean" ] then pod gen "$DIR/FirebasePerformance.podspec" --local-sources="$DIR/" --auto-open --gen-directory="$DIR/gen" --platforms="$platform" else - echo "\nCreating a fresh Fireperf XCode project." + echo "\nCreating a fresh Fireperf Xcode project." rm -f "$DIR/FirebasePerformance/ProtoSupport/*.[hm]" protoc --proto_path="$DIR/FirebasePerformance/ProtoSupport/" --objc_out="$DIR/FirebasePerformance/ProtoSupport/" "$DIR/FirebasePerformance/ProtoSupport/perf_metric.proto" pod gen "$DIR/FirebasePerformance.podspec" --local-sources="$DIR/" --auto-open --gen-directory="$DIR/gen" --platforms="$platform" --clean diff --git a/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh b/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh index e733fe2ed75..785d69be2b6 100755 --- a/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh +++ b/Firestore/Example/FuzzTests/FuzzingResources/Serializer/Corpus/ConvertTextToBinary.sh @@ -18,7 +18,7 @@ # folder defined by SCRIPT_INPUT_FILE_0 and the generated binary protos are # stored in the folder defined by SCRIPT_OUTPUT_FILE_0. Both SCRIPT_INPUT_FILE_0 # and SCRIPT_OUTPUT_FILE_0 are defined in the Run Script Build Phase of the -# XCode build target Firestore_FuzzTests_iOS that executes this script. XCode +# Xcode build target Firestore_FuzzTests_iOS that executes this script. Xcode # defines these environment variables and makes them available to the script. # # By default Xcode build phase scripts run in a stripped down environment that diff --git a/Firestore/core/CMakeLists.txt b/Firestore/core/CMakeLists.txt index 09f7da76308..65238165549 100644 --- a/Firestore/core/CMakeLists.txt +++ b/Firestore/core/CMakeLists.txt @@ -276,7 +276,7 @@ endif() ## gRPC Certificates -# Source files should be generated in place so that the XCode build can pick +# Source files should be generated in place so that the Xcode build can pick # them up. set(OUTPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/remote) diff --git a/Firestore/core/src/nanopb/pretty_printing.cc b/Firestore/core/src/nanopb/pretty_printing.cc index accab467977..e58accce2d4 100644 --- a/Firestore/core/src/nanopb/pretty_printing.cc +++ b/Firestore/core/src/nanopb/pretty_printing.cc @@ -46,7 +46,7 @@ std::string ToString(float value) { // TODO(varconst): raise the precision. // The Objective-C protobuf library would use higher precision. E.g., it would // output 1.79769313486232e+308 in case where this implementation would only - // output 1.79769e+308 (tested in XCode 11, iOS simulator). + // output 1.79769e+308 (tested in Xcode 11, iOS simulator). std::ostringstream stream; stream << value; return stream.str(); diff --git a/Firestore/core/test/unit/FSTGoogleTestTests.mm b/Firestore/core/test/unit/FSTGoogleTestTests.mm index 97e1e9490cb..244875a1614 100644 --- a/Firestore/core/test/unit/FSTGoogleTestTests.mm +++ b/Firestore/core/test/unit/FSTGoogleTestTests.mm @@ -231,19 +231,19 @@ void XCTestMethod(XCTestCase* self, SEL _cmd) { const testing::TestResult* result = testInfo->result(); if (result->Passed()) { - // Let XCode know that the test ran and succeeded. + // Let Xcode know that the test ran and succeeded. XCTAssertTrue(true); return; } else if (result->Skipped()) { #if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130400 || \ __TV_OS_VERSION_MAX_ALLOWED >= 130400 || \ __MAC_OS_X_VERSION_MAX_ALLOWED >= 101504 - // Let XCode know that the test was skipped. + // Let Xcode know that the test was skipped. XCTSkip(); #endif } - // Test failed :-(. Record the failure such that XCode will navigate directly + // Test failed :-(. Record the failure such that Xcode will navigate directly // to the file:line. int parts = result->total_part_count(); for (int i = 0; i < parts; i++) {