目的
Xcodeでアプリ実行時に
dyld: dyld cache load error: syscall to map cache into shared region failed
dyld: Library not loaded: /usr/lib/libc++.1.dylib
と表示されて、アプリが起動しない場合の対処メモ
環境
- Xcode Version 12.0
- Swift 5
対応メモ
以下を上から順に対応
- 端末のアプリ削除後、再インストール
- 端末のアプリ削除後、端末再起動後に再インストール
- Xcode再起動
- XcodeにてDerived Data削除後、productメニューより
Clean Build Folder
を実施