我再也无法启动我的反应本机应用程序了.我昨天更新了XCode,也许它与它有关?
$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
解决方法
我只需要在更新后启动XCode一次,然后我被问到是否要安装其他组件.就这样.