1. flutter 프로젝트 연동하다 발생한 오류
zsh: command not found: flutterfire
flutterfire 환경설정이 안돼서 발생한 오류이므로 ~/.zshrc 파일에 환경변수 설정을 해준다.
// ~/.zshrc 파일
export PATH="$PATH":"$HOME/.pub-cache/bin"
2. flutterfire configure 설정하다 발생한 Exception
Exception: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- xcodeproj (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from -e:1:in `<main>'
cmd 에서 cocoapod 와 pod 를 설치한다.
sudo gem install cocoapods && pod install
3. firebase 에 있는 데이터 가져오다 발생한 에러
Unhandled Exception: [cloud_firestore/permission-denied] The caller does not have permission to execute the specified operation.
firestore 에 권한이 지정되어 있지 않아서 발생한 것이므로 false 부분을 true 로 변경한다.
'에러 해결방법' 카테고리의 다른 글
[에러] aunching lib/main.dart on iPhone 16 Plus in debug mode... (0) | 2024.12.18 |
---|---|
[트러블슈팅] 검색 api 를 사용한 지역 검색 앱 개발 중 에러 (0) | 2024.12.06 |
[트러블슈팅] ListView 안에 ListeView(Feat. CustomScrollView) (0) | 2024.11.26 |
[에러] A RenderFlex overflowed by 284 pixels on the right. (0) | 2024.11.22 |
[트러블슈팅] Flutter 앱 구현에 있어서 나타났던 트러블슈팅 (0) | 2024.11.19 |
댓글