LoginSignup
2
1

More than 1 year has passed since last update.

No such module ‘RealmSwift’が出た時にまずやること

Last updated at Posted at 2021-12-24

対象

ビルドしてもクリーンしてもxcode再起動してもエラーが消えない。
RealmSwfitをCocoapodsから入れている。
シミュレータでビルドしている。

解決方法

すでにQiitaに上がっているのは下記の参考URLに書いてあるので、今回自分が見つけた手順を書きます。

シミュレータのバージョンをios13に変更し、ビルドする。
(Excluded Architectureには何も設定しない。ios14以降はarm64を記述しないとビルドできないことがあるが、13の場合はなくてもビルドできるため)

これだけでビルドが通ります。あとは任意のosに変更しても問題なくビルドが成功するはずです。

上記で解決しなければこちら

https://qiita.com/gentuki/items/a90a4a793a24612355d5
https://qiita.com/m-h5510/items/72f2b5eb8fdb4b2d81a6

2
1
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
2
1