오류1
the sandbox is not in sync with the Podfile.lick. Run 'pod install' or update your cocoaPods Installation.
메시지를 보아하니 cocoapods을 업데이트 해야합니다.
Podfile.lock을 삭제해보기도하고 pod을 삭제하고 재설치도 해보았지만 계속 achive가 만들어지지를 않습니다 ㅠ_ㅠ
오류2
undefined method 'map' for nil:NilClass
M1에서 pod install을 하게되면 이런 오류를 발견하게 됩니다.
우선 ffi설치를 하고, ios/폴더에서 다시 재설치를 하는 과정입니다.
(프로젝트명 폴더에서)
(sudo) arch -x86_64 gem install ffi
(ios폴더 들어가서 예를들자면, 지금 프로젝트명에 포커스가 가있다면 cd ios 명령어로)
arch -x86_64 pod install
sudo pod update
위 명령어가안된다면,
arch -x86_64 pod install --repo-update
flutter clean
프로젝트실행
참고사이트
Error Regarding undefined method `map' for nil:NilClass for Flutter App / CocoaPod Error
I'm having an error regarding my Flutter application. When I run the "flutter run" script in terminal, I'm getting the following error from Cocoapods: "Error output from CocoaPods:
stackoverflow.com
'App Dev > IOS' 카테고리의 다른 글
[xcode] 아카이브 빌드번호가 안바뀔때 수동으로 버전변경하기 (0) | 2022.10.24 |
---|---|
[xcode] No Destinations 해결하기 (0) | 2022.10.24 |
[xcode] flutter xcode simulator 오류날때 대처법 (1) | 2022.10.24 |
[xcode] cocoapod update 하는 방법 (0) | 2022.10.17 |
[Xcode] ios16에서는 개발자 모드를 켜야합니다(기기연결 developer mode disable 오류 해결하기) (0) | 2022.09.30 |
댓글