Skip to content

Commit

Permalink
Merge pull request #102 from 87kangsw/feature/build-error-fix
Browse files Browse the repository at this point in the history
빌드 오류 수정 - Realm 설정 오류 / firebase 설정 변경
  • Loading branch information
87kangsw committed May 15, 2024
2 parents ec7ec0b + 4eae10e commit 6512155
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
4 changes: 3 additions & 1 deletion BuildScripts/FirebaseCrashlytics.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
${BUILD_DIR%/Build/*}/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run
if [ "${CONFIGURATION}" = "Release" ]; then
${BUILD_DIR%/Build/*}/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run
fi
19 changes: 10 additions & 9 deletions GitTime/Sources/CompositionRoot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,22 +128,23 @@ final class CompositionRoot {

// MARK: Configure SDKs
static func configureSDKs() {

// Firebase
FirebaseApp.configure()

// Image Cache
let cache = ImageCache.default
cache.clearCache()

#if DEBUG

// SwiftyBeaver
let console = ConsoleDestination()
console.minLevel = .verbose
log.addDestination(console)


#else

// Firebase
FirebaseApp.configure()

#endif

// Image Cache
let cache = ImageCache.default
cache.clearCache()
}

// MARK: Configure Appearance
Expand Down
2 changes: 0 additions & 2 deletions project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ targets:
- package: SnapKit
- package: PanModal
- package: KeychainAccess
- package: RealmSwift
product: Realm
- package: RealmSwift
product: RealmSwift
- package: Kingfisher
Expand Down

0 comments on commit 6512155

Please sign in to comment.