stripe_paymentを初期状態から試そうと思ったがbuild出来なくて、ハマった。
エラーメッセージ
Automatically assigning platform `iOS` with version `8.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`
podfileでiOSのバージョンが指定されていない。
その場合は8.0を勝手に指定するそうで、そのバージョンが対応していないからエラーになっているのかな?
Podfileを見る
ios/Podfileの先頭にあるコードにプロジェクトごとにOSのバージョンを定義してねって書いてた。
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
platform :ios, '10.6'
エラーメッセージあったリンク先を参考にverを10.6に指定してbuildしたら動いた。
# Uncomment this line to define a global platform for your project
platform :ios, '10.6'