离子框架 - 模拟iOS时出现警告

时间:2015-10-04 22:23:33

标签: ios cordova ionic-framework ios-simulator ionic

在我的应用上执行“离子模拟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.

我在Yosemite OSX 10.10.5上 Xcode版。 7.0.1 离子CLI版。 1.6.5 Cordova ver。 5.3.3

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

1 个答案:

答案 0 :(得分:2)

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

  1. 卸载cordova
  2. 从〜/
  3. 删除.cordova(隐藏)目录
  4. 从我的离子项目中删除平台/插件/目录
  5. npm install ios-sim -g
  6. npm install ios-deploy -g
  7. 确保我在package.json中的所有依赖项都是最新的
  8. npm install
  9. npm install cordova -g
  10. 离子状态重置
  11. 离子模拟ios