CoreData:注释:无法在路径上加载优化的模型-启动iOS模拟器时出现问题

时间:2019-11-19 11:48:46

标签: ios xcode react-native

日志:

Scanning folders for symlinks in /Users/../../../__app__/node_modules
Found Xcode workspace Name.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'

Could not find iPhone 6 simulator

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! AppName@10.0.17 start:ios: `react-native run-ios && react-native log-ios`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the AppName@10.0.17 start:ios script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/../.npm/_logs/2019-11-19T11_21_06_483Z-debug.log

在此处进行了检查:https://github.com/react-native-community/cli/issues/739,但我不确定这是否是我的确切问题。

从这里开始使用本机入门https://facebook.github.io/react-native/docs/getting-started.html

试图为GitHub上的另一个应用设置环境,我正在研究并遇到了一些问题。

我已经采取的步骤(在ios上运行)。

  1. 我已将依赖项安装在项目目录中
  2. 为本地开发人员设置.env
  3. 已安装的可可足动物sudo gem install -n /usr/local/bin cocoapods
  4. pod安装cd ios && pod install

现在,当我尝试使用以下命令运行仿真器时:npm run start:ios 使用以下脚本:react-native run-ios && react-native log-ios中的package.json

尝试执行所有这些操作时,Xcode已关闭。

0 个答案:

没有答案