ios 3

Automatically assigning platform `iOS` with version `12.1` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile 경고 수정 방법

플러터로 iOS 앱 개발을 하다가 아래와 같은 에러를 만났다. Automatically assigning platform `iOS` with version `12.1` 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`. 해결 방법은 경고 로그에서 이 문서에서 확인하라고 친절히 알려준다. 해결 결과물 한눈에 보기 1. Podfile > 두번째 줄을 확인 2. 프로젝트에 맞게 수정

IT 2024.01.23

Flutter iOS만 실행 실패 시, 해결 방법

Dependency에 뭔가 문제가 있다 문명 약 3일 전까지만 해도 잘 실행되던 프로젝트가 코드 몇 줄 추가 후, iOS한정으로 아래와 같은 에러를 벹으며 동작하지 않는다. 왜 그럴까? 어떻게 해결할까? Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. To update the CocoaPods specs, run: pod repo update Error running pod install Error launching application on iPhone 14 Pro Max. 해결 방법 오랜 삽질 끝에 결정적으로 이 답변대로 따라하자 해결되었다. 요약 1. Podfile의 platform 주석처리 코드 ..

IT 2023.04.03