LoginSignup
0
0

More than 1 year has passed since last update.

詰まったエラーと解決方法

Last updated at Posted at 2023-04-05

最近遭遇したエラー2つとその解決方法です

【エラー①】

Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a

上記のエラーが出て、ビルドできず。

Podfileにconfig.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'を1行追記したら、ようやくビルドが通りました。

post_install do |installer|
      /// その他の設定
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
    /// その他の設定
      end
    end
  end

原因が分からず、同じエラーで詰まった方の助けになれば幸いです。

参考にさせて頂いた記事
https://zenn.dev/ischca/articles/a00c3adf626ea0

【エラー②】

1.24.0/lib/src/firebase_app.dart:18:25: Error: Member not found: 'FirebaseAppPlatform.verifyExtends'.
        FirebaseAppPlatform.verifyExtends(_delegate);

上記のエラーが出て、ビルドできず。

pubspec.yamlに下記を追加したら、ようやくビルドが通りました。

pubspec.yaml
dependency_overrides: 
  firebase_auth_platform_interface: 6.7.0
  firebase_core_platform_interface: 4.5.1

参考にさせて頂いた記事
https://qiita.com/mogmet/items/4bd48bce39ad8f265c72

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0