非常感谢前面的问题已经解决了,我还想问 macaca 是驱动 instruments 做的测试吗,那是否可以得到所生成的.trace 文件,因为我想要解析他做性能测试
#22 楼 @xdf admins-Mac-mini:~ admin$ xcrun simctl list
== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
iPad Pro (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)
Apple TV 1080p (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)
Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
== Runtimes ==
iOS 9.2 (9.2 - 13C75) (com.apple.CoreSimulator.SimRuntime.iOS-9-2)
tvOS 9.1 (9.1 - 13U78) (com.apple.CoreSimulator.SimRuntime.tvOS-9-1)
watchOS 2.1 (2.1 - 13S660) (com.apple.CoreSimulator.SimRuntime.watchOS-2-1)
== Devices ==
-- iOS 9.2 --
iPhone 4s (11FD0778-6F2F-405D-B7AA-7C47CCA4036E) (Shutdown)
iPhone 5 (D9A5ABAB-D269-4114-8EA6-183216571B82) (Shutdown)
iPhone 5s (10EA95BA-21FC-4520-AD62-56D8358E7D65) (Shutdown)
iPhone 6 (2D94D456-0622-4EBB-BFE0-BEE13ACB2883) (Shutdown)
iPhone 6 Plus (1609CC28-EBD3-4BA1-BF70-F2943AA7F6B8) (Shutdown)
iPhone 6s (8CB8BED4-56BE-43FC-B56A-26FFF0466C74) (Shutdown)
iPhone 6s Plus (CE9874BD-2F3D-47EC-A12A-8421C56F035E) (Shutdown)
iPad 2 (20B4F2D8-0658-4AA0-BAF5-7DB668000F09) (Shutdown)
iPad Retina (5B3B4EA5-30E9-4B1F-82CD-E444563C299E) (Shutdown)
iPad Air (9FB6B865-8FF4-4072-9412-B1B50CD73159) (Shutdown)
iPad Air 2 (F57DF6DA-3C40-4E10-9F05-3642DAD65DA4) (Shutdown)
iPad Pro (601AC817-D967-42A0-B4CB-E28DEE4C7B6B) (Shutdown)
-- tvOS 9.1 --
Apple TV 1080p (E6B7E749-E9B2-40BD-BBC4-860E42459BA1) (Shutdown)
-- watchOS 2.1 --
Apple Watch - 38mm (46E212D0-1C8B-44B3-AF52-8B97A32985F0) (Shutdown)
Apple Watch - 42mm (34A0F051-77B6-4FC7-986A-9A9685ABC81F) (Shutdown)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-8-3 --
iPhone 4s (D37A5A81-D9AB-419B-A6ED-784C3F7AE178) (Shutdown) (unavailable, runtime profile not found)
iPhone 5 (411C34D6-F9DE-46E8-8D1C-2BB6B5F1C111) (Shutdown) (unavailable, runtime profile not found)
iPhone 5s (98066712-5520-4DC9-BBDB-E1AB7DB14DA7) (Shutdown) (unavailable, runtime profile not found)
iPhone 6 (A838500D-1D53-4E75-8070-D664151C895D) (Shutdown) (unavailable, runtime profile not found)
iPhone 6 Plus (C89292B5-955A-47CA-A6A3-56E9992AD5F5) (Shutdown) (unavailable, runtime profile not found)
iPad 2 (F7A44910-84CB-4DD1-B237-A6CDF9F01717) (Shutdown) (unavailable, runtime profile not found)
iPad Retina (6F205B6D-AC72-490C-8F04-9B0ACAEE4481) (Shutdown) (unavailable, runtime profile not found)
iPad Air (55AE56FD-EBAA-41C2-8178-D9BBD121359F) (Shutdown) (unavailable, runtime profile not found)
Resizable iPad (B410B7DF-F787-4764-B0A6-113C33C6EEB8) (Shutdown) (unavailable, runtime profile not found)
Resizable iPhone (9AA15DA9-0080-4017-90C8-5984534FF8E5) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-9-0 --
iPhone 4s (F01076BD-6BBD-40B4-B827-92D0543DAA42) (Shutdown) (unavailable, runtime profile not found)
iPhone 5 (065DA0FD-48C3-47A4-A71C-E142BE18A306) (Shutdown) (unavailable, runtime profile not found)
iPhone 5s (5F0D8E9A-DEC9-41AF-9D34-4CDD3ED5B609) (Shutdown) (unavailable, runtime profile not found)
iPhone 6 (1A1B42FF-7E51-41F0-A34C-F87777D1C314) (Shutdown) (unavailable, runtime profile not found)
iPhone 6 Plus (5CF76026-516C-47E0-89AD-7D2637CE9BF0) (Shutdown) (unavailable, runtime profile not found)
iPhone 6s (61C5BE95-7B74-48F7-BB3B-110498FFC1AF) (Shutdown) (unavailable, runtime profile not found)
iPhone 6s Plus (042E48CA-010B-4081-A85C-D26BF63A4352) (Shutdown) (unavailable, runtime profile not found)
iPad 2 (22F242C3-A1EF-4B9E-BE2A-C1F8F97AD107) (Shutdown) (unavailable, runtime profile not found)
iPad Retina (553049C8-93A7-4F6A-97A3-9639C2DC1769) (Shutdown) (unavailable, runtime profile not found)
iPad Air (95ED97FE-C973-4DF5-9957-772D7D04FF3E) (Shutdown) (unavailable, runtime profile not found)
iPad Air 2 (6C3E49E4-56C4-415F-B35E-28F12D4D6E2D) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-9-1 --
iPhone 4s (CF74A2AD-707E-44B6-9FB8-3D94D06BA6B3) (Shutdown) (unavailable, runtime profile not found)
iPhone 5 (0A344464-856D-4862-A13A-DBE26991A845) (Shutdown) (unavailable, runtime profile not found)
iPhone 5s (C8E6D565-581D-45F5-8266-1FC7DA07363F) (Shutdown) (unavailable, runtime profile not found)
iPhone 6 (F48F1650-25E0-44C2-B926-826BB719014E) (Shutdown) (unavailable, runtime profile not found)
iPhone 6 Plus (01743F71-9508-481F-B051-AD24630C119B) (Shutdown) (unavailable, runtime profile not found)
iPhone 6s (87D2C28C-A610-4FCF-AD51-71C2D3157FA0) (Shutdown) (unavailable, runtime profile not found)
iPhone 6s Plus (94F61292-39CE-4710-92BB-9F6BEF1BABD2) (Shutdown) (unavailable, runtime profile not found)
iPad 2 (2B0B3103-5B5D-47B8-BCAF-7A4169932305) (Shutdown) (unavailable, runtime profile not found)
iPad Retina (0A99E4F0-7CE6-43FA-BF45-AC6699F793A4) (Shutdown) (unavailable, runtime profile not found)
iPad Air (6D36EC72-EABD-40A5-A30B-9A4852512AEE) (Shutdown) (unavailable, runtime profile not found)
iPad Air 2 (4F0789BA-8A80-4AE1-AF0C-968CEE833993) (Shutdown) (unavailable, runtime profile not found)
iPad Pro (259AA76B-D907-4744-892A-A6EB8FA39054) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-9-3 --
iPhone 4s (531C620B-7783-4760-AA2E-90C800F81A00) (Shutdown) (unavailable, runtime profile not found)
iPhone 5 (8A8927BA-18B0-477B-A582-E31E4EB5A7AF) (Shutdown) (unavailable, runtime profile not found)
iPhone 5s (AABFF67B-4C0D-4416-8625-4A8BF5F2118D) (Shutdown) (unavailable, runtime profile not found)
iPhone 6 (A5331F30-FBAA-4EF7-A629-57335C61BB17) (Shutdown) (unavailable, runtime profile not found)
iPhone 6 Plus (F69899B9-E6F8-4DFD-9D77-8C6EF02D8377) (Shutdown) (unavailable, runtime profile not found)
iPhone 6s (E872B951-2855-458A-BDD8-04611AE8A110) (Shutdown) (unavailable, runtime profile not found)
iPhone 6s Plus (42C08FBD-977A-4A3C-96CD-50D1A184DEC3) (Shutdown) (unavailable, runtime profile not found)
iPad 2 (BE618302-114A-4519-B7E5-DC44DD4596B8) (Shutdown) (unavailable, runtime profile not found)
iPad Retina (BAE27C37-3E6F-4513-A0E0-7519C1095F4E) (Shutdown) (unavailable, runtime profile not found)
iPad Air (3C0716B1-ED48-4325-A9D8-C5AFE2EA308D) (Shutdown) (unavailable, runtime profile not found)
iPad Air 2 (DBF3B896-F169-4144-8CBC-E7828207B652) (Shutdown) (unavailable, runtime profile not found)
iPad Pro (501FA9DA-91CC-4DC1-ACD8-E28D381595A0) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.tvOS-9-0 --
Apple TV 1080p (85830BCE-C130-4AC5-BAF9-D2BCD0DD2224) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.tvOS-9-2 --
Apple TV 1080p (D429C6AF-8B9C-431C-A9E5-0DA6909CB1E9) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-2-0 --
Apple Watch - 38mm (06169FD4-9C7A-4E2A-B3C0-ECFFF6218EC9) (Shutdown) (unavailable, runtime profile not found)
Apple Watch - 38mm (F607891E-89EA-4F3D-83C6-02120B0AEFCA) (Shutdown) (unavailable, runtime profile not found)
Apple Watch - 42mm (691C8097-74B5-4134-B8CE-A64E6608D6CB) (Shutdown) (unavailable, runtime profile not found)
Apple Watch - 42mm (00086676-267A-43A4-A308-CB099E2B82A3) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-2-2 --
Apple Watch - 38mm (6B20FE06-9AF5-4F2B-8585-4E956C6DDFF6) (Shutdown) (unavailable, runtime profile not found)
Apple Watch - 42mm (501B6903-EF47-4270-A723-8058245C749E) (Shutdown) (unavailable, runtime profile not found)
== Device Pairs ==
65A325FF-7746-44D9-80C0-2B2CF82942F0 (disconnected)
Watch: Apple Watch - 38mm (46E212D0-1C8B-44B3-AF52-8B97A32985F0) (Shutdown)
Phone: iPhone 6s (8CB8BED4-56BE-43FC-B56A-26FFF0466C74) (Shutdown)
C856FD4B-D9C5-4CB4-8A7B-FE65B4158530 (disconnected)
Watch: Apple Watch - 42mm (34A0F051-77B6-4FC7-986A-9A9685ABC81F) (Shutdown)
Phone: iPhone 6s Plus (CE9874BD-2F3D-47EC-A12A-8421C56F035E) (Shutdown)
F50F1E0E-6144-46C2-A177-92A39F9324D7 (unavailable)
Watch: Apple Watch - 38mm (F607891E-89EA-4F3D-83C6-02120B0AEFCA) (Shutdown)
Phone: iPhone 6 (1A1B42FF-7E51-41F0-A34C-F87777D1C314) (Shutdown)
9D8A0808-22F8-47F8-A7A7-A7E41C46D149 (unavailable)
Watch: Apple Watch - 38mm (06169FD4-9C7A-4E2A-B3C0-ECFFF6218EC9) (Shutdown)
Phone: iPhone 6s (87D2C28C-A610-4FCF-AD51-71C2D3157FA0) (Shutdown)
1A25970C-74E7-4A04-AD4E-D902C25C8800 (unavailable)
Watch: Apple Watch - 42mm (00086676-267A-43A4-A308-CB099E2B82A3) (Shutdown)
Phone: iPhone 6 Plus (5CF76026-516C-47E0-89AD-7D2637CE9BF0) (Shutdown)
8EC529F3-69C0-4FF6-B8A5-D29E2C8E767C (unavailable)
Watch: Apple Watch - 42mm (691C8097-74B5-4134-B8CE-A64E6608D6CB) (Shutdown)
Phone: iPhone 6s Plus (94F61292-39CE-4710-92BB-9F6BEF1BABD2) (Shutdown)
2EF9AAEC-3268-461C-B4C0-53DB0B93B672 (unavailable)
Watch: Apple Watch - 38mm (6B20FE06-9AF5-4F2B-8585-4E956C6DDFF6) (Shutdown)
Phone: iPhone 6s (E872B951-2855-458A-BDD8-04611AE8A110) (Shutdown)
4675D355-4670-477E-8C08-ACF1A86534D2 (unavailable)
Watch: Apple Watch - 42mm (501B6903-EF47-4270-A723-8058245C749E) (Shutdown)
Phone: iPhone 6s Plus (42C08FBD-977A-4A3C-96CD-50D1A184DEC3) (Shutdown)
请问启动虚拟机是根据什么启动的,js 里面指定的是 iphone 5s 可是启动了 6s plus 然后就导致机器找不到执行失败了
#6 楼 @vigossjjj 能否在多说一点点
#3 楼 @hezhenpan 明白了,非常感谢
#1 楼 @hezhenpan 你好,这个开发者证书是别人的还是我自己的
对于我这小白来说太有用了
请问你是如何用 java 启动 drozer 然后执行命令的