From 136bea0720439c26e397e436e34431f5eb0cc2ed Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Wed, 18 Oct 2023 18:03:10 +0200 Subject: [PATCH] fix --- Makefile | 2 +- PostHog.xcodeproj/project.pbxproj | 3 -- .../xcshareddata/xcschemes/PostHog.xcscheme | 10 +++++ .../xcschemes/PostHogExample.xcscheme | 2 +- .../xcschemes/PostHogTests.xcscheme | 41 ++----------------- 5 files changed, 16 insertions(+), 42 deletions(-) diff --git a/Makefile b/Makefile index 0a2a25dea..a06e1e30e 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ swiftFormat: swiftformat . --swiftversion 5.3 test: - set -o pipefail && xcodebuild test -configuration Debug -project PostHog.xcodeproj -scheme PostHogTests -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.2' | xcpretty + set -o pipefail && xcodebuild test -project PostHog.xcodeproj -scheme PostHog -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.2' | xcpretty lint: swiftformat . --lint --swiftversion 5.3 && swiftlint diff --git a/PostHog.xcodeproj/project.pbxproj b/PostHog.xcodeproj/project.pbxproj index 21e3a0cf4..731c6c51f 100644 --- a/PostHog.xcodeproj/project.pbxproj +++ b/PostHog.xcodeproj/project.pbxproj @@ -403,7 +403,6 @@ 3AC745BE296D6FE60025C109 = { CreatedOnToolsVersion = 14.2; LastSwiftMigration = 1420; - TestTargetID = 3AA34CF6296D951A003398F4; }; }; }; @@ -827,7 +826,6 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PostHogExample.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/PostHogExample"; TVOS_DEPLOYMENT_TARGET = 13.0; }; name = Debug; @@ -855,7 +853,6 @@ SWIFT_OBJC_BRIDGING_HEADER = "PostHogTests/TestUtils/PostHogTests-Bridging-Header.h"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PostHogExample.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/PostHogExample"; TVOS_DEPLOYMENT_TARGET = 13.0; }; name = Release; diff --git a/PostHog.xcodeproj/xcshareddata/xcschemes/PostHog.xcscheme b/PostHog.xcodeproj/xcshareddata/xcschemes/PostHog.xcscheme index f03433206..f4679242a 100644 --- a/PostHog.xcodeproj/xcshareddata/xcschemes/PostHog.xcscheme +++ b/PostHog.xcodeproj/xcshareddata/xcschemes/PostHog.xcscheme @@ -28,6 +28,16 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> + + + + + buildForRunning = "NO" + buildForProfiling = "NO" + buildForArchiving = "NO" + buildForAnalyzing = "NO"> - - - - - - - - - - - -