iOS   发布时间:2022-05-04  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了xcode – Instruments 4.5和ios模拟器6.0.没有开始大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

在 IOS Simulator 5.1中,此代码有效: `instruments -t /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOs.platform/Developer/Library/instruments/PlugIns/Automationinstrument.bundle/Contents/resources/
IOS Simulator 5.1中,此代码有效:

`instruments -t /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOs.platform/Developer/Library/instruments/PlugIns/Automationinstrument.bundle/Contents/resources/Automation.traCETemplate /Users/administrator/Library/Application\ Support/iPhone\ Simulator/6.0/Applications/$numbeRSStrings/myapp.app/ -e UIASCRIPT /Users/administrator/Desktop/Tests/smoke.js`

xcode更新后,ios simulator 6.0此代码不起作用并显示错误

`instruments Usage Error : The specified template 'file://localhost/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOs.platform/Developer/Library/instruments/PlugIns/Automationinstrument.bundle/Contents/resources/Automation.traCETemplate' does not exist.`

夹:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOs.platform/Developer/Library
不包含文件夹/乐器.

在哪里找到它?

解决方法

在Trace 4.5中,traCETemplate的路径已经改变.

请改用:

instruments -t /Applications/Xcode.app/Contents/Applications/instruments.app/Contents/PlugIns/Automationinstrument.bundle/Contents/resources/Automation.traCETemplate /Users/administrator/Library/Application\ Support/iPhone\ Simulator/6.0/Applications/$numbeRSStrings/myapp.app/ -e UIASCRIPT /Users/administrator/Desktop/Tests/smoke.js

大佬总结

以上是大佬教程为你收集整理的xcode – Instruments 4.5和ios模拟器6.0.没有开始全部内容,希望文章能够帮你解决xcode – Instruments 4.5和ios模拟器6.0.没有开始所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。