Development Solutions/iOS & OS X
[Solved][iOS] 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.
studio ODOC
2023. 8. 18. 00:02
반응형
[Solved[iOS]
[!] 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.
문제 상황 (Problem)
ios 앱 빌드 중에 아래와 같은 에러가 발생한다.
[Eng](The following error occurs while building the ios app.)
[!] 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`.
해결 방법 (Solution)
ios/Podfile 내에서 주석처리 된 platform 버전의 주석을 제거하면 된다.
주석 제거 이후에 다시 빌드 해보자.
[Eng](Just uncomment the platform version in ios/Podfile that is commented out.
Let's build again after removing comments.)
# platform :ios, '11.0'
->
platform :ios, '11.0'
반응형