iphone一覧

[iOS] TestFlight upload時エラー対処

App Store Connect Operation Error

Invalid Bundle. The bundle Runner.app/Frameworks/App.framework does not support the minimum OS Version specified in the Info.plist. With error code STATE_ERROR.VALIDATION_ERROR.90208 for id 0c1d1201-5558-4177-886d-a832409eebf8

解決した時の方法は

  • /ios/Flutter/AppframeworkInfo.plist の MinimumOSVersion を 13.0 にする
  • プロジェクトの iOS Deployment Target を 13.0にする
  • ターゲットの iOS Deployment Target を 13.0にする

その後

pod cache clean —all

flutter clean

flutter pub get

pod install



メルマガ登録をお願いします。

素敵な?情報がいつもあなたに届くようになります。(itmnewsの記事が届きます。)お役に立つかどうかわかりませんが頑張りますっ。登録してみてください。


 




[iOS] flutter 実機でのビルド時にcloud_firestore Groupがエラーを起こす

cloud_firestore Groupが実機でエラーを起こしていたので

以下のページで解決

https://github.com/firebase/flutterfire/issues/9015

上記ページを参考に具体的に対応した内容

pubspec.yamlの中の

cloud_firestore: ^3.4.4

cloud_firestore: ^3.4.6


に変更。

そして、Podfileを以下のように変更

変更1

platform :ios, ‘12.0’

変更2

post_install do |installer|

  installer.pods_project.targets.each do |target|

    flutter_additional_ios_build_settings(target)

    target.build_configurations.each do |config|

      config.build_settings.delete ‘IPHONEOS_DEPLOYMENT_TARGET’

    end

  end

end

これで

このコマンド3つ打ってからのxcodeでビルドクリーンからのビルド

flutter clean

flutter pub get

rm -rf ~/Library/Caches/CocoaPods/ ; rm -rf Pods ; pod install

結果、ビルドできました。



メルマガ登録をお願いします。

素敵な?情報がいつもあなたに届くようになります。(itmnewsの記事が届きます。)お役に立つかどうかわかりませんが頑張りますっ。登録してみてください。


 




[iOS] cocoapods railsのversionエラーでインストールがうまくできない

$ rails –version

rbenv: rails: command not found

The `rails’ command exists in these Ruby versions: 2.4.2

と言ったようにrailsのバージョンエラーが出ていたので

rbenv install 2.7.4

でバージョンアップ

その後

rbenv global 2.2.4

を実行して

pod –version

をしたところ

–version 1.15.4

とバージョンが変わりましたので

pod update

をしたところうまく進みました。



メルマガ登録をお願いします。

素敵な?情報がいつもあなたに届くようになります。(itmnewsの記事が届きます。)お役に立つかどうかわかりませんが頑張りますっ。登録してみてください。