7
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Mac M1 で Firebase を使用した iOS アプリのビルドが失敗する

Posted at

環境

Xcode 12.3
cocoapods 1.10.0

解決方法

Podfile で M1 に対応したライブラリを指定する

platform :ios, '14.0'

target 'アプリ名' do
  use_frameworks!

  pod 'Firebase', '7.2-M1'
  pod 'Firebase/Firestore', '~> 7.2-M1'
  pod 'FirebaseFirestoreSwift', '7.2-beta'
  pod 'FirebaseStorage', '~> 7.2.0-M1'
  pod 'Firebase/Auth', '~> 7.2.0-M1'
  pod 'Firebase/Crashlytics', '~> 7.2-M1'
  pod 'Firebase/Analytics', '~> 7.2-M1'

  target 'アプリ名 Tests' do
    inherit! :search_paths
  end

  target 'アプリ名 UITests' do
    inherit! :search_paths
  end
end
7
3
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
7
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?