SwiftUI開発
iOSアプリ開発でRealmのインスタンス作成時に「Migration is required due to the following errors」というエラーが発生する場合があります。 realm = try Realm()Error Domain=io.realm Code=10 "Migration is required due to the following errors: - Pr…
RealmSwiftを利用したiOSアプリを開発しておりましたが、いざリリースビルドのために「Archive」を実施したところ、下記のエラーが出ました。 Undefined symbols for architecture arm64: "_$s10RealmSwift0A14CollectionImplPAAE12makeIteratorAA11RLMItera…
「Cannot assign to property: 'self' is immutable」がたまに出てきます。「immutable」は「不変」という意味です。変更できないプロパティです。という意味ですね。 なので、変更できるようにしてあげましょう。「@State」をつけてあげてください!なぜ「i…
Swift UIでiOSアプリ開発をしている際によく遭遇するエラー。 CoreDataを使用してデータベースを作成し、ビルド。ビルドは正常に終了するので、アプリを実行すると、直後に下記のエラーが発生する。 Fatal error: UnsafeRawBufferPointer with negative coun…