CoreData: abstract: Failed to load optimized model (React Native)

I can no longer run my own application. I updated Xcode yesterday, maybe this is due to this?

$ react-native run-ios Found Xcode workspace xyz.xcworkspace CoreData: annotation: Failed to load optimized model at path '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPackaging.framework/Versions/A/Resources /XRPackageModel.momd/XRPackageModel 9.0.omo' dyld: Symbol not found: _SimAudioHostUseSystemDefaultDeviceUID Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit (which was built for Mac OS X 10.12) Expected in: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator in /Applications/Xcode.app/Contents/Developer/usr/bin/../../Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit 
+7
source share
5 answers

I just needed to start Xcode once after the update, and then they asked me if I want to install additional components. It's all.

+6
source

+1 about what @Jan said. This happened to me after upgrading Xcode to the latest version, and then starting react-native run-ios generated the same error. Downloading Xcode suggested I install additional components and fix the problem.

+2
source

This happened to me today, and I searched a lot, but it failed, finally I find that someone says that if your Xcode is on version 9.x, sth will not work correctly in the higher version of response-native-cli maybe you can choose reaction-native-cli @version 0.44.x or lower. If i'm wrong sorry

0
source

I used Xcode v9.2 and got this error. Essentially, I had to upgrade my Mac to 10.13.2 (from Sierra to High Sierra), and then download Xcode v9.4. When I first opened Xcode 9.4, I was asked to download the components that everyone is talking about. I no longer had a mistake.

0
source

If you just upgraded your Xcode to Xcode 11.1, just go to Xcode-> Preferences-> Locations and change the command line tool to 11.0, it worked for me!

0
source

Source: https://habr.com/ru/post/1272187/


All Articles