다트
[Xcode, 플러터] Xcode Cloud로 플러터 애플리케이션 CI/CD 구성
2022. 6. 22.
Xcode Cloud를 사용하기 위한 요구 사항
- Xcode 13.4.1 이상
- 애플 개발자 프로그램 등록
설정 방법
- Xcode 프로젝트 열기
- Product - Xcode Cloud - Create Workflow...
- Product 선택
- SCM Repository 선택
- Branch Changes 설정 변경

No Such Module 오류
- 발생 가능 원인: CocoaPods을 통한 프로젝트 라이브러리(패키지) 의존성 설치를 위한
Podfile,Podfile.lock누락 - 해결 방법:
flutter build ios명령어를 통해Podfile및Podfile.lock파일을 생성한 후 SCM에 추가
Firebase를 사용하는 경우 앱 실행 시 크래시 오류
- 발생 메시지
Terminating app due to uncaught exception 'com.firebase.core', reason: 'FirebaseApp.configure() could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.' - 원인:
GoogleService-Info.plist파일 누락 - 해결 방법:
GoogleService-Info.plist파일을ios/Runner폴더에 추가
GMSServicesException 예외 발생 오류
- 발생 메시지
Terminating app due to uncaught exception 'GMSServicesException', reason: 'Google Maps SDK for iOS must be initialized via [GMSServices provideAPIKey:...] prior to use' - 해결 방법:
AppDelegate.swift파일에 API 키 추가import GoogleMaps ... GeneratedPluginRegistrant.register(with: self) GMSServices.provideAPIKey("YOUR_API_KEY_HERE")