mokemokechicken / CrashMonkey

Monkey Test Tool For iOS
MIT License
199 stars 38 forks source link

Support for Xcode 8 , iOS 10, Iphone 7 #21

Open Nischalapp opened 7 years ago

Nischalapp commented 7 years ago

When we can get support for this

marimuthugceb commented 7 years ago

Now, all tools are supporting UIAuotmaiton2, it will be good if we get wrapper for new UIAutomation2.

I am getting error as: Exception:

INMarimuthumohan:pam marimuthu$ crash_monkey -a /Users/marimuthu/Library/Developer/Xcode/DerivedData/TestApp-eirruulgcfrwepdhcgcqerydckqg/Build/Products/Debug-iphonesimulator/TestApp.app -w 352AE37F-0468-4C25-9DF0-052E38287712 {:app_path=>"/Users/marimuthu/Library/Developer/Xcode/DerivedData/TestApp-eirruulgcfrwepdhcgcqerydckqg/Build/Products/Debug-iphonesimulator/TestApp.app", :device=>"352AE37F-0468-4C25-9DF0-052E38287712", :run_count=>2, :time_limitsec=>100} =================================== Start Test (1/2) ======================================= ls: /Users/marimuthu/Library/Logs/DiagnosticReports/TestApp.crash: No such file or directory Run: ["instruments", "-w", "352AE37F-0468-4C25-9DF0-052E38287712", "-l", "100000", "-t", "/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate", "/Users/marimuthu/Library/Developer/Xcode/DerivedData/TestApp-eirruulgcfrwepdhcgcqerydckqg/Build/Products/Debug-iphonesimulator/TestApp.app", "-e", "UIASCRIPT", "/Users/marimuthu/Desktop/projects/pam/crash_monkey_result/UIAutoMonkey.js", "-e", "UIARESULTSPATH", "/Users/marimuthu/Desktop/projects/pam/crash_monkeyresult"] Waiting for device to boot... Instruments Usage Error: The specified template '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate' does not exist. instruments, version 8.2 (61756) usage: instruments [-t template] [-D document] [-l timeLimit] [-i #] [-w device] [[-p pid] | [application [-e variable value] [argument ...]]] tail finished: system.log ls: /Users/marimuthu/Library/Logs/DiagnosticReports/TestApp.crash: No such file or directory No matching processes belonging to you were found

Endeavour-BRM commented 7 years ago

any roadmap to support Xcode8?