Skip to content

Commit 964fd99

Browse files
authored
Merge pull request #252 from thingineeer/#260-setting
[Fix] #250 - 파이어베이스 공용계정으로 이전 하였습니다.
2 parents 6c1e28d + ec4e915 commit 964fd99

File tree

9 files changed

+32
-84
lines changed

9 files changed

+32
-84
lines changed

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

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
712F661D2A7B7BAB00D9539B /* Config.swift in Sources */ = {isa = PBXBuildFile; fileRef = 712F661C2A7B7BAB00D9539B /* Config.swift */; };
2424
7136BF8A2AF921A900679364 /* CustomBottomSheetVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7136BF892AF921A900679364 /* CustomBottomSheetVC.swift */; };
2525
715D36E82B2CC64000CAA9D6 /* MyUploadedCourseResponseDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 715D36E72B2CC64000CAA9D6 /* MyUploadedCourseResponseDto.swift */; };
26+
71773C8E2B6BDF3B0041605E /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 71773C8D2B6BDF3B0041605E /* GoogleService-Info.plist */; };
2627
717916DA2B13613B009CEF97 /* MarathonListResponseDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 717916D92B13613B009CEF97 /* MarathonListResponseDto.swift */; };
2728
71802C5C2B3364C2008DBCEE /* CourseDetailScrapCountDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71802C5B2B3364C2008DBCEE /* CourseDetailScrapCountDto.swift */; };
2829
71BAD06A2B24CECC0061E31D /* UserProfileDto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71BAD0692B24CECC0061E31D /* UserProfileDto.swift */; };
@@ -196,6 +197,7 @@
196197
712F661C2A7B7BAB00D9539B /* Config.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Config.swift; sourceTree = "<group>"; };
197198
7136BF892AF921A900679364 /* CustomBottomSheetVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomBottomSheetVC.swift; sourceTree = "<group>"; };
198199
715D36E72B2CC64000CAA9D6 /* MyUploadedCourseResponseDto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyUploadedCourseResponseDto.swift; sourceTree = "<group>"; };
200+
71773C8D2B6BDF3B0041605E /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
199201
717916D92B13613B009CEF97 /* MarathonListResponseDto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MarathonListResponseDto.swift; sourceTree = "<group>"; };
200202
71802C5B2B3364C2008DBCEE /* CourseDetailScrapCountDto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CourseDetailScrapCountDto.swift; sourceTree = "<group>"; };
201203
71BAD0692B24CECC0061E31D /* UserProfileDto.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserProfileDto.swift; sourceTree = "<group>"; };
@@ -869,7 +871,7 @@
869871
CE6655A9295D7FAA00C64E12 /* Network */,
870872
CE6655A8295D7F7D00C64E12 /* Presentation */,
871873
CE4545D6295D7AF5003201E1 /* Info.plist */,
872-
23628DDD2B6BCB9C00894B18 /* GoogleService-Info.plist */,
874+
71773C8D2B6BDF3B0041605E /* GoogleService-Info.plist */,
873875
);
874876
path = "Runnect-iOS";
875877
sourceTree = "<group>";
@@ -1334,7 +1336,7 @@
13341336
files = (
13351337
CE665615295D989A00C64E12 /* .swiftlint.yml in Resources */,
13361338
CE17F0342961BEF800E1DED0 /* Pretendard-Bold.otf in Resources */,
1337-
23628DDE2B6BCB9C00894B18 /* GoogleService-Info.plist in Resources */,
1339+
71773C8E2B6BDF3B0041605E /* GoogleService-Info.plist in Resources */,
13381340
CE17F0352961BEF800E1DED0 /* Pretendard-SemiBold.otf in Resources */,
13391341
CE17F0332961BEF800E1DED0 /* Pretendard-Medium.otf in Resources */,
13401342
CE6655BF295D82E200C64E12 /* .gitkeep in Resources */,
@@ -1709,11 +1711,9 @@
17091711
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
17101712
CODE_SIGN_ENTITLEMENTS = "Runnect-iOS/Runnect-iOSDebug.entitlements";
17111713
CODE_SIGN_IDENTITY = "Apple Development";
1712-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1713-
CODE_SIGN_STYLE = Manual;
1714+
CODE_SIGN_STYLE = Automatic;
17141715
CURRENT_PROJECT_VERSION = 2024.0122.2217;
1715-
DEVELOPMENT_TEAM = "";
1716-
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 8Q4H7X3Q58;
1716+
DEVELOPMENT_TEAM = 8Q4H7X3Q58;
17171717
GENERATE_INFOPLIST_FILE = NO;
17181718
INFOPLIST_FILE = "Runnect-iOS/Info.plist";
17191719
INFOPLIST_KEY_CFBundleDisplayName = Runnect;
@@ -1734,7 +1734,6 @@
17341734
PRODUCT_BUNDLE_IDENTIFIER = "com.runnect.Runnect-iOS";
17351735
PRODUCT_NAME = "$(TARGET_NAME)";
17361736
PROVISIONING_PROFILE_SPECIFIER = "";
1737-
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match Development com.runnect.Runnect-iOS";
17381737
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
17391738
SUPPORTS_MACCATALYST = NO;
17401739
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
@@ -1753,11 +1752,9 @@
17531752
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
17541753
CODE_SIGN_ENTITLEMENTS = "Runnect-iOS/Runnect-iOS.entitlements";
17551754
CODE_SIGN_IDENTITY = "Apple Development";
1756-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1757-
CODE_SIGN_STYLE = Manual;
1755+
CODE_SIGN_STYLE = Automatic;
17581756
CURRENT_PROJECT_VERSION = 2024.0122.2217;
1759-
DEVELOPMENT_TEAM = "";
1760-
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 8Q4H7X3Q58;
1757+
DEVELOPMENT_TEAM = 8Q4H7X3Q58;
17611758
GENERATE_INFOPLIST_FILE = NO;
17621759
INFOPLIST_FILE = "Runnect-iOS/Info.plist";
17631760
INFOPLIST_KEY_CFBundleDisplayName = Runnect;
@@ -1778,7 +1775,6 @@
17781775
PRODUCT_BUNDLE_IDENTIFIER = "com.runnect.Runnect-iOS";
17791776
PRODUCT_NAME = "$(TARGET_NAME)";
17801777
PROVISIONING_PROFILE_SPECIFIER = "";
1781-
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match Development com.runnect.Runnect-iOS";
17821778
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
17831779
SUPPORTS_MACCATALYST = NO;
17841780
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;

Runnect-iOS/Runnect-iOS/Network/Dto/CourseDrawingDto/ResponseDto/KakaoAddressSearchingResponseDto.swift

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@
88
import Foundation
99

1010
// MARK: - DepartureAddressSearchingResponseDto
11-
struct KakaoAddressSearchingResponseDto: Codable {
11+
struct KakaoAddressSearchingResponseDto: Codable { /// 사용 안함
1212
let meta: Meta
1313
let documents: [Document]
1414

1515
func toDepartureLocationModel(latitude: Double, longitude: Double) -> DepartureLocationModel {
16-
let roadName = self.documents[0].roadAddress.buildingName ?? "내가 설정한 출발지"
16+
let roadName = self.documents[0].roadAddress.buildingName
1717

18-
return DepartureLocationModel(departureName: roadName, departureAddress: self.documents[0].address.addressName, latitude: String(latitude), longitude: String(longitude))
18+
return DepartureLocationModel(
19+
departureName: roadName,
20+
departureAddress: self.documents[0].address.addressName,
21+
latitude: String(latitude),
22+
longitude: String(longitude)
23+
)
1924
}
2025
}
2126

Runnect-iOS/Runnect-iOS/Presentation/CourseDetail/VC/CourseDetailVC.swift

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,13 @@ extension CourseDetailVC {
185185
let description = publicCourse.description
186186
let courseImage = publicCourse.image
187187

188-
let dynamicLinksDomainURIPrefix = "https://runnect.page.link"
188+
let dynamicLinksDomainURIPrefix = "https://rnnt.page.link"
189189
guard let link = URL(string: "\(dynamicLinksDomainURIPrefix)/?courseId=\(courseId)") else {
190190
return
191191
}
192192

193+
print("‼️link= \(link)")
194+
193195
guard let linkBuilder = DynamicLinkComponents(link: link, domainURIPrefix: dynamicLinksDomainURIPrefix) else {
194196
return
195197
}
@@ -198,6 +200,8 @@ extension CourseDetailVC {
198200
linkBuilder.iOSParameters?.appStoreID = "1663884202"
199201
linkBuilder.iOSParameters?.minimumAppVersion = "1.0.4"
200202

203+
linkBuilder.androidParameters = DynamicLinkAndroidParameters(packageName: "com.runnect.runnect")
204+
201205
linkBuilder.socialMetaTagParameters = DynamicLinkSocialMetaTagParameters()
202206
linkBuilder.socialMetaTagParameters?.imageURL = URL(string: courseImage)
203207
linkBuilder.socialMetaTagParameters?.title = title
@@ -210,7 +214,7 @@ extension CourseDetailVC {
210214

211215
/// 짧은 Dynamic Link로 변환하는 부분 입니다.
212216
linkBuilder.shorten { [weak self] url, _, error in // warning 파라미터 와일드 카드
213-
guard let shortDynamicLink = url else {
217+
guard let shortDynamicLink = url?.absoluteString else {
214218
if let error = error {
215219
print("❌Error shortening dynamic link: \(error)")
216220
}
@@ -220,7 +224,7 @@ extension CourseDetailVC {
220224
print("🔥The short URL is: \(shortDynamicLink)")
221225

222226
DispatchQueue.main.async {
223-
let activityVC = UIActivityViewController(activityItems: [shortDynamicLink.absoluteString], applicationActivities: nil)
227+
let activityVC = UIActivityViewController(activityItems: [shortDynamicLink], applicationActivities: nil)
224228
activityVC.popoverPresentationController?.sourceView = self?.view
225229
self?.present(activityVC, animated: true, completion: nil)
226230
}
@@ -318,8 +322,8 @@ extension CourseDetailVC {
318322
model.publicCourse.departure.town,
319323
model.publicCourse.departure.name
320324
]
321-
.compactMap { $0 }
322-
.joined(separator: " ")
325+
.compactMap { $0 }
326+
.joined(separator: " ")
323327

324328
self.courseDepartureInfoView.setDescriptionText(description: locate)
325329
self.courseExplanationTextView.text = model.publicCourse.description

Runnect-iOS/Runnect-iOS/Presentation/CourseDiscovery/Views/MarathonMapCollectionViewCell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ extension MarathonMapCollectionViewCell {
211211
LoadingIndicator.hideLoading()
212212
}
213213

214-
guard let self = self else { return }
214+
guard self != nil else { return }
215215

216216
switch response {
217217
case .success(let result):

Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/SettingVC/PersoanlInfoVC.swift

Lines changed: 0 additions & 28 deletions
This file was deleted.

Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/SettingVC/TermsOfServiceVC.swift

Lines changed: 0 additions & 28 deletions
This file was deleted.

Runnect-iOS/Runnect-iOS/Runnect-iOS.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</array>
99
<key>com.apple.developer.associated-domains</key>
1010
<array>
11-
<string>applinks:runnect.page.link</string>
11+
<string>applinks:rnnt.page.link</string>
1212
</array>
1313
</dict>
1414
</plist>

Runnect-iOS/Runnect-iOS/Runnect-iOSDebug.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</array>
99
<key>com.apple.developer.associated-domains</key>
1010
<array>
11-
<string>applinks:runnect.page.link</string>
11+
<string>applinks:rnnt.page.link</string>
1212
</array>
1313
</dict>
1414
</plist>

Runnect-iOS/fastlane/Matchfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
git_url("https://github.com/thingineeer/fastlane-match")
2-
git_branch("master")
3-
2+
git_branch("Runnect") # 'Runnect' 앱을 위한 인증서 관리를 할 브랜치
43
storage_mode("git")
54

6-
type("appstore") # The default type, can be: appstore, adhoc, enterprise or development
5+
type("development") # The default type, can be: appstore, adhoc, enterprise or development
76

8-
app_identifier(ENV["APP_IDENTIFIER"])
7+
# app_identifier(["tools.fastlane.app", "tools.fastlane.app2"])
98
# username("[email protected]") # Your Apple Developer Portal username
109

1110
# For all available options run `fastlane match --help`
1211
# Remove the # in the beginning of the line to enable the other options
1312

14-
# The docs are available on https://docs.fastlane.tools/actions/match
13+
# The docs are available on https://docs.fastlane.tools/actions/match

0 commit comments

Comments
 (0)