Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
Fernando Gasperi Jabalera 306d36a6dd Throw when called with an Xcode version >= 12.5
Summary: idb fails when run with Xcode 12.5. We aren't adding support yet, so we want to provide a more clear message to anyone trying to run it with this Xcode version.

Reviewed By: jbardini

Differential Revision: D28351784

fbshipit-source-id: 9b47a8807450c520ae4290567623c591b40c2029
2021-05-11 09:07:30 -07:00
Ruijie Chen cf3844266b Remove xcode install check
Reviewed By: c-ryan747

Differential Revision: D26985154

fbshipit-source-id: e077b25664d3298495aa3592936c4f38ec7eeb9c
2021-03-12 10:11:21 -08:00
Lawrence Lomax 8424b64506 FBXcodeConfiguration: Remove JSON Serialization
Summary: We only use this for descriptions, let's just use that directly

Reviewed By: yancouto

Differential Revision: D25847515

fbshipit-source-id: cf145207eeedceba24070202dc24fcd5f0c4b637
2021-01-14 08:06:55 -08:00
Lawrence Lomax 61cca6ff9b Add hack for no FBXCTestDevices in Xcode 11.6
Summary: We need t this for Xcode 11.6 also

Differential Revision: D23029366

fbshipit-source-id: b62d7d4fab8aa020d8ac5ff14a73b31003fecf16
2020-08-11 02:14:08 -07:00
Lawrence Lomax bee1b76d8a Add support for CoreSimulator based Accessibility
Summary:
Now that the `SimulatorBridge` is dying, we need to add the appropriate behaviour for the replacement.

This is `CoreSimulator` and `AccessibilityPlatformtranslation`-backed. This does exist before Xcode 12, but now it is essential. Fortunately (once you get your head around the API) it's far more feature rich than we had before:

- We have all the methods on the `NSAccessibility` protocol at our disposal!
- Hierarchies now exist
- It has less setup and appears less failure prone.

Reviewed By: c-ryan747

Differential Revision: D22209181

fbshipit-source-id: a661972b164691e15340c0f4ae634e1dbfd5ccee
2020-07-01 04:38:03 -07:00
Lawrence Lomax 4c8ec24f3a Remove Apple Configurator 2 Loading
Summary: This isn't used and we're doing this in MobileDevice in any case

Reviewed By: fejese

Differential Revision: D21616669

fbshipit-source-id: 12352d8164797e44c766cd489da2742068162148
2020-05-19 11:17:05 -07:00
Andres Suarez 68dc6fd7c6 Yearless license header
Differential Revision: D18292977

fbshipit-source-id: 726c66fe753450cc6500180bb8e158e66713ebd0
2019-11-03 13:03:11 -08:00
Lawrence Lomax e307ed53b2 Remove > Xcode 8 conditionality
Summary: Pre xcode-8 is a different age

Reviewed By: c-ryan747

Differential Revision: D15620183

fbshipit-source-id: ee196415deb34191a40c57cbbfdbf6381a1448e4
2019-06-04 06:03:35 -07:00
Lawrence Lomax a7ff6ddb71 Add FBSimulatorDebuggerCommands
Summary: Adds conformance of FBSimulator to FBDebuggerCommands. This is a lot simpler than a device since we can just use the bundled debugserver binary with xcode and then just return this.

Reviewed By: zeyadsalloum

Differential Revision: D14747898

fbshipit-source-id: 2d370475557259a9c7c52a59dca915d1e32526ea
2019-04-03 12:46:59 -07:00
Lawrence Lomax ff8691e4d4 Re-license as MIT
Summary: $TITLE

Reviewed By: zeyadsalloum, JoelMarcey

Differential Revision: D14365624

fbshipit-source-id: 803f4b69f8df5c45ac02ded04a4fd8f61bd502d7
2019-03-08 01:10:44 -08:00
Yingliu Chen a913056419 Do NOT use direct launch when video recording is enabled in Xcode 10
Summary:
See title. In Xcode 10 video recording doesn't work on direct launched simulator,
but works on simulators launched Simulator.app, so we don't use direct launch in this case.

Reviewed By: lawrencelomax

Differential Revision: D10147771

fbshipit-source-id: aea7b735e440148b7a32debcb5a6766830953398
2018-10-03 06:52:59 -07:00
Jakub Grzmiel b074fc9919 Extract FBXcodeConfiguration from FBControlCoreGlobalConfiguration
Summary: Extract Xcode specific functions to FBXcodeConfiguration from FBControlCoreGlobalConfiguration

Reviewed By: lawrencelomax

Differential Revision: D5638717

fbshipit-source-id: a7ee19866af422f9bf46329f1c5189a862062275
2017-08-16 17:01:27 -07:00