Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Oct 18, 2023
1 parent 0f83ee7 commit 136bea0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions PostHog.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@
3AC745BE296D6FE60025C109 = {
CreatedOnToolsVersion = 14.2;
LastSwiftMigration = 1420;
TestTargetID = 3AA34CF6296D951A003398F4;
};
};
};
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
10 changes: 10 additions & 0 deletions PostHog.xcodeproj/xcshareddata/xcschemes/PostHog.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3AC745BE296D6FE60025C109"
BuildableName = "PostHogTests.xctest"
BlueprintName = "PostHogTests"
ReferencedContainer = "container:PostHog.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForTesting = "NO"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
Expand Down
41 changes: 4 additions & 37 deletions PostHog.xcodeproj/xcshareddata/xcschemes/PostHogTests.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,13 @@
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<AutocreatedTestPlanReference>
</AutocreatedTestPlanReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3AA34CF6296D951A003398F4"
BuildableName = "PostHogExample.app"
BlueprintName = "PostHogExample"
ReferencedContainer = "container:PostHog.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand Down Expand Up @@ -61,32 +47,13 @@
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3AA34CF6296D951A003398F4"
BuildableName = "PostHogExample.app"
BlueprintName = "PostHogExample"
ReferencedContainer = "container:PostHog.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3AC745BE296D6FE60025C109"
BuildableName = "PostHogTests.xctest"
BlueprintName = "PostHogTests"
ReferencedContainer = "container:PostHog.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down

0 comments on commit 136bea0

Please sign in to comment.