Skip to content

Commit

Permalink
✨[feat]: fastlane 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-wonji committed Nov 27, 2023
1 parent 6cf8a6d commit b372948
Show file tree
Hide file tree
Showing 19 changed files with 71 additions and 646 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ extension Settings {
"DEVELOPMENT_ASSET_PATHS": "\"Resources/Preview Content\"",
"PRODUCT_NAME" :"PingPongs" ,
"DISPLAY_NAME" : "PingPong" ,
"CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER": "NO",
"CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES": "YES",
"OTHER_SWIFT_FLAGS": "-Xcc -Wno-error=non-modular-include-in-framework-module",
"OTHER_LDFLAGS": [
"-all_load",
],
Expand All @@ -73,17 +70,20 @@ extension Settings {
.debug(name: .debug, settings: [
"PRODUCT_NAME": "PingPong",
"OTHER_LDFLAGS": [
"-Xlinker", "-interposable","-all_load", "-ObjC"],
"CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER": "NO",
"CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES": "YES",
"OTHER_SWIFT_FLAGS": "-Xcc -Wno-error=non-modular-include-in-framework-module"
"-Xlinker", "-interposable", "-all_load", // Set the strip style to non-global symbols
],
"STRIP_STYLE": [
"non-global"
],
]),
.release(name: .release, settings: [
"PRODUCT_NAME": "PingPong",
"OTHER_LDFLAGS": ["-Xlinker", "-interposable", "-all_load", "-ObjC"],
"CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER": "NO",
"CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES": "YES",
"OTHER_SWIFT_FLAGS": "-Xcc -Wno-error=non-modular-include-in-framework-module"
"OTHER_LDFLAGS": [
"-all_load",
],
"STRIP_STYLE": [
"non-global"
],
])], defaultSettings: .recommended)

public static let appWidgetSetting: Settings = .settings(
Expand All @@ -96,9 +96,31 @@ extension Settings {
"DEVELOPMENT_TEAM": "N94CS4N6VR",
"DEBUG_INFORMATION_FORMAT": "DWARF with dSYM File",
"DEVELOPMENT_ASSET_PATH" : "\"Resources/Preview Content\""] ,configurations: [
.debug(name: .debug, settings: ["PRODUCT_NAME" : "PingPong","DISPLAY_NAME" : "PingPong", "OTHER_LDFLAGS": ["-Xlinker", "-interposable", "-all_load", "-ObjC"]]),
.debug(name: "Dev", settings: ["PRODUCT_NAME" : "PingPong-Dev","DISPLAY_NAME" : "PingPong", "OTHER_LDFLAGS": ["-Xlinker", "-interposable", "-all_load"]]),
.release(name: .release, settings: ["DEVELOPMENT_ASSET_PATHS": "\"Resources/Preview Content\"","PRODUCT_NAME" :"PingPongs" , "DISPLAY_NAME" : "PingPong" , "OTHER_LDFLAGS": ["-Xlinker", "-interposable", "-all_load", "-ObjC"]])],
.debug(name: .debug, settings: [
"PRODUCT_NAME" : "PingPong",
"DISPLAY_NAME" : "PingPong",
"OTHER_LDFLAGS": [
"-Xlinker", "-interposable", "-all_load", "-ObjC"
]
]),
.debug(name: "Dev", settings: [
"PRODUCT_NAME" : "PingPong-Dev",
"DISPLAY_NAME" : "PingPong",
"OTHER_LDFLAGS": [
"-Xlinker", "-interposable", "-all_load"
]
]),
.release(name: .release, settings: [
"DEVELOPMENT_ASSET_PATHS": "\"Resources/Preview Content\"",
"PRODUCT_NAME" :"PingPongs" ,
"DISPLAY_NAME" : "PingPong" ,
"OTHER_LDFLAGS": [
"-all_load",
],
"STRIP_STYLE": [
"non-global"
],
])],
defaultSettings: .recommended)}


5 changes: 4 additions & 1 deletion PingPong/Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ let project = Project.makeAppModule(
platform: .iOS,
product: .app,
packages: [ // packages를 추가하여 Amplify 라이브러리 추가

],
setting: .appMainSetting,
dependencies: [
// .package(product: "FirebaseMessaging"),
// .package(product: "FirebaseMessaging", type: .plugin),

.SPM.FirebaseMessaging,
.feature(implements: .OnBoarding)
// .SPM.GoogleSignIn,
Expand Down
5 changes: 4 additions & 1 deletion PingPong/Projects/Core/Authorization/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ let project = Project.makeFramsWorkModule(
bundleId: .appBundleID(name: ".Authorization"),
product: .staticFramework,
packages: [

],
setting: .appBaseSetting,
dependencies: [
Expand All @@ -25,6 +24,10 @@ let project = Project.makeFramsWorkModule(

.SPM.CombineMoya,
.SPM.Moya,
// .package(product: "FirebaseAuth"),
// .package(product: "FirebaseFirestore"),
// .package(product: "FirebaseAuth", type: .plugin),
// .package(product: "FirebaseFirestore", type: .macro)
.SPM.FirebaseAuth,
.SPM.FirebaseFirestore
// .SPM.GoogleSignIn,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,30 @@
//


import SwiftUI
import CryptoKit
import Firebase


struct GoogleLoginManger {
static let shared = GoogleLoginManger()

func getRootViewController()-> UIViewController{
guard let screen = UIApplication.shared.connectedScenes.first as? UIWindowScene else{
return .init()
}
guard let root = screen.windows.first?.rootViewController else{
return .init()
}
return root
}

func appDeleteSignout() {
do {
try Auth.auth().signOut()
} catch let error {
print("error signing out: \(error.localizedDescription)")
}
}

}
//import SwiftUI
//import CryptoKit
//import Firebase
//
//
//struct GoogleLoginManger {
// static let shared = GoogleLoginManger()
//
// func getRootViewController()-> UIViewController{
// guard let screen = UIApplication.shared.connectedScenes.first as? UIWindowScene else{
// return .init()
// }
// guard let root = screen.windows.first?.rootViewController else{
// return .init()
// }
// return root
// }
//
// func appDeleteSignout() {
// do {
// try Auth.auth().signOut()
// } catch let error {
// print("error signing out: \(error.localizedDescription)")
// }
// }
//
//}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b372948

Please sign in to comment.