-
<플러터> 파이어베이스 iOS 앱 빌드 속도 개선액티브 스킬 2022. 11. 15. 23:00728x90
🧭
iOS 빌드 속도는 안드로이드에 비해 다소 느린 감이 있습니다.
특히, 파이어베이스를 연동하면서 속도가 저하되는데 precomplied SDK를 활용하면 이를 개선할 수 있습니다.
root > ios > Podfile 파일에 파이어베이스 버전명을 포함하여 다음과 같은 코드를 추가합니다.
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.0.0'
아래는 위 코드를 반영한 모습입니다.
참고한 사이트에서는 성능을 67% 까지 감소시켰다고 나와 있습니다.
제가 측정한 빌드 시간은 70여초에서 60여초로 크게 체감되는 정도는 아니었습니다.
📌
https://www.udemy.com/course/flutter-provider-essential-korean/
https://joshuamdeguzman.com/improve-flutter-ios-build-time-when-using-firestore/
Improve Flutter iOS Build Time When Using Firestore
Slow builds whether locally or in the CI reduces developer productivity. If you integrated Firestore in your Flutter app, chances are, you may have experienced slow builds in your apps.
joshuamdeguzman.com
728x90'액티브 스킬' 카테고리의 다른 글
<파이어베이스> 다이내믹 링크 동작 안함 - 안드로이드 13 (0) 2023.02.22 <파이어베이스> 카카오 로그인 + firebase auth 개발 중 functions deploy 에러 (0) 2023.01.28 <Android> jCenter vs mavenCentral (0) 2022.10.31 <Nest: 에러노트> QueryFailedError: Table 'user' already exists (0) 2022.04.28 <Web> setInterval 메서드 (0) 2021.12.07