Skip to content

Commit 5386193

Browse files
authored
Merge pull request #64 from eunjooChoi/develop
v1.0.0 Merge to main
2 parents edf6e52 + 9e6a780 commit 5386193

File tree

114 files changed

+5967
-170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+5967
-170
lines changed

.github/workflows/test_on_develop.yml

+14-30
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: iOS starter workflow
1+
name: Build and Test
22

33
on:
44
push:
@@ -8,37 +8,21 @@ on:
88

99
jobs:
1010
build:
11-
name: Build and Test default scheme using any available iPhone simulator
12-
runs-on: macos-latest
11+
name: Build and Test
12+
runs-on: macos-14
1313

1414
steps:
15+
- uses: maxim-lobanov/setup-xcode@v1
16+
with:
17+
xcode-version: '15.0.1'
1518
- name: Checkout
1619
uses: actions/checkout@v3
17-
- name: Set Default Scheme
20+
- name: Build and Test
1821
run: |
19-
scheme_list=$(xcodebuild -list -json | tr -d "\n")
20-
default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['project']['targets'][0]")
21-
echo $default | cat >default
22-
echo Using default scheme: $default
23-
- name: Build
24-
env:
25-
scheme: ${{ 'default' }}
26-
platform: ${{ 'iOS Simulator' }}
27-
run: |
28-
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
29-
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}' | sed -e "s/ Simulator$//"`
30-
if [ $scheme = default ]; then scheme=$(cat default); fi
31-
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
32-
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
33-
xcodebuild build-for-testing -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device"
34-
- name: Test
35-
env:
36-
scheme: ${{ 'default' }}
37-
platform: ${{ 'iOS Simulator' }}
38-
run: |
39-
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
40-
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}' | sed -e "s/ Simulator$//"`
41-
if [ $scheme = default ]; then scheme=$(cat default); fi
42-
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
43-
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
44-
xcodebuild test-without-building -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device"
22+
xcodebuild clean -project PlantingMind/PlantingMind.xcodeproj -scheme PlantingMind -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.0.1' -resultBundlePath TestResults test
23+
- name: xcresulttool
24+
uses: kishikawakatsumi/xcresulttool@v1.7.1
25+
with:
26+
path: TestResults.xcresult
27+
if: success() || failure()
28+

PlantingMind/PlantingMind.xcodeproj/project.pbxproj

+623-26
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
6+
<true/>
7+
</dict>
8+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
{
2+
"pins" : [
3+
{
4+
"identity" : "abseil-cpp-binary",
5+
"kind" : "remoteSourceControl",
6+
"location" : "https://github.com/google/abseil-cpp-binary.git",
7+
"state" : {
8+
"revision" : "748c7837511d0e6a507737353af268484e1745e2",
9+
"version" : "1.2024011601.1"
10+
}
11+
},
12+
{
13+
"identity" : "app-check",
14+
"kind" : "remoteSourceControl",
15+
"location" : "https://github.com/google/app-check.git",
16+
"state" : {
17+
"revision" : "c218c2054299b15ae577e818bbba16084d3eabe6",
18+
"version" : "10.18.2"
19+
}
20+
},
21+
{
22+
"identity" : "firebase-ios-sdk",
23+
"kind" : "remoteSourceControl",
24+
"location" : "https://github.com/firebase/firebase-ios-sdk",
25+
"state" : {
26+
"revision" : "42eae77a0af79e9c3f41df04a23c76f05cfdda77",
27+
"version" : "10.24.0"
28+
}
29+
},
30+
{
31+
"identity" : "googleappmeasurement",
32+
"kind" : "remoteSourceControl",
33+
"location" : "https://github.com/google/GoogleAppMeasurement.git",
34+
"state" : {
35+
"revision" : "51ba746a9d51a4bd0774b68499b0c73ef6e8570d",
36+
"version" : "10.24.0"
37+
}
38+
},
39+
{
40+
"identity" : "googledatatransport",
41+
"kind" : "remoteSourceControl",
42+
"location" : "https://github.com/google/GoogleDataTransport.git",
43+
"state" : {
44+
"revision" : "a637d318ae7ae246b02d7305121275bc75ed5565",
45+
"version" : "9.4.0"
46+
}
47+
},
48+
{
49+
"identity" : "googleutilities",
50+
"kind" : "remoteSourceControl",
51+
"location" : "https://github.com/google/GoogleUtilities.git",
52+
"state" : {
53+
"revision" : "26c898aed8bed13b8a63057ee26500abbbcb8d55",
54+
"version" : "7.13.1"
55+
}
56+
},
57+
{
58+
"identity" : "grpc-binary",
59+
"kind" : "remoteSourceControl",
60+
"location" : "https://github.com/google/grpc-binary.git",
61+
"state" : {
62+
"revision" : "e9fad491d0673bdda7063a0341fb6b47a30c5359",
63+
"version" : "1.62.2"
64+
}
65+
},
66+
{
67+
"identity" : "gtm-session-fetcher",
68+
"kind" : "remoteSourceControl",
69+
"location" : "https://github.com/google/gtm-session-fetcher.git",
70+
"state" : {
71+
"revision" : "9534039303015a84837090d20fa21cae6e5eadb6",
72+
"version" : "3.3.2"
73+
}
74+
},
75+
{
76+
"identity" : "interop-ios-for-google-sdks",
77+
"kind" : "remoteSourceControl",
78+
"location" : "https://github.com/google/interop-ios-for-google-sdks.git",
79+
"state" : {
80+
"revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
81+
"version" : "100.0.0"
82+
}
83+
},
84+
{
85+
"identity" : "leveldb",
86+
"kind" : "remoteSourceControl",
87+
"location" : "https://github.com/firebase/leveldb.git",
88+
"state" : {
89+
"revision" : "43aaef65e0c665daadf848761d560e446d350d3d",
90+
"version" : "1.22.4"
91+
}
92+
},
93+
{
94+
"identity" : "nanopb",
95+
"kind" : "remoteSourceControl",
96+
"location" : "https://github.com/firebase/nanopb.git",
97+
"state" : {
98+
"revision" : "b7e1104502eca3a213b46303391ca4d3bc8ddec1",
99+
"version" : "2.30910.0"
100+
}
101+
},
102+
{
103+
"identity" : "promises",
104+
"kind" : "remoteSourceControl",
105+
"location" : "https://github.com/google/promises.git",
106+
"state" : {
107+
"revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac",
108+
"version" : "2.4.0"
109+
}
110+
},
111+
{
112+
"identity" : "swift-protobuf",
113+
"kind" : "remoteSourceControl",
114+
"location" : "https://github.com/apple/swift-protobuf.git",
115+
"state" : {
116+
"revision" : "9f0c76544701845ad98716f3f6a774a892152bcb",
117+
"version" : "1.26.0"
118+
}
119+
}
120+
],
121+
"version" : 2
122+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1500"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "7B11F8232B4549DF00346A41"
18+
BuildableName = "PlantingMind.app"
19+
BlueprintName = "PlantingMind"
20+
ReferencedContainer = "container:PlantingMind.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<TestPlans>
31+
<TestPlanReference
32+
reference = "container:PlantingMind.xctestplan"
33+
default = "YES">
34+
</TestPlanReference>
35+
</TestPlans>
36+
</TestAction>
37+
<LaunchAction
38+
buildConfiguration = "Debug"
39+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
40+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
41+
launchStyle = "0"
42+
useCustomWorkingDirectory = "NO"
43+
ignoresPersistentStateOnLaunch = "NO"
44+
debugDocumentVersioning = "YES"
45+
debugServiceExtension = "internal"
46+
allowLocationSimulation = "YES">
47+
<BuildableProductRunnable
48+
runnableDebuggingMode = "0">
49+
<BuildableReference
50+
BuildableIdentifier = "primary"
51+
BlueprintIdentifier = "7B11F8232B4549DF00346A41"
52+
BuildableName = "PlantingMind.app"
53+
BlueprintName = "PlantingMind"
54+
ReferencedContainer = "container:PlantingMind.xcodeproj">
55+
</BuildableReference>
56+
</BuildableProductRunnable>
57+
</LaunchAction>
58+
<ProfileAction
59+
buildConfiguration = "Release"
60+
shouldUseLaunchSchemeArgsEnv = "YES"
61+
savedToolIdentifier = ""
62+
useCustomWorkingDirectory = "NO"
63+
debugDocumentVersioning = "YES">
64+
<BuildableProductRunnable
65+
runnableDebuggingMode = "0">
66+
<BuildableReference
67+
BuildableIdentifier = "primary"
68+
BlueprintIdentifier = "7B11F8232B4549DF00346A41"
69+
BuildableName = "PlantingMind.app"
70+
BlueprintName = "PlantingMind"
71+
ReferencedContainer = "container:PlantingMind.xcodeproj">
72+
</BuildableReference>
73+
</BuildableProductRunnable>
74+
</ProfileAction>
75+
<AnalyzeAction
76+
buildConfiguration = "Debug">
77+
</AnalyzeAction>
78+
<ArchiveAction
79+
buildConfiguration = "Release"
80+
revealArchiveInOrganizer = "YES">
81+
</ArchiveAction>
82+
</Scheme>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1500"
4+
wasCreatedForAppExtension = "YES"
5+
version = "2.0">
6+
<BuildAction
7+
parallelizeBuildables = "YES"
8+
buildImplicitDependencies = "YES">
9+
<BuildActionEntries>
10+
<BuildActionEntry
11+
buildForTesting = "YES"
12+
buildForRunning = "YES"
13+
buildForProfiling = "YES"
14+
buildForArchiving = "YES"
15+
buildForAnalyzing = "YES">
16+
<BuildableReference
17+
BuildableIdentifier = "primary"
18+
BlueprintIdentifier = "7B11F8232B4549DF00346A41"
19+
BuildableName = "PlantingMind.app"
20+
BlueprintName = "PlantingMind"
21+
ReferencedContainer = "container:PlantingMind.xcodeproj">
22+
</BuildableReference>
23+
</BuildActionEntry>
24+
<BuildActionEntry
25+
buildForTesting = "YES"
26+
buildForRunning = "YES"
27+
buildForProfiling = "YES"
28+
buildForArchiving = "YES"
29+
buildForAnalyzing = "YES">
30+
<BuildableReference
31+
BuildableIdentifier = "primary"
32+
BlueprintIdentifier = "7B63CA9A2BA9CB4600943DED"
33+
BuildableName = "PlantingWidgetExtension.appex"
34+
BlueprintName = "PlantingWidgetExtension"
35+
ReferencedContainer = "container:PlantingMind.xcodeproj">
36+
</BuildableReference>
37+
</BuildActionEntry>
38+
</BuildActionEntries>
39+
</BuildAction>
40+
<TestAction
41+
buildConfiguration = "Debug"
42+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
43+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
44+
shouldUseLaunchSchemeArgsEnv = "YES"
45+
shouldAutocreateTestPlan = "YES">
46+
</TestAction>
47+
<LaunchAction
48+
buildConfiguration = "Debug"
49+
selectedDebuggerIdentifier = ""
50+
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
51+
launchStyle = "0"
52+
askForAppToLaunch = "Yes"
53+
useCustomWorkingDirectory = "NO"
54+
ignoresPersistentStateOnLaunch = "NO"
55+
debugDocumentVersioning = "YES"
56+
debugServiceExtension = "internal"
57+
allowLocationSimulation = "YES"
58+
launchAutomaticallySubstyle = "2">
59+
<RemoteRunnable
60+
runnableDebuggingMode = "2"
61+
BundleIdentifier = "com.apple.springboard">
62+
<BuildableReference
63+
BuildableIdentifier = "primary"
64+
BlueprintIdentifier = "7B63CA9A2BA9CB4600943DED"
65+
BuildableName = "PlantingWidgetExtension.appex"
66+
BlueprintName = "PlantingWidgetExtension"
67+
ReferencedContainer = "container:PlantingMind.xcodeproj">
68+
</BuildableReference>
69+
</RemoteRunnable>
70+
<MacroExpansion>
71+
<BuildableReference
72+
BuildableIdentifier = "primary"
73+
BlueprintIdentifier = "7B11F8232B4549DF00346A41"
74+
BuildableName = "PlantingMind.app"
75+
BlueprintName = "PlantingMind"
76+
ReferencedContainer = "container:PlantingMind.xcodeproj">
77+
</BuildableReference>
78+
</MacroExpansion>
79+
<EnvironmentVariables>
80+
<EnvironmentVariable
81+
key = "_XCWidgetKind"
82+
value = ""
83+
isEnabled = "YES">
84+
</EnvironmentVariable>
85+
<EnvironmentVariable
86+
key = "_XCWidgetDefaultView"
87+
value = "timeline"
88+
isEnabled = "YES">
89+
</EnvironmentVariable>
90+
<EnvironmentVariable
91+
key = "_XCWidgetFamily"
92+
value = "systemMedium"
93+
isEnabled = "YES">
94+
</EnvironmentVariable>
95+
</EnvironmentVariables>
96+
</LaunchAction>
97+
<ProfileAction
98+
buildConfiguration = "Release"
99+
shouldUseLaunchSchemeArgsEnv = "YES"
100+
savedToolIdentifier = ""
101+
useCustomWorkingDirectory = "NO"
102+
debugDocumentVersioning = "YES"
103+
askForAppToLaunch = "Yes"
104+
launchAutomaticallySubstyle = "2">
105+
<BuildableProductRunnable
106+
runnableDebuggingMode = "0">
107+
<BuildableReference
108+
BuildableIdentifier = "primary"
109+
BlueprintIdentifier = "7B11F8232B4549DF00346A41"
110+
BuildableName = "PlantingMind.app"
111+
BlueprintName = "PlantingMind"
112+
ReferencedContainer = "container:PlantingMind.xcodeproj">
113+
</BuildableReference>
114+
</BuildableProductRunnable>
115+
</ProfileAction>
116+
<AnalyzeAction
117+
buildConfiguration = "Debug">
118+
</AnalyzeAction>
119+
<ArchiveAction
120+
buildConfiguration = "Release"
121+
revealArchiveInOrganizer = "YES">
122+
</ArchiveAction>
123+
</Scheme>

0 commit comments

Comments
 (0)