在我的应用程序上执行“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
- 卸载 Cordova
- 从 ~/中删除 .cordova(隐藏)目录
- 从我的 ionic 项目中删除 platforms/和 plugins/目录
- npm 安装 ios-sim -g
- npm 安装 ios-deploy -g
- 确保我在 package.json 中的所有依赖项都是最新的
- npm 安装
- npm 安装 cordova -g
- ionic 状态重置
- ionic 模拟 ios
关于ios - Ionic 框架 - 模拟 iOS 时出现警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32939013/