From f5bf0a37a7dd40e7538a1aed77af05471b7fe713 Mon Sep 17 00:00:00 2001 From: Mina Farid Date: Mon, 11 Jun 2018 17:23:07 -0400 Subject: Fuzz testing Header Search Paths settings (#1395) * Modified `HEADER_SEARCH_PATHS` in the project file. --- Firestore/Example/Firestore.xcodeproj/project.pbxproj | 12 ++++++++++++ .../xcschemes/Firestore_FuzzTests_iOS.xcscheme | 13 ------------- Firestore/Example/FuzzTests/FSTFuzzTestsPrincipal.mm | 14 ++++++++++++-- 3 files changed, 24 insertions(+), 15 deletions(-) (limited to 'Firestore') diff --git a/Firestore/Example/Firestore.xcodeproj/project.pbxproj b/Firestore/Example/Firestore.xcodeproj/project.pbxproj index 0ce2716..11cabc4 100644 --- a/Firestore/Example/Firestore.xcodeproj/project.pbxproj +++ b/Firestore/Example/Firestore.xcodeproj/project.pbxproj @@ -2093,6 +2093,12 @@ "COCOAPODS=1", "GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1", ); + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "\"${PODS_ROOT}/../../..\"", + "\"${PODS_ROOT}/../../../Firestore/third_party/abseil-cpp\"", + "\"${PODS_ROOT}/nanopb\"", + ); INFOPLIST_FILE = "FuzzTests/Firestore_FuzzTests_iOS-Info.plist"; OTHER_CFLAGS = ( "$(inherited)", @@ -2123,6 +2129,12 @@ "COCOAPODS=1", "GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1", ); + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "\"${PODS_ROOT}/../../..\"", + "\"${PODS_ROOT}/../../../Firestore/third_party/abseil-cpp\"", + "\"${PODS_ROOT}/nanopb\"", + ); INFOPLIST_FILE = "FuzzTests/Firestore_FuzzTests_iOS-Info.plist"; OTHER_CFLAGS = ( "$(inherited)", diff --git a/Firestore/Example/Firestore.xcodeproj/xcshareddata/xcschemes/Firestore_FuzzTests_iOS.xcscheme b/Firestore/Example/Firestore.xcodeproj/xcshareddata/xcschemes/Firestore_FuzzTests_iOS.xcscheme index 051b1a4..039273b 100644 --- a/Firestore/Example/Firestore.xcodeproj/xcshareddata/xcschemes/Firestore_FuzzTests_iOS.xcscheme +++ b/Firestore/Example/Firestore.xcodeproj/xcshareddata/xcschemes/Firestore_FuzzTests_iOS.xcscheme @@ -5,19 +5,6 @@ - - - - - - ("RunFuzzTestingMain") // First argument is program name. + const_cast("RunFuzzTestingMain") // First arg is program name. }; char **argv = program_args; int argc = sizeof(program_args) / sizeof(program_args[0]); -- cgit v1.2.3