Skip to content

Commit bf46e56

Browse files
authored
Merge pull request #249 from thingineeer/#248---fastlane
[Setting] #248 - fastlane match, TestFlight 도입 하였습니다.
2 parents 1872784 + c221014 commit bf46e56

File tree

15 files changed

+113
-36
lines changed

15 files changed

+113
-36
lines changed

.gitignore

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,14 @@ Dependencies/
8282
# For more information about the recommended setup visit:
8383
# https://docs.fastlane.tools/best-practices/source-control/#source-control
8484

85-
fastlane/report.xml
86-
fastlane/Preview.html
87-
fastlane/screenshots/**/*.png
88-
fastlane/test_output
85+
**/fastlane/report.xml
86+
**/fastlane/Preview.html
87+
**/fastlane/screenshots/**/*.png
88+
**/fastlane/BuildOutputs
89+
90+
**/fastlane/.env.default
91+
92+
**Gemfile.lock
8993

9094
# Code Injection
9195
# After new code Injection tools there's a generated folder /iOSInjectionProject
@@ -111,10 +115,9 @@ iOSInjectionProject/
111115
Config.swift
112116
Gemfile.lock
113117
report.xml
114-
Runnect-iOS/fastlane/.env.default
115118

116119
### Runniest project - git ignore setting ###
117-
Runnect-iOS/Runnect-iOS/Info.plist
120+
/Runnect-iOS/Runnect-iOS/Info.plist
118121
Runnect-iOS/Info.plist
119122
Info.plist
120123

Runnect-iOS/Runnect-iOS.xcodeproj/project.pbxproj

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1709,9 +1709,11 @@
17091709
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
17101710
CODE_SIGN_ENTITLEMENTS = "Runnect-iOS/Runnect-iOSDebug.entitlements";
17111711
CODE_SIGN_IDENTITY = "Apple Development";
1712-
CODE_SIGN_STYLE = Automatic;
1713-
CURRENT_PROJECT_VERSION = 1.0.8;
1714-
DEVELOPMENT_TEAM = 8Q4H7X3Q58;
1712+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1713+
CODE_SIGN_STYLE = Manual;
1714+
CURRENT_PROJECT_VERSION = 2024.0122.2217;
1715+
DEVELOPMENT_TEAM = "";
1716+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 8Q4H7X3Q58;
17151717
GENERATE_INFOPLIST_FILE = NO;
17161718
INFOPLIST_FILE = "Runnect-iOS/Info.plist";
17171719
INFOPLIST_KEY_CFBundleDisplayName = Runnect;
@@ -1732,6 +1734,7 @@
17321734
PRODUCT_BUNDLE_IDENTIFIER = "com.runnect.Runnect-iOS";
17331735
PRODUCT_NAME = "$(TARGET_NAME)";
17341736
PROVISIONING_PROFILE_SPECIFIER = "";
1737+
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match Development com.runnect.Runnect-iOS";
17351738
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
17361739
SUPPORTS_MACCATALYST = NO;
17371740
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
@@ -1750,9 +1753,11 @@
17501753
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
17511754
CODE_SIGN_ENTITLEMENTS = "Runnect-iOS/Runnect-iOS.entitlements";
17521755
CODE_SIGN_IDENTITY = "Apple Development";
1753-
CODE_SIGN_STYLE = Automatic;
1754-
CURRENT_PROJECT_VERSION = 1.0.8;
1755-
DEVELOPMENT_TEAM = 8Q4H7X3Q58;
1756+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1757+
CODE_SIGN_STYLE = Manual;
1758+
CURRENT_PROJECT_VERSION = 2024.0122.2217;
1759+
DEVELOPMENT_TEAM = "";
1760+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 8Q4H7X3Q58;
17561761
GENERATE_INFOPLIST_FILE = NO;
17571762
INFOPLIST_FILE = "Runnect-iOS/Info.plist";
17581763
INFOPLIST_KEY_CFBundleDisplayName = Runnect;
@@ -1773,6 +1778,7 @@
17731778
PRODUCT_BUNDLE_IDENTIFIER = "com.runnect.Runnect-iOS";
17741779
PRODUCT_NAME = "$(TARGET_NAME)";
17751780
PROVISIONING_PROFILE_SPECIFIER = "";
1781+
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match Development com.runnect.Runnect-iOS";
17761782
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
17771783
SUPPORTS_MACCATALYST = NO;
17781784
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;

Runnect-iOS/Runnect-iOS/Global/UIComponents/MapView/RNMapView.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,9 @@ extension RNMapView: NMFMapViewCameraDelegate, NMFMapViewTouchDelegate {
392392
self.makeMarker(at: latlng)
393393
}
394394

395+
func mapView(_ mapView: NMFMapView, cameraWillChangeByReason reason: Int, animated: Bool) {
396+
}
397+
395398
// 지도 이동 멈췄을 때 호출되는 메서드
396399
func mapViewCameraIdle(_ mapView: NMFMapView) {
397400
let latitude = mapView.cameraPosition.target.lat

Runnect-iOS/Runnect-iOS/Info.plist

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>CFBundleIconName</key>
6+
<string>AppIcon</string>
57
<key>CFBundleDevelopmentRegion</key>
68
<string>$(DEVELOPMENT_LANGUAGE)</string>
79
<key>CFBundleDisplayName</key>
@@ -17,7 +19,7 @@
1719
<key>CFBundlePackageType</key>
1820
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1921
<key>CFBundleShortVersionString</key>
20-
<string>1.0.8</string>
22+
<string>1.0.10</string>
2123
<key>CFBundleURLTypes</key>
2224
<array>
2325
<dict>
@@ -42,7 +44,7 @@
4244
</dict>
4345
</array>
4446
<key>CFBundleVersion</key>
45-
<string>2023.0712.2207</string>
47+
<string>2024.0122.2217</string>
4648
<key>LSApplicationQueriesSchemes</key>
4749
<array>
4850
<string>kakaokompassauth</string>

Runnect-iOS/Runnect-iOS/Presentation/CourseDiscovery/Views/VC/CourseDiscoveryVC.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ extension CourseDiscoveryVC {
162162
@objc private func pushToCourseSelectVC() {
163163
guard UserManager.shared.userType != .visitor else {
164164
self.showToastOnWindow(text: "러넥트에 가입하면 코스를 업로드할 수 있어요.")
165+
166+
analyze(buttonName: GAEvent.Button.clickJoinInCourseDiscovery)
165167
return
166168
}
167169

@@ -452,10 +454,10 @@ extension CourseDiscoveryVC: ScrapStateDelegate {
452454
}
453455

454456
func didRemoveCourse(publicCourseId: Int) {
455-
// if let index = courseList.firstIndex(where: { $0.id == publicCourseId }) {
456-
// courseList.remove(at: index)
457-
// self.mapCollectionView.reloadData()
458-
// }
457+
// if let index = courseList.firstIndex(where: { $0.id == publicCourseId }) {
458+
// courseList.remove(at: index)
459+
// self.mapCollectionView.reloadData()
460+
// }
459461
// ⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️
460462
// 원래 해당하는 데이터(index) 만 가지고, 그 데이터 삭제 후 courseList를 받아야하는데, 삭제가 이미되어버려서 if let index 부분이 안들어옴
461463
// 왜??? 이미 데이터는 삭제가 되어서 $0.id 랑 publicCourseId 가 같은게 매치가 될 수 없어!!!

Runnect-iOS/Runnect-iOS/Presentation/CourseDrawing/VC/CourseDrawingHomeVC.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ extension CourseDrawingHomeVC {
5050
// MARK: - @objc Function
5151
extension CourseDrawingHomeVC {
5252
@objc private func pushToDepartureSearchVC() {
53+
guard UserManager.shared.userType != .visitor else {
54+
self.showToastOnWindow(text: "러넥트에 가입하면 코스를 업로드할 수 있어요.")
55+
56+
analyze(buttonName: GAEvent.Button.clickJoinInCourseDrawing)
57+
return
58+
}
5359

5460
analyze(buttonName: GAEvent.Button.clickCourseDrawing)
5561

Runnect-iOS/Runnect-iOS/Presentation/CourseDrawing/VC/CourseDrawingVC.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ extension CourseDrawingVC {
262262
bottomSheetVC.modalPresentationStyle = .overFullScreen
263263
bottomSheetVC.completeButtonTapAction = { [weak self] text in
264264
guard let self = self else { return }
265-
guard handleVisitor() else { return }
265+
guard bottomSheetVC.handleVisitor() else { return } // 사실상 여기까지 못 들어오는게 맞음 (코스 그리기에서 막았다.)
266266
self.courseName = text
267267
self.mapView.capturePathImage()
268268
self.dismiss(animated: false)

Runnect-iOS/Runnect-iOS/Presentation/CourseDrawing/VC/DepartureSearchVC.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,16 @@ extension DepartureSearchVC {
107107
selectDirectionView.gesture().sink { [weak self] _ in
108108
guard let self = self else { return }
109109
SelectedInfo.shared.type = .other
110+
111+
analyze(buttonName: GAEvent.Button.clickCurrentLocate)
110112
self.setLocation()
111113
}.store(in: cancelBag)
112114

113115
selectMapView.gesture().sink { [weak self] _ in
114116
guard let self = self else { return }
115117
SelectedInfo.shared.type = .map
118+
119+
analyze(buttonName: GAEvent.Button.clickMapLocate)
116120
self.setLocation()
117121
}.store(in: cancelBag)
118122
}

Runnect-iOS/Runnect-iOS/Presentation/CourseStorage/VC/CourseStorageVC.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ extension CourseStorageVC {
216216

217217
guard UserManager.shared.userType != .visitor else {
218218
self.showSignInRequestEmptyView()
219+
analyze(buttonName: GAEvent.Button.clickJoinInStorage)
219220
return
220221
}
221222

Runnect-iOS/Runnect-iOS/Presentation/CourseStorage/Views/CourseListView/ScrapCourseListView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ extension ScrapCourseListView: UICollectionViewDelegateFlowLayout {
156156

157157
extension ScrapCourseListView: ListEmptyViewDelegate {
158158
func emptyViewButtonTapped() {
159+
analyze(buttonName: GAEvent.Button.clickScrapCourse)
160+
159161
self.scrapButtonTapped.send()
160162
}
161163
}

0 commit comments

Comments
 (0)