개발/flutter

ios 빌드 에러

덤벨로퍼 2020. 12. 14. 17:02

flutter 에서 ios 빌드가 자꾸 fail 되고 하얀 화면만뜨는 현상

vscode 에서는 안되지만

xcode 에서는 빌드가 된다.

 

pod폴더 삭제후 podinstall 시도

 

[!] Error installing FMDB

[!] /usr/bin/git clone https://github.com/ccgus/fmdb.git /var/folders/mr/3y8xy9g934zbvrkmk_10hq440000gn/T/d20201214-19932-1m4zbfl --template= --single-branch --depth 1 --branch 2.7.5



Cloning into '/var/folders/mr/3y8xy9g934zbvrkmk_10hq440000gn/T/d20201214-19932-1m4zbfl'...

fatal: unable to access 'https://github.com/ccgus/fmdb.git/': Could not resolve host: github.com





[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

 

와이파이 공용으로 변경후에 git 설정

#git config --global --unset http.proxy

#git config --global --unset https.proxy

설정하니 Podinstall 성공 하였으나 역시 빌드에는 실패

 

이후 시도해 본것 pod repo update

실패 -> sudo gem install cocoapods 

실패 ->pods폴더 / workspace / podfile.loc 삭제후 pod install

 

모두 빌드실패

-> flutter version stable 로 변경하자 작동