Develop/Flutter
[Flutter] M1 Mac 에서 pod error. 주로 firebase 관련 해결법
srcho
2021. 9. 19. 11:58
아주 간단하다. 일반적으론 아래와 같이 하면 해결된다
- Go to /ios folder inside your Project.
- Delete Podfile.lock (YourPoject/ios/Podfile.lock)
- Run pod install --repo-update (Make sure your cd into the iOS directory of the flutter app)
- Run flutter clean
- Once complete, rebuild your Flutter application: flutter run
다만 M1 프로세스의 경우 3번 프로세스에서 'pod install --repo-update' 대신
arch -x86_64 pod repo update
라고 명령어를 바꿔서 실행시킨다
끝.