Flutter 'Error running pod install' 'Pods-Runner' target has transitive dependencies
You can see the error in the message
[!] Automatically assigning platform `iOS` with version `8.0` on target`Runner` because no platform was specified. Please specify a platform forthis target in your Podfile.
So, go to the file ios/Podfile
inside your project, find there the line
# platform :ios, '9.0'
and uncomment it.
After that delete ios/Podfile.lock
file and run project again (or pod update
)
Looks like the error from CocoaPods is suggesting you add a line like:
Add to the top of
ios/Podfile
in the Flutter app directoryplatform :ios, '9.0'
Delete the
podfile.lock
file from the ios folder.run
pod install
If
pod install
gives any error then try thispod install --repo-update
flutter run