'Please specify a platform for this target in your Podfile
[!] 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 1:[1]
Uncommand the line no: 2 in Ios/Podfile. Like this platform :ios, ’10.0. and run application
Solution 2:[2]
iOS -> Podfile -> change platform :ios, ’10.0’ to platform :ios, '12.0'
Run command “flutter clean”
Run command “flutter build iOS”
Run command “cd iOS”
Run command “pod update”
Run command “pod install”
Run command “flutter run”
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mohamed Jalal Jalal |
| Solution 2 | Hajer Malik |
