Flutter 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

Android studio에서 build > Generate Signed Bundle/APK 가 없을 때 해결 방법

Google play console에 배포하려면, 앱 서명을 해야 한다. 앱 서명은 서명 파일이 있어야 하는데 수동으로 만들 수도 있지만, Android studio를 사용하면 관리가 편하다. 만약 당신이 Flutter 개발자라면 겪을 수 있는 일 안드로이드 앱 배포 관련 공식 문서에 따르면, 아래와 같은 메뉴를 확인할 수 있어야 한다. 있었는데, 없습니다 하지만 Flutter 프로젝트에서는 같은 Android studio라 할지라도, build 탭에서 Generate Signed Bundle/APK 메뉴를 찾을 수 없다. Android studio는 프로젝트 성격에 따라, 하위 메뉴들을 재구성한다. Flutter는 크로스 플랫폼 개발 프레임워크이지, Android app 배포 도구는 아니기 때문에, G..

IT 2023.11.07

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