Closed JackRostron closed 10 years ago
Instruments outputs the simulator list in a different format on Yosemite:
Jack’s MacBook Pro (C096D41D-7BBB-588A-8169-2A0C7D6DD34E) Jack's iPhone (v8.0) (04b1515a79c58bbb5568b7ea62a97302dfbbb0fc) Resizable iPad (8.0 Simulator) (2CC45EF1-58B5-4DCF-8DD4-09D460D29ADA) Resizable iPhone (8.0 Simulator) (384BC216-8938-4089-8899-080511DFD8AA) iPad 2 (7.1 Simulator) (4317C240-49C6-42C5-BAD0-5F000A54A18F) iPad 2 (8.0 Simulator) (B93EFFDF-F7C6-4A5F-9B7F-C6E336A09645) iPad Air (7.1 Simulator) (BEFA280B-867F-4F94-9E51-E7E1D0A64BE5) iPad Air (8.0 Simulator) (07C1245A-6934-46AF-8579-1DD72DF14787) iPad Retina (7.1 Simulator) (FFE47F22-07C8-44A9-8DD7-5CD8B198ED5C) iPad Retina (8.0 Simulator) (35BFD334-2C04-4D3E-BF77-B881941E4A08) iPhone 4s (7.1 Simulator) (6D17B710-AD1D-437E-AE48-D06EC0B12D69) iPhone 4s (8.0 Simulator) (AC380F7D-60FB-450A-A88B-A3B82CFBB582) iPhone 5 (7.1 Simulator) (D54FD214-6B3A-440D-B454-F385721B6EA5) iPhone 5 (8.0 Simulator) (DA476DD7-8C3E-4BA0-B46F-91ACFFB21F4A) iPhone 5s (7.1 Simulator) (3B55F6D7-0594-47F3-AC5D-010388CADD06) iPhone 5s (8.0 Simulator) (8B7037CA-0A90-4ECC-BAF9-1E22F0991830)
Need to detect whether on Yosemite, then use a different parsing method. In theory that should be all that is needed to get Yosemite support.
Interesting that different simulators are now given unique UUIDs. Means we can potentially run them through command line a different way. It might also means other third party tools that rely on UUIDs can now hook into simulators.
On 16 June 2014 08:22, Jack Rostron notifications@github.com wrote:
Instruments outputs the simulator list in a different format on Yosemite:
Jack’s MacBook Pro (C096D41D-7BBB-588A-8169-2A0C7D6DD34E) Jack's iPhone (v8.0) (04b1515 https://github.com/JackRostron/UIAutomation/commit/04b1515a79c58bbb5568b7ea62a97302dfbbb0fc ) Resizable iPad (8.0 Simulator) (2CC45EF1-58B5-4DCF-8DD4-09D460D29ADA) Resizable iPhone (8.0 Simulator) (384BC216-8938-4089-8899-080511DFD8AA) iPad 2 (7.1 Simulator) (4317C240-49C6-42C5-BAD0-5F000A54A18F) iPad 2 (8.0 Simulator) (B93EFFDF-F7C6-4A5F-9B7F-C6E336A09645) iPad Air (7.1 Simulator) (BEFA280B-867F-4F94-9E51-E7E1D0A64BE5) iPad Air (8.0 Simulator) (07C1245A-6934-46AF-8579-1DD72DF14787) iPad Retina (7.1 Simulator) (FFE47F22-07C8-44A9-8DD7-5CD8B198ED5C) iPad Retina (8.0 Simulator) (35BFD334-2C04-4D3E-BF77-B881941E4A08) iPhone 4s (7.1 Simulator) (6D17B710-AD1D-437E-AE48-D06EC0B12D69) iPhone 4s (8.0 Simulator) (AC380F7D-60FB-450A-A88B-A3B82CFBB582) iPhone 5 (7.1 Simulator) (D54FD214-6B3A-440D-B454-F385721B6EA5) iPhone 5 (8.0 Simulator) (DA476DD7-8C3E-4BA0-B46F-91ACFFB21F4A) iPhone 5s (7.1 Simulator) (3B55F6D7-0594-47F3-AC5D-010388CADD06) iPhone 5s (8.0 Simulator) (8B7037CA-0A90-4ECC-BAF9-1E22F0991830)
— Reply to this email directly or view it on GitHub https://github.com/JackRostron/UIAutomation/issues/6#issuecomment-46192476 .
Mavericks simulator output (for reference - need two different parsing functions):
Instruments Usage Error : Unknown hardware device specified: printSimulators Known Devices: Miles’s MacBook Pro (com.apple.instruments.devices.local) iPhone - Simulator - iOS 7.1 iPhone Retina (3.5-inch) - Simulator - iOS 7.1 iPhone Retina (4-inch) - Simulator - iOS 7.1 iPhone Retina (4-inch 64-bit) - Simulator - iOS 7.1 iPad - Simulator - iOS 7.1 iPad Retina - Simulator - iOS 7.1 iPad Retina (64-bit) - Simulator - iOS 7.1
OS version isn't the cause - Xcode command line tools version modifies the simulator output list
No longer crashes on Yosemite. Simulator won't launch but that is an unrelated issue. This fix has been made on the Objective-C project as well as the Swift project
App crashes when parsing the simulators on Yosemite. Looks to be an issue with NSArrays