Skip to content

Commit

Permalink
Enable build for test target + tidy fastfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewc committed Apr 19, 2024
1 parent 9b6b200 commit 9fe6e48
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
22 changes: 21 additions & 1 deletion .swiftpm/xcode/xcshareddata/xcschemes/PrimerSDKTests.xcscheme
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1530"
version = "1.7">
version = "2.2">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<AutocreatedTestPlanReference>
</AutocreatedTestPlanReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
Expand Down Expand Up @@ -43,6 +54,15 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PrimerSDKTests"
BuildableName = "PrimerSDKTests"
BlueprintName = "PrimerSDKTests"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
6 changes: 2 additions & 4 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,8 @@ platform :ios do
run_tests(
package_path: ".",
scheme: "PrimerSDKTests",
sdk: "iphonesimulator17.2",
destination: "OS=17.2,name=iPhone 15 Pro",
test_without_building: true
# xcargs: "EXCLUDED_ARCHS[sdk=iphonesimulator*]=arm64",
sdk: "iphonesimulator17.4",
destination: "OS=17.4,name=iPhone 15 Pro",
)
end

Expand Down

0 comments on commit 9fe6e48

Please sign in to comment.