[Error] Could not get GOOGLE_APP_ID in Google Services file from build environme

2023. 11. 10. 16:14·🍎 Dev/Issue

⚙️ Setting

- iOS 17 ↑
- Swift vesrion 5.9
- Xcode version 15
 

💻 Trouble 

- While testing Firebase Messaging, I encountered an error message stating "Could not get GOOGLE_APP_ID in Google Services file from the build environment."
 

✏️Trouble Shooting

- Checked that the bundle ID matches the one saved in Firebase; confirmed it matched.

- Downloaded the GoogleService-Info file multiple times to ensure correctness, considering previous experiences with file naming.
 
- Although I no longer have a screenshot of the error, it pointed to the "run script" as the potential cause.
 

 
- Identified the problem in the [Run Script] - [Input Files] section. Noticed that when adding the [Run Script], I did not remove `$(SRCROOT)/` from the existing `newInputFile` before pasting Firebase Input Files. The paths were initially set as `$(SRCROOT)/newInputFile` and `$(SRCROOT)/${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}.`

- Removed `$(SRCROOT)/` from the "Input Files," and this solved the error. The issue was caused by combining two roots, confusing Xcode about the location of the GoogleService-Info file.
 
 

✅ $(SRCROOT)/newInputFile?

 
➔ `$(SRCROOT)` represents the path to the location of the `.xcodeproj` file.
 
 
 


 
 

저작자표시 (새창열림)

'🍎 Dev > Issue' 카테고리의 다른 글

[Error] Library not loaded: @rpath no such file  (0) 2023.11.13
[Error] object has been deleted or invalidated.  (0) 2023.11.01
[Issue] Assets을 실수로 삭제했다면?  (0) 2023.08.22
[Error] Could not insert new outlet connection  (2) 2023.08.16
[Issue/UIKit] TableViewCell에 추가한 버튼 구별하기  (0) 2023.08.06
'🍎 Dev/Issue' 카테고리의 다른 글
  • [Error] Library not loaded: @rpath no such file
  • [Error] object has been deleted or invalidated.
  • [Issue] Assets을 실수로 삭제했다면?
  • [Error] Could not insert new outlet connection
Callie_
Callie_
  • Callie_
    CalliOS
    Callie_
  • 전체
    오늘
    어제
    • 분류 전체보기
      • 🍎 APPLE
      • 🍎 Dev
        • Swift
        • UIKit
        • SwiftUI
        • Issue
        • 구현
      • 🍎 Design
        • HIG
      • ⚙️ CS
      • 💡 알고리즘
        • 프로그래머스
        • 백준
      • 🏟️ 직관로그 (출시앱)
        • 업데이트
      • 🌱 SeSAC iOS 3기
  • 블로그 메뉴

    • 홈
    • 태그
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    .fullScreen
    네트워크통신
    Snapshot
    assets
    CustomView
    Entry Point
    layer.shadow
    ios
    IBAction
    SwiftUI
    CocoaTouchFramework
    stroyboard
    apply
    clipsToBound
    SeSAC
    TapGestureRecognizer
    생명주기
    Enum
    화면전환
    DiffableDataSource
    cornerradius
    TableViewCell
    IBOutlet
    DidEndOnExit
    modalPresentStyle
    Info탭
    Swift
    .OverFullScreen
    diffable
    addTarget
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.0
Callie_
[Error] Could not get GOOGLE_APP_ID in Google Services file from build environme
상단으로

티스토리툴바