<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eiskst</author_name>
  <author_url>https://blog.hatena.ne.jp/eiskst/</author_url>
  <blog_title>Ei.log</blog_title>
  <blog_url>https://eiskst.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>CoreDataを使った開発をしていて途中でEntityの調整をした際、Previewが動かなくなってしまった時の対処メモ。 マイグレーションに失敗したエラーがPreview時に発生していた。 その時は下記のコマンドをターミナルで実行したら解決した。 xcrun simctl --set previews delete all ちなみにシミュレーターであればシミュレーター上のアプリを削除すれば解決する。 参考記事 SwiftUI Preview fail with Core Dat… | Apple Developer Forums</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feiskst.hateblo.jp%2Fentry%2F2023%2F07%2F09%2F182354&quot; title=&quot;【CoreData】Previewが動かなくなった時の対処メモ - Ei.log&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-07-09 18:23:54</published>
  <title>【CoreData】Previewが動かなくなった時の対処メモ</title>
  <type>rich</type>
  <url>https://eiskst.hateblo.jp/entry/2023/07/09/182354</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
