Skip to content

Commit 55899e1

Browse files
committed
[hotfix] 키 불러오는 모듈 main으로 변경
1 parent 809268a commit 55899e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Projects/CoreKit/Sources/Data/Client/SocialLogin/Controller/AppleLoginController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public final class AppleLoginController: NSObject, ASAuthorizationControllerDele
8181

8282
extension AppleLoginController {
8383
func makeJWT() -> String {
84-
guard let appleKey = Bundle.module.object(forInfoDictionaryKey: "AppleKeyID") as? String else { return "" }
84+
guard let appleKey = Bundle.main.object(forInfoDictionaryKey: "AppleKeyID") as? String else { return "" }
8585
let header = Header(kid: appleKey)
8686
struct PokitClaims: Claims {
8787
let iss: String
@@ -93,7 +93,7 @@ extension AppleLoginController {
9393

9494
let iat = Int(Date().timeIntervalSince1970)
9595
let exp = iat + 3600
96-
guard let iss = Bundle.module.object(forInfoDictionaryKey: "TeamID") as? String else { return "" }
96+
guard let iss = Bundle.main.object(forInfoDictionaryKey: "TeamID") as? String else { return "" }
9797
let claims = PokitClaims(
9898
iss: iss,
9999
iat: iat,

0 commit comments

Comments
 (0)