flutter ios pod install 에러 해결

똔또니·2023년 7월 19일

Flutter

목록 보기
2/4

시도해본 방법

스택오버플로우나 그 외의 블로그를 쥐잡듯이 뒤졌지만 해결되지 않았다..
1. cd ios -> pod install 해결 안됨.(왜냐면 pod install 자체가 안되기 때문 ...ㅎ)
2. pod update 해결안됨(애초에 pod directory가 존재하지 않는다고 뜬다)
3. podfile에서 platform: ios, '버전' 주석 풀어도 안됨.
4. ruby update 해도 안됨

 pod install
Analyzing dependencies
...다양한 에러 모음

[!] CocoaPods could not find compatible versions for pod "app_settings":
  In Podfile:
    app_settings (from `.symlinks/plugins/app_settings/ios`)

Specs satisfying the `app_settings (from `.symlinks/plugins/app_settings/ios`)` dependency were found, but they required a higher minimum deployment target.

[!] Automatically assigning platform `iOS` with version `12.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`.

해결방법

사람은 이래서 영어를 잘해야돼.. 잘 보면 친절하게 나와있다
app_settings (from .symlinks/plugins/app_settings/ios)

앱세팅에서 문제가 되었던 것.

app_settings.podspec
기존 : s.ios.deployment_target = '15.0'
변경 : s.ios.deployment_target = '11.0'
end

ios.deployment_target을 낮춰주면 된다

포맷시키고 난리부르스 쳤지만... 결국 해결하긴 했다... 해결하면 된거야...

profile
우당탕탕

1개의 댓글

comment-user-thumbnail
2023년 7월 19일

가치 있는 정보 공유해주셔서 감사합니다.

답글 달기