ios - Ionic 框架 - 模拟 iOS 时出现警告

标签 ios cordova ios-simulator ionic-framework

在我的应用程序上执行“ionic emulate ios”时,我不断收到此警告

2015-10-04 12:11:52.095 ios-sim[3757:81938] stderrPath: /Users/pablomartinez/MobileApps/MyApp/platforms/ios/cordova/console.log
2015-10-04 12:11:52.096 ios-sim[3757:81938] stdoutPath: /Users/pablomartinez/MobileApps/MyApp/platforms/ios/cordova/console.log
2015-10-04 12:11:52.220 ios-sim[3757:81938] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-8208/DVTFoundation/PlugInArchitecture/PlugInManager/DVTPlugInManager.m:257
Details: Requested but did not find extension point with identifier Xcode.DVTFoundation.DevicePlatformMapping
Object: 
Method: -extensionPointWithIdentifier:
Thread: {number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

我在优胜美地 OSX 10.10.5 Xcode 版本7.0.1 ionic CLI 版本。 1.6.5 Cordova 版本。 5.3.3

任何帮助将不胜感激!! 谢谢!!

最佳答案

来自 Ionic 论坛的解决方案 http://forum.ionicframework.com/t/warning-when-emulating-ios/33822/3

  1. 卸载 Cordova
  2. 从 ~/中删除 .cordova(隐藏)目录
  3. 从我的 ionic 项目中删除 platforms/和 plugins/目录
  4. npm 安装 ios-sim -g
  5. npm 安装 ios-deploy -g
  6. 确保我在 package.json 中的所有依赖项都是最新的
  7. npm 安装
  8. npm 安装 cordova -g
  9. ionic 状态重置
  10. ionic 模拟 ios

关于ios - Ionic 框架 - 模拟 iOS 时出现警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32939013/

相关文章:

ios - CollectionView 单元格未加载到 View Controller 中

ios - 在 iOS 上测试不同的日历

javascript - 手机间隙 : Angular Controller does not work in new window

xcode - 模拟器无法启动(Xcode 10 GM)

iphone - iphone 应用程序可以在安装后更改其主屏幕图标和名称吗?

iOS IAP 项目重命名问题

Cordova 和 Windows 10 通用应用程序 (winjs) 在点击磁贴时重新启动而不是恢复

java - 如何在 android phonegap 应用程序中获取 webview url?

ios-simulator - 如何关闭 iOS 9 模拟器中的辅助功能检查器?

ios - 更改 iOS 模拟器键盘布局以匹配 Macbook 键盘