simtap 0.0.0-stage → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +186 -2
- package/THIRD_PARTY_LICENSES +61 -0
- package/bin/simtap.js +4 -0
- package/dist/act/diff.js +67 -0
- package/dist/act/resolve.js +49 -0
- package/dist/act/steps.js +188 -0
- package/dist/cli.js +123 -0
- package/dist/engine/apps.js +153 -0
- package/dist/engine/axe.js +107 -0
- package/dist/engine/exec.js +36 -0
- package/dist/engine/jobs.js +95 -0
- package/dist/engine/logs.js +115 -0
- package/dist/engine/simctl.js +191 -0
- package/dist/engine/state.js +30 -0
- package/dist/engine/xcode.js +253 -0
- package/dist/engine/xcresult.js +95 -0
- package/dist/errors.js +11 -0
- package/dist/look/read.js +50 -0
- package/dist/look/snapshot.js +455 -0
- package/dist/mcp.js +108 -0
- package/dist/registry.js +65 -0
- package/dist/tools/app-control.js +127 -0
- package/dist/tools/app-logs.js +128 -0
- package/dist/tools/app-run.js +94 -0
- package/dist/tools/device-use.js +68 -0
- package/dist/tools/devices.js +26 -0
- package/dist/tools/jobs.js +55 -0
- package/dist/tools/launch-app.js +68 -0
- package/dist/tools/screen-record.js +79 -0
- package/dist/tools/tests-run.js +81 -0
- package/dist/tools/types.js +2 -0
- package/dist/tools/ui-act.js +435 -0
- package/dist/tools/ui-look.js +40 -0
- package/package.json +45 -4
- package/skill/SKILL.md +23 -0
- package/vendor/axe/.version +1 -0
- package/vendor/axe/AXe_AXe.bundle/skills/axe/SKILL.md +87 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/FBControlCore +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBAccessibilityTraits.h +23 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBArchitecture.h +20 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBArchiveOperations.h +136 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBBinaryDescriptor.h +73 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCore-Swift.h +3232 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCore-SwiftImport.h +28 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCore.h +47 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCoreFrameworkLoader.h +104 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCoreLogger+OSLog.h +30 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCoreLogger.h +107 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBCrashLog.h +20 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBDataBuffer.h +75 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBDataConsumer.h +173 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFileContainer.h +46 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFileReader.h +25 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFourCharCode.h +30 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFuture+Sync.h +104 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFuture.h +580 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFutureContextManager.h +61 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBInstalledApplication.h +30 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBInstrumentsCommands.h +29 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBInstrumentsOperation.h +83 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBObjCExceptionGuard.h +59 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessBuilder.h +272 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessFetcher.h +128 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessIO.h +126 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessStream.h +175 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessTerminationStrategy.h +25 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBScreenshotCommands.h +15 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBSettingsCommands.h +22 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBSocketServer.h +63 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBSubprocess.h +131 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBVideoStream.h +255 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBVideoStreamConfiguration.h +51 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBXCTraceOperation.h +13 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTarget.h +69 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTargetConfiguration.h +322 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTargetConstants.h +48 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTargetOperation.h +18 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.abi.json +51890 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.private.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.abi.json +51890 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.private.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/module.modulemap +10 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/_CodeSignature/CodeResources +492 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/FBDeviceControl +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAFCConnection.h +135 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDServiceConnection.h +239 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDefines.h +256 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDevice.h +105 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDeviceManager.h +59 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMRestorableDevice.h +72 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMRestorableDeviceManager.h +32 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDevice.h +89 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceCommands.h +147 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceControl-Swift.h +1500 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceControl.h +24 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceControlFrameworkLoader.h +25 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceDebugSymbolsCommands.h +29 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceManager.h +118 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBInstrumentsClient.h +49 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.abi.json +16073 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.private.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.abi.json +16073 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.private.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/module.modulemap +10 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/_CodeSignature/CodeResources +324 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/FBSimulatorControl +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBFramebuffer.h +24 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBPeriodicStatsTimer.h +43 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimDeviceWrapper.h +86 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulator.h +160 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorBootConfiguration.h +18 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorControl-Swift.h +2270 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorControl.h +21 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorControlFrameworkLoader.h +45 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorVideoStream.h +153 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.abi.json +46980 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.private.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.abi.json +46980 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.private.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/module.modulemap +10 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Resources/README.md +124 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/_CodeSignature/CodeResources +293 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBActivityRecord.h +33 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBAttachment.h +25 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBCodeCoverageConfiguration.h +15 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestBundleConnection.h +37 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestConfiguration.h +74 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestManagerAPIMediator.h +46 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestManagerResultSummary.h +19 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestReporterAdapter.h +27 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBXCTestConfiguration.h +30 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/XCTestBootstrap-Swift.h +1570 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/XCTestBootstrap.h +22 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/XCTestBootstrapError.h +25 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.abi.json +15972 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.private.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.abi.json +15972 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.private.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/module.modulemap +13 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/XCTestBootstrap +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/_CodeSignature/CodeResources +303 -0
- package/vendor/axe/axe +0 -0
|
@@ -0,0 +1,2270 @@
|
|
|
1
|
+
#if 0
|
|
2
|
+
#elif defined(__arm64__) && __arm64__
|
|
3
|
+
// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101)
|
|
4
|
+
#ifndef FBSIMULATORCONTROL_SWIFT_H
|
|
5
|
+
#define FBSIMULATORCONTROL_SWIFT_H
|
|
6
|
+
#pragma clang diagnostic push
|
|
7
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
8
|
+
|
|
9
|
+
#if !defined(__has_include)
|
|
10
|
+
# define __has_include(x) 0
|
|
11
|
+
#endif
|
|
12
|
+
#if !defined(__has_attribute)
|
|
13
|
+
# define __has_attribute(x) 0
|
|
14
|
+
#endif
|
|
15
|
+
#if !defined(__has_feature)
|
|
16
|
+
# define __has_feature(x) 0
|
|
17
|
+
#endif
|
|
18
|
+
#if !defined(__has_warning)
|
|
19
|
+
# define __has_warning(x) 0
|
|
20
|
+
#endif
|
|
21
|
+
|
|
22
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
23
|
+
# include <swift/objc-prologue.h>
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
27
|
+
#if defined(__OBJC__)
|
|
28
|
+
#include <Foundation/Foundation.h>
|
|
29
|
+
#endif // defined(__OBJC__)
|
|
30
|
+
#if defined(__cplusplus)
|
|
31
|
+
#include <cstdint>
|
|
32
|
+
#include <cstddef>
|
|
33
|
+
#include <cstdbool>
|
|
34
|
+
#include <cstring>
|
|
35
|
+
#include <stdlib.h>
|
|
36
|
+
#include <new>
|
|
37
|
+
#include <type_traits>
|
|
38
|
+
#else
|
|
39
|
+
#include <stdint.h>
|
|
40
|
+
#include <stddef.h>
|
|
41
|
+
#include <stdbool.h>
|
|
42
|
+
#include <string.h>
|
|
43
|
+
#endif
|
|
44
|
+
#if defined(__cplusplus)
|
|
45
|
+
#pragma clang diagnostic push
|
|
46
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
47
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
48
|
+
# include <ptrauth.h>
|
|
49
|
+
#else
|
|
50
|
+
#pragma clang diagnostic push
|
|
51
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
52
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
53
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
54
|
+
# endif
|
|
55
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
56
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
57
|
+
# endif
|
|
58
|
+
#pragma clang diagnostic pop
|
|
59
|
+
#endif
|
|
60
|
+
#pragma clang diagnostic pop
|
|
61
|
+
#endif
|
|
62
|
+
|
|
63
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
64
|
+
# define SWIFT_TYPEDEFS 1
|
|
65
|
+
# if __has_include(<uchar.h>)
|
|
66
|
+
# include <uchar.h>
|
|
67
|
+
# elif !defined(__cplusplus)
|
|
68
|
+
typedef unsigned char char8_t;
|
|
69
|
+
typedef uint_least16_t char16_t;
|
|
70
|
+
typedef uint_least32_t char32_t;
|
|
71
|
+
# endif
|
|
72
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
73
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
74
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
75
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
76
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
77
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
78
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
79
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
80
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
81
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
82
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
83
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
84
|
+
#endif
|
|
85
|
+
|
|
86
|
+
#if !defined(SWIFT_PASTE)
|
|
87
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
88
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
89
|
+
#endif
|
|
90
|
+
#if !defined(SWIFT_METATYPE)
|
|
91
|
+
# define SWIFT_METATYPE(X) Class
|
|
92
|
+
#endif
|
|
93
|
+
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
94
|
+
# if __has_feature(objc_class_property)
|
|
95
|
+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
96
|
+
# else
|
|
97
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
98
|
+
# endif
|
|
99
|
+
#endif
|
|
100
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
101
|
+
# if __has_attribute(objc_runtime_name)
|
|
102
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
103
|
+
# else
|
|
104
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
105
|
+
# endif
|
|
106
|
+
#endif
|
|
107
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
108
|
+
# if __has_attribute(swift_name)
|
|
109
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
110
|
+
# else
|
|
111
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
112
|
+
# endif
|
|
113
|
+
#endif
|
|
114
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
115
|
+
# if __has_attribute(objc_method_family)
|
|
116
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
117
|
+
# else
|
|
118
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
119
|
+
# endif
|
|
120
|
+
#endif
|
|
121
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
122
|
+
# if __has_attribute(noescape)
|
|
123
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
124
|
+
# else
|
|
125
|
+
# define SWIFT_NOESCAPE
|
|
126
|
+
# endif
|
|
127
|
+
#endif
|
|
128
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
129
|
+
# if __has_attribute(ns_consumed)
|
|
130
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
131
|
+
# else
|
|
132
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
133
|
+
# endif
|
|
134
|
+
#endif
|
|
135
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
136
|
+
# if __has_attribute(warn_unused_result)
|
|
137
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
138
|
+
# else
|
|
139
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
140
|
+
# endif
|
|
141
|
+
#endif
|
|
142
|
+
#if !defined(SWIFT_NORETURN)
|
|
143
|
+
# if __has_attribute(noreturn)
|
|
144
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
145
|
+
# else
|
|
146
|
+
# define SWIFT_NORETURN
|
|
147
|
+
# endif
|
|
148
|
+
#endif
|
|
149
|
+
#if !defined(SWIFT_CLASS_EXTRA)
|
|
150
|
+
# define SWIFT_CLASS_EXTRA
|
|
151
|
+
#endif
|
|
152
|
+
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
153
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
154
|
+
#endif
|
|
155
|
+
#if !defined(SWIFT_ENUM_EXTRA)
|
|
156
|
+
# define SWIFT_ENUM_EXTRA
|
|
157
|
+
#endif
|
|
158
|
+
#if !defined(SWIFT_CLASS)
|
|
159
|
+
# if __has_attribute(objc_subclassing_restricted)
|
|
160
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
161
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
162
|
+
# else
|
|
163
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
164
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
165
|
+
# endif
|
|
166
|
+
#endif
|
|
167
|
+
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
168
|
+
# if __has_attribute(objc_class_stub)
|
|
169
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
170
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
171
|
+
# else
|
|
172
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
173
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
174
|
+
# endif
|
|
175
|
+
#endif
|
|
176
|
+
#if !defined(SWIFT_PROTOCOL)
|
|
177
|
+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
178
|
+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
179
|
+
#endif
|
|
180
|
+
#if !defined(SWIFT_EXTENSION)
|
|
181
|
+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
182
|
+
#endif
|
|
183
|
+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
184
|
+
# if __has_attribute(objc_designated_initializer)
|
|
185
|
+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
186
|
+
# else
|
|
187
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
188
|
+
# endif
|
|
189
|
+
#endif
|
|
190
|
+
#if !defined(SWIFT_ENUM_ATTR)
|
|
191
|
+
# if __has_attribute(enum_extensibility)
|
|
192
|
+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
193
|
+
# else
|
|
194
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
195
|
+
# endif
|
|
196
|
+
#endif
|
|
197
|
+
#if !defined(SWIFT_ENUM)
|
|
198
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
199
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
200
|
+
# if __has_feature(generalized_swift_name)
|
|
201
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
202
|
+
# else
|
|
203
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
204
|
+
# endif
|
|
205
|
+
# else
|
|
206
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
|
|
207
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
208
|
+
# endif
|
|
209
|
+
#endif
|
|
210
|
+
#if !defined(SWIFT_ENUM_TAG)
|
|
211
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
212
|
+
# define SWIFT_ENUM_TAG enum
|
|
213
|
+
# else
|
|
214
|
+
# define SWIFT_ENUM_TAG
|
|
215
|
+
# endif
|
|
216
|
+
#endif
|
|
217
|
+
#if !defined(SWIFT_ENUM_FWD_DECL)
|
|
218
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
219
|
+
# define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
|
|
220
|
+
# else
|
|
221
|
+
# define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
|
|
222
|
+
# endif
|
|
223
|
+
#endif
|
|
224
|
+
#if !defined(SWIFT_UNAVAILABLE)
|
|
225
|
+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
226
|
+
#endif
|
|
227
|
+
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
228
|
+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
229
|
+
#endif
|
|
230
|
+
#if !defined(SWIFT_AVAILABILITY)
|
|
231
|
+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
232
|
+
#endif
|
|
233
|
+
#if !defined(SWIFT_AVAILABILITY_DOMAIN)
|
|
234
|
+
# define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
|
|
235
|
+
#endif
|
|
236
|
+
#if !defined(SWIFT_WEAK_IMPORT)
|
|
237
|
+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
238
|
+
#endif
|
|
239
|
+
#if !defined(SWIFT_DEPRECATED)
|
|
240
|
+
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
241
|
+
#endif
|
|
242
|
+
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
243
|
+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
244
|
+
#endif
|
|
245
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
246
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
247
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
248
|
+
# else
|
|
249
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
250
|
+
# endif
|
|
251
|
+
#endif
|
|
252
|
+
#if defined(__OBJC__)
|
|
253
|
+
#if !defined(IBSegueAction)
|
|
254
|
+
# define IBSegueAction
|
|
255
|
+
#endif
|
|
256
|
+
#endif
|
|
257
|
+
#if !defined(SWIFT_EXTERN)
|
|
258
|
+
# if defined(__cplusplus)
|
|
259
|
+
# define SWIFT_EXTERN extern "C"
|
|
260
|
+
# else
|
|
261
|
+
# define SWIFT_EXTERN extern
|
|
262
|
+
# endif
|
|
263
|
+
#endif
|
|
264
|
+
#if !defined(SWIFT_CALL)
|
|
265
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
266
|
+
#endif
|
|
267
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
268
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
269
|
+
#endif
|
|
270
|
+
#if !defined(SWIFT_CONTEXT)
|
|
271
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
272
|
+
#endif
|
|
273
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
274
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
275
|
+
#endif
|
|
276
|
+
#if defined(__cplusplus)
|
|
277
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
278
|
+
#else
|
|
279
|
+
# define SWIFT_NOEXCEPT
|
|
280
|
+
#endif
|
|
281
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
282
|
+
# if __has_attribute(always_inline)
|
|
283
|
+
# if __has_attribute(nodebug)
|
|
284
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
285
|
+
# else
|
|
286
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
287
|
+
# endif
|
|
288
|
+
# else
|
|
289
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
290
|
+
# endif
|
|
291
|
+
#endif
|
|
292
|
+
#if defined(_WIN32)
|
|
293
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
294
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
295
|
+
#endif
|
|
296
|
+
#else
|
|
297
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
298
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
299
|
+
#endif
|
|
300
|
+
#endif
|
|
301
|
+
#if !__has_feature(nullability)
|
|
302
|
+
# define _Nonnull
|
|
303
|
+
# define _Nullable
|
|
304
|
+
# define _Null_unspecified
|
|
305
|
+
#elif !defined(__OBJC__)
|
|
306
|
+
# pragma clang diagnostic ignored "-Wnullability-extension"
|
|
307
|
+
#endif
|
|
308
|
+
#if !__has_feature(nullability_nullable_result)
|
|
309
|
+
# define _Nullable_result _Nullable
|
|
310
|
+
#endif
|
|
311
|
+
#if __has_feature(objc_modules)
|
|
312
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
313
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
314
|
+
#endif
|
|
315
|
+
#endif
|
|
316
|
+
|
|
317
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
318
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
319
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
320
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
321
|
+
#endif
|
|
322
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
323
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
324
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
325
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
326
|
+
|
|
327
|
+
#if __has_attribute(external_source_symbol)
|
|
328
|
+
# pragma push_macro("any")
|
|
329
|
+
# undef any
|
|
330
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSimulatorControl",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
331
|
+
# pragma pop_macro("any")
|
|
332
|
+
#endif
|
|
333
|
+
|
|
334
|
+
#if defined(__cplusplus)
|
|
335
|
+
extern "C" {
|
|
336
|
+
#endif
|
|
337
|
+
|
|
338
|
+
#if defined(__cplusplus)
|
|
339
|
+
} // extern "C"
|
|
340
|
+
#endif
|
|
341
|
+
#if __has_attribute(external_source_symbol)
|
|
342
|
+
# pragma clang attribute pop
|
|
343
|
+
#endif
|
|
344
|
+
#if defined(__OBJC__)
|
|
345
|
+
#if __has_feature(objc_modules)
|
|
346
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
347
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
348
|
+
#endif
|
|
349
|
+
@import CoreFoundation;
|
|
350
|
+
@import CoreGraphics;
|
|
351
|
+
@import CoreVideo;
|
|
352
|
+
@import Dispatch;
|
|
353
|
+
@import FBControlCore;
|
|
354
|
+
@import Foundation;
|
|
355
|
+
@import ObjectiveC;
|
|
356
|
+
@import _DarwinFoundation2.sys_types;
|
|
357
|
+
#endif
|
|
358
|
+
|
|
359
|
+
#import <FBSimulatorControl/FBSimulatorControl.h>
|
|
360
|
+
|
|
361
|
+
#endif // defined(__OBJC__)
|
|
362
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
363
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
364
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
365
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
366
|
+
#endif
|
|
367
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
368
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
369
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
370
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
371
|
+
|
|
372
|
+
#if __has_attribute(external_source_symbol)
|
|
373
|
+
# pragma push_macro("any")
|
|
374
|
+
# undef any
|
|
375
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSimulatorControl",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
376
|
+
# pragma pop_macro("any")
|
|
377
|
+
#endif
|
|
378
|
+
|
|
379
|
+
#if defined(__OBJC__)
|
|
380
|
+
|
|
381
|
+
@class FBSimulator;
|
|
382
|
+
@class FBSimulatorSet;
|
|
383
|
+
@class NSString;
|
|
384
|
+
@class NSNull;
|
|
385
|
+
@protocol FBControlCoreLogger;
|
|
386
|
+
SWIFT_CLASS_NAMED("FBAppleSimctlCommandExecutor")
|
|
387
|
+
@interface FBAppleSimctlCommandExecutor : NSObject
|
|
388
|
+
+ (FBAppleSimctlCommandExecutor * _Nonnull)executorForSimulator:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
389
|
+
+ (FBAppleSimctlCommandExecutor * _Nonnull)executorForDeviceSet:(FBSimulatorSet * _Nonnull)set SWIFT_WARN_UNUSED_RESULT;
|
|
390
|
+
- (FBProcessBuilder<NSNull *, id <FBControlCoreLogger>, id <FBControlCoreLogger>> * _Nonnull)taskBuilderWithCommand:(NSString * _Nonnull)command arguments:(NSArray<NSString *> * _Nonnull)arguments SWIFT_WARN_UNUSED_RESULT;
|
|
391
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
392
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
393
|
+
@end
|
|
394
|
+
|
|
395
|
+
@class SimDevice;
|
|
396
|
+
SWIFT_CLASS_NAMED("FBCoreSimulatorNotifier")
|
|
397
|
+
@interface FBCoreSimulatorNotifier : NSObject
|
|
398
|
+
+ (FBCoreSimulatorNotifier * _Nonnull)notifierForSimDevice:(SimDevice * _Nonnull)simDevice queue:(dispatch_queue_t _Nonnull)queue block:(void (^ _Nonnull)(NSDictionary<NSString *, id> * _Nonnull))block SWIFT_WARN_UNUSED_RESULT;
|
|
399
|
+
+ (FBFuture<NSNull *> * _Nonnull)resolveLeavesState:(FBiOSTargetState)state forSimDevice:(SimDevice * _Nonnull)device SWIFT_WARN_UNUSED_RESULT;
|
|
400
|
+
- (void)terminate;
|
|
401
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
402
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
403
|
+
@end
|
|
404
|
+
|
|
405
|
+
SWIFT_CLASS_NAMED("FBDefaultsModificationStrategy")
|
|
406
|
+
@interface FBDefaultsModificationStrategy : NSObject
|
|
407
|
+
+ (nonnull instancetype)strategyWithSimulator:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
408
|
+
- (FBFuture<NSNull *> * _Nonnull)modifyDefaultsInDomainOrPath:(NSString * _Nullable)domainOrPath defaults:(NSDictionary<NSString *, id> * _Nonnull)defaults SWIFT_WARN_UNUSED_RESULT;
|
|
409
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
410
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
411
|
+
@end
|
|
412
|
+
|
|
413
|
+
@protocol FBFramebufferConsumer;
|
|
414
|
+
@class IOSurface;
|
|
415
|
+
SWIFT_CLASS_NAMED("FBFramebuffer")
|
|
416
|
+
@interface FBFramebuffer : NSObject
|
|
417
|
+
+ (FBFramebuffer * _Nullable)mainScreenSurfaceForSimulator:(FBSimulator * _Nonnull)simulator logger:(id <FBControlCoreLogger> _Nonnull)logger error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
418
|
+
- (IOSurface * _Nullable)attachConsumer:(id <FBFramebufferConsumer> _Nonnull)consumer onQueue:(dispatch_queue_t _Nonnull)queue SWIFT_WARN_UNUSED_RESULT;
|
|
419
|
+
- (void)detachConsumer:(id <FBFramebufferConsumer> _Nonnull)consumer;
|
|
420
|
+
- (BOOL)isConsumerAttached:(id <FBFramebufferConsumer> _Nonnull)consumer SWIFT_WARN_UNUSED_RESULT;
|
|
421
|
+
- (FBFramebufferStats)currentStats SWIFT_WARN_UNUSED_RESULT;
|
|
422
|
+
@property (nonatomic, readonly) CFTimeInterval statsStartTime;
|
|
423
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
424
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
425
|
+
@end
|
|
426
|
+
|
|
427
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl21FBFramebufferConsumer_")
|
|
428
|
+
@protocol FBFramebufferConsumer <NSObject>
|
|
429
|
+
- (void)didChangeIOSurface:(IOSurface * _Nullable)surface;
|
|
430
|
+
- (void)didReceiveDamageRect;
|
|
431
|
+
@end
|
|
432
|
+
|
|
433
|
+
SWIFT_CLASS_NAMED("FBLocationServicesModificationStrategy")
|
|
434
|
+
@interface FBLocationServicesModificationStrategy : FBDefaultsModificationStrategy
|
|
435
|
+
- (FBFuture<NSNull *> * _Nonnull)approveLocationServicesForBundleIDs:(NSArray<NSString *> * _Nonnull)bundleIDs SWIFT_WARN_UNUSED_RESULT;
|
|
436
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeLocationServicesForBundleIDs:(NSArray<NSString *> * _Nonnull)bundleIDs SWIFT_WARN_UNUSED_RESULT;
|
|
437
|
+
@end
|
|
438
|
+
|
|
439
|
+
SWIFT_CLASS_NAMED("FBPreferenceModificationStrategy")
|
|
440
|
+
@interface FBPreferenceModificationStrategy : FBDefaultsModificationStrategy
|
|
441
|
+
- (FBFuture<NSNull *> * _Nonnull)setPreference:(NSString * _Nonnull)name value:(NSString * _Nonnull)value type:(NSString * _Nullable)type domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
442
|
+
- (FBFuture<NSString *> * _Nonnull)getCurrentPreference:(NSString * _Nonnull)name domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
443
|
+
@end
|
|
444
|
+
|
|
445
|
+
@class NSPredicate;
|
|
446
|
+
@class FBCrashLogInfo;
|
|
447
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBCrashLogCommands>
|
|
448
|
+
- (FBFuture<FBCrashLogInfo *> * _Nonnull)notifyOfCrash:(NSPredicate * _Nonnull)predicate SWIFT_WARN_UNUSED_RESULT;
|
|
449
|
+
@end
|
|
450
|
+
|
|
451
|
+
@class FBInstalledApplication;
|
|
452
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl38FBSimulatorApplicationCommandsProtocol_")
|
|
453
|
+
@protocol FBSimulatorApplicationCommandsProtocol <NSObject>
|
|
454
|
+
- (FBInstalledApplication * _Nullable)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
455
|
+
@end
|
|
456
|
+
|
|
457
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorApplicationCommandsProtocol>
|
|
458
|
+
- (FBInstalledApplication * _Nullable)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
459
|
+
@end
|
|
460
|
+
|
|
461
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl35FBSimulatorKeychainCommandsProtocol_")
|
|
462
|
+
@protocol FBSimulatorKeychainCommandsProtocol <NSObject>
|
|
463
|
+
- (FBFuture<NSNull *> * _Nonnull)clearKeychain SWIFT_WARN_UNUSED_RESULT;
|
|
464
|
+
@end
|
|
465
|
+
|
|
466
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorKeychainCommandsProtocol>
|
|
467
|
+
- (FBFuture<NSNull *> * _Nonnull)clearKeychain SWIFT_WARN_UNUSED_RESULT;
|
|
468
|
+
@end
|
|
469
|
+
|
|
470
|
+
@class NSURL;
|
|
471
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl32FBSimulatorMediaCommandsProtocol_")
|
|
472
|
+
@protocol FBSimulatorMediaCommandsProtocol <FBiOSTargetCommand>
|
|
473
|
+
- (FBFuture<NSNull *> * _Nonnull)addMedia:(NSArray<NSURL *> * _Nonnull)mediaFileURLs SWIFT_WARN_UNUSED_RESULT;
|
|
474
|
+
@end
|
|
475
|
+
|
|
476
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorMediaCommandsProtocol>
|
|
477
|
+
- (FBFuture<NSNull *> * _Nonnull)addMedia:(NSArray<NSURL *> * _Nonnull)mediaFileURLs SWIFT_WARN_UNUSED_RESULT;
|
|
478
|
+
@end
|
|
479
|
+
|
|
480
|
+
@protocol FBContainedFile;
|
|
481
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl31FBSimulatorFileCommandsProtocol_")
|
|
482
|
+
@protocol FBSimulatorFileCommandsProtocol <NSObject>
|
|
483
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplication:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
484
|
+
- (id <FBContainedFile> _Nullable)containedFileForGroupContainersWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
485
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplicationContainersWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
486
|
+
- (id <FBContainedFile> _Nonnull)containedFileForRootFilesystem SWIFT_WARN_UNUSED_RESULT;
|
|
487
|
+
@end
|
|
488
|
+
|
|
489
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorFileCommandsProtocol>
|
|
490
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplication:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
491
|
+
- (id <FBContainedFile> _Nullable)containedFileForGroupContainersWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
492
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplicationContainersWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
493
|
+
- (id <FBContainedFile> _Nonnull)containedFileForRootFilesystem SWIFT_WARN_UNUSED_RESULT;
|
|
494
|
+
@end
|
|
495
|
+
|
|
496
|
+
@class FBTestLaunchConfiguration;
|
|
497
|
+
@class NSNumber;
|
|
498
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBXCTestExtendedCommands>
|
|
499
|
+
- (FBFuture<NSNull *> * _Nonnull)runTestWithLaunchConfiguration:(FBTestLaunchConfiguration * _Nonnull)testLaunchConfiguration reporter:(id _Nonnull)reporter logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
500
|
+
- (FBFuture<NSArray *> * _Nonnull)listTestsForBundleAtPath:(NSString * _Nonnull)bundlePath timeout:(NSTimeInterval)timeout withAppAtPath:(NSString * _Nullable)appPath SWIFT_WARN_UNUSED_RESULT;
|
|
501
|
+
- (FBFuture<NSString *> * _Nonnull)extendedTestShim SWIFT_WARN_UNUSED_RESULT;
|
|
502
|
+
- (FBFutureContext<NSNumber *> * _Nonnull)transportForTestManagerService SWIFT_WARN_UNUSED_RESULT;
|
|
503
|
+
@end
|
|
504
|
+
|
|
505
|
+
@class FBSimulatorBootConfiguration;
|
|
506
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl36FBSimulatorLifecycleCommandsProtocol_")
|
|
507
|
+
@protocol FBSimulatorLifecycleCommandsProtocol <FBiOSTargetCommand>
|
|
508
|
+
- (FBFuture<NSNull *> * _Nonnull)boot:(FBSimulatorBootConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
509
|
+
- (FBFuture<NSNull *> * _Nonnull)focus SWIFT_WARN_UNUSED_RESULT;
|
|
510
|
+
- (FBFuture<NSNull *> * _Nonnull)disconnectWithTimeout:(NSTimeInterval)timeout logger:(id <FBControlCoreLogger> _Nullable)logger SWIFT_WARN_UNUSED_RESULT;
|
|
511
|
+
- (FBFuture<FBFramebuffer *> * _Nonnull)connectToFramebuffer SWIFT_WARN_UNUSED_RESULT;
|
|
512
|
+
- (FBFuture<NSNull *> * _Nonnull)openURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
|
|
513
|
+
@end
|
|
514
|
+
|
|
515
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorLifecycleCommandsProtocol>
|
|
516
|
+
- (FBFuture<NSNull *> * _Nonnull)boot:(FBSimulatorBootConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
517
|
+
- (FBFuture<NSNull *> * _Nonnull)focus SWIFT_WARN_UNUSED_RESULT;
|
|
518
|
+
- (FBFuture<NSNull *> * _Nonnull)disconnectWithTimeout:(NSTimeInterval)timeout logger:(id <FBControlCoreLogger> _Nullable)logger SWIFT_WARN_UNUSED_RESULT;
|
|
519
|
+
- (FBFuture<FBFramebuffer *> * _Nonnull)connectToFramebuffer SWIFT_WARN_UNUSED_RESULT;
|
|
520
|
+
- (FBFuture<NSNull *> * _Nonnull)openURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
|
|
521
|
+
@end
|
|
522
|
+
|
|
523
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl))
|
|
524
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull xctestPath;
|
|
525
|
+
@end
|
|
526
|
+
|
|
527
|
+
@class FBApplicationLaunchConfiguration;
|
|
528
|
+
@protocol FBLaunchedApplication;
|
|
529
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBApplicationCommands>
|
|
530
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installApplicationWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
531
|
+
- (FBFuture<NSNull *> * _Nonnull)uninstallApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
532
|
+
- (FBFuture<id <FBLaunchedApplication>> * _Nonnull)launchApplication:(FBApplicationLaunchConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
533
|
+
- (FBFuture<NSNull *> * _Nonnull)killApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
534
|
+
- (FBFuture<NSArray *> * _Nonnull)installedApplications SWIFT_WARN_UNUSED_RESULT;
|
|
535
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
536
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIDWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
537
|
+
@end
|
|
538
|
+
|
|
539
|
+
@class FBProcessInfo;
|
|
540
|
+
@class NSRegularExpression;
|
|
541
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl36FBSimulatorLaunchCtlCommandsProtocol_")
|
|
542
|
+
@protocol FBSimulatorLaunchCtlCommandsProtocol <FBiOSTargetCommand>
|
|
543
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcessIdentifier:(pid_t)pid SWIFT_WARN_UNUSED_RESULT;
|
|
544
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcess:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
545
|
+
- (FBFuture<NSDictionary *> * _Nonnull)serviceNamesAndProcessIdentifiersMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
546
|
+
- (FBFuture<NSArray *> * _Nonnull)firstServiceNameAndProcessIdentifierMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
547
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIsRunningOnSimulator:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
548
|
+
- (FBFuture<NSDictionary *> * _Nonnull)listServices SWIFT_WARN_UNUSED_RESULT;
|
|
549
|
+
- (FBFuture<NSString *> * _Nonnull)stopServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
550
|
+
- (FBFuture<NSString *> * _Nonnull)startServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
551
|
+
@end
|
|
552
|
+
|
|
553
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorLaunchCtlCommandsProtocol>
|
|
554
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcessIdentifier:(pid_t)pid SWIFT_WARN_UNUSED_RESULT;
|
|
555
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcess:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
556
|
+
- (FBFuture<NSDictionary *> * _Nonnull)serviceNamesAndProcessIdentifiersMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
557
|
+
- (FBFuture<NSArray *> * _Nonnull)firstServiceNameAndProcessIdentifierMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
558
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIsRunningOnSimulator:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
559
|
+
- (FBFuture<NSDictionary *> * _Nonnull)listServices SWIFT_WARN_UNUSED_RESULT;
|
|
560
|
+
- (FBFuture<NSString *> * _Nonnull)stopServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
561
|
+
- (FBFuture<NSString *> * _Nonnull)startServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
562
|
+
@end
|
|
563
|
+
|
|
564
|
+
SWIFT_ENUM_FWD_DECL(NSUInteger, FBSimulatorSetting)
|
|
565
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, FBSimulatorAppearance)
|
|
566
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, FBSimulatorContentSizeCategory)
|
|
567
|
+
@class FBStatusBarOverride;
|
|
568
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl35FBSimulatorSettingsCommandsProtocol_")
|
|
569
|
+
@protocol FBSimulatorSettingsCommandsProtocol <FBiOSTargetCommand>
|
|
570
|
+
- (FBFuture<NSNull *> * _Nonnull)setSetting:(enum FBSimulatorSetting)setting enabled:(BOOL)enabled SWIFT_WARN_UNUSED_RESULT;
|
|
571
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentAppearance SWIFT_WARN_UNUSED_RESULT;
|
|
572
|
+
- (FBFuture<NSNull *> * _Nonnull)setAppearance:(enum FBSimulatorAppearance)appearance SWIFT_WARN_UNUSED_RESULT;
|
|
573
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentContentSizeCategory SWIFT_WARN_UNUSED_RESULT;
|
|
574
|
+
- (FBFuture<NSNull *> * _Nonnull)setContentSizeCategory:(enum FBSimulatorContentSizeCategory)category SWIFT_WARN_UNUSED_RESULT;
|
|
575
|
+
- (FBFuture<FBStatusBarOverride *> * _Nonnull)currentStatusBarOverrides SWIFT_WARN_UNUSED_RESULT;
|
|
576
|
+
- (FBFuture<NSNull *> * _Nonnull)overrideStatusBar:(FBStatusBarOverride * _Nullable)override SWIFT_WARN_UNUSED_RESULT;
|
|
577
|
+
- (FBFuture<NSNull *> * _Nonnull)setPreference:(NSString * _Nonnull)name value:(NSString * _Nonnull)value type:(NSString * _Nullable)type domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
578
|
+
- (FBFuture<NSString *> * _Nonnull)getCurrentPreference:(NSString * _Nonnull)name domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
579
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
580
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
581
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
582
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
583
|
+
- (FBFuture<NSNull *> * _Nonnull)updateContacts:(NSString * _Nonnull)databaseDirectory SWIFT_WARN_UNUSED_RESULT;
|
|
584
|
+
- (FBFuture<NSNull *> * _Nonnull)clearContacts SWIFT_WARN_UNUSED_RESULT;
|
|
585
|
+
- (FBFuture<NSNull *> * _Nonnull)clearPhotos SWIFT_WARN_UNUSED_RESULT;
|
|
586
|
+
- (FBFuture<NSNull *> * _Nonnull)setProxyWithHost:(NSString * _Nonnull)host port:(NSUInteger)port type:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
|
|
587
|
+
- (FBFuture<NSNull *> * _Nonnull)clearProxy SWIFT_WARN_UNUSED_RESULT;
|
|
588
|
+
- (FBFuture<NSString *> * _Nonnull)listProxy SWIFT_WARN_UNUSED_RESULT;
|
|
589
|
+
- (FBFuture<NSNull *> * _Nonnull)setDnsServers:(NSArray<NSString *> * _Nonnull)servers SWIFT_WARN_UNUSED_RESULT;
|
|
590
|
+
- (FBFuture<NSNull *> * _Nonnull)clearDns SWIFT_WARN_UNUSED_RESULT;
|
|
591
|
+
- (FBFuture<NSString *> * _Nonnull)listDns SWIFT_WARN_UNUSED_RESULT;
|
|
592
|
+
- (FBFuture<NSNull *> * _Nonnull)setHealthAuthorization:(BOOL)approved forBundleID:(NSString * _Nonnull)bundleID typeIdentifiers:(NSArray<NSString *> * _Nonnull)typeIdentifiers SWIFT_WARN_UNUSED_RESULT;
|
|
593
|
+
- (FBFuture<NSNull *> * _Nonnull)clearHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
594
|
+
- (FBFuture<NSString *> * _Nonnull)listHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
595
|
+
@end
|
|
596
|
+
|
|
597
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorSettingsCommandsProtocol>
|
|
598
|
+
- (FBFuture<NSNull *> * _Nonnull)setSetting:(enum FBSimulatorSetting)setting enabled:(BOOL)enabled SWIFT_WARN_UNUSED_RESULT;
|
|
599
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentAppearance SWIFT_WARN_UNUSED_RESULT;
|
|
600
|
+
- (FBFuture<NSNull *> * _Nonnull)setAppearance:(enum FBSimulatorAppearance)appearance SWIFT_WARN_UNUSED_RESULT;
|
|
601
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentContentSizeCategory SWIFT_WARN_UNUSED_RESULT;
|
|
602
|
+
- (FBFuture<NSNull *> * _Nonnull)setContentSizeCategory:(enum FBSimulatorContentSizeCategory)category SWIFT_WARN_UNUSED_RESULT;
|
|
603
|
+
- (FBFuture<FBStatusBarOverride *> * _Nonnull)currentStatusBarOverrides SWIFT_WARN_UNUSED_RESULT;
|
|
604
|
+
- (FBFuture<NSNull *> * _Nonnull)overrideStatusBar:(FBStatusBarOverride * _Nullable)override SWIFT_WARN_UNUSED_RESULT;
|
|
605
|
+
- (FBFuture<NSNull *> * _Nonnull)setPreference:(NSString * _Nonnull)name value:(NSString * _Nonnull)value type:(NSString * _Nullable)type domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
606
|
+
- (FBFuture<NSString *> * _Nonnull)getCurrentPreference:(NSString * _Nonnull)name domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
607
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
608
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
609
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
610
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
611
|
+
- (FBFuture<NSNull *> * _Nonnull)updateContacts:(NSString * _Nonnull)databaseDirectory SWIFT_WARN_UNUSED_RESULT;
|
|
612
|
+
- (FBFuture<NSNull *> * _Nonnull)clearContacts SWIFT_WARN_UNUSED_RESULT;
|
|
613
|
+
- (FBFuture<NSNull *> * _Nonnull)clearPhotos SWIFT_WARN_UNUSED_RESULT;
|
|
614
|
+
- (FBFuture<NSNull *> * _Nonnull)setProxyWithHost:(NSString * _Nonnull)host port:(NSUInteger)port type:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
|
|
615
|
+
- (FBFuture<NSNull *> * _Nonnull)clearProxy SWIFT_WARN_UNUSED_RESULT;
|
|
616
|
+
- (FBFuture<NSString *> * _Nonnull)listProxy SWIFT_WARN_UNUSED_RESULT;
|
|
617
|
+
- (FBFuture<NSNull *> * _Nonnull)setDnsServers:(NSArray<NSString *> * _Nonnull)servers SWIFT_WARN_UNUSED_RESULT;
|
|
618
|
+
- (FBFuture<NSNull *> * _Nonnull)clearDns SWIFT_WARN_UNUSED_RESULT;
|
|
619
|
+
- (FBFuture<NSString *> * _Nonnull)listDns SWIFT_WARN_UNUSED_RESULT;
|
|
620
|
+
- (FBFuture<NSNull *> * _Nonnull)setHealthAuthorization:(BOOL)approved forBundleID:(NSString * _Nonnull)bundleID typeIdentifiers:(NSArray<NSString *> * _Nonnull)typeIdentifiers SWIFT_WARN_UNUSED_RESULT;
|
|
621
|
+
- (FBFuture<NSNull *> * _Nonnull)clearHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
622
|
+
- (FBFuture<NSString *> * _Nonnull)listHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
623
|
+
@end
|
|
624
|
+
|
|
625
|
+
/// Simulator implementation of the accessibility command surface. Resolves the
|
|
626
|
+
/// frontmost / at-point / matching accessibility element via the translation
|
|
627
|
+
/// dispatcher, applying SpringBoard-crash remediation for frontmost lookups.
|
|
628
|
+
/// <code>final</code>; unit tests inject a mock dispatcher via <code>injectedDispatcher</code> (<code>@testable</code>).
|
|
629
|
+
/// Stays <code>NSObject</code> because it is stored in the simulator’s Objective-C command cache.
|
|
630
|
+
SWIFT_CLASS("_TtC18FBSimulatorControl32FBSimulatorAccessibilityCommands")
|
|
631
|
+
@interface FBSimulatorAccessibilityCommands : NSObject
|
|
632
|
+
- (nonnull instancetype)initWithSimulator:(FBSimulator * _Nonnull)simulator OBJC_DESIGNATED_INITIALIZER;
|
|
633
|
+
+ (nonnull instancetype)commandsWithTarget:(FBSimulator * _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
634
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
635
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
636
|
+
@end
|
|
637
|
+
|
|
638
|
+
/// Dark/Light mode appearance.
|
|
639
|
+
/// Values match UIUserInterfaceStyle used by SimDevice’s setUIInterfaceStyle:error:.
|
|
640
|
+
typedef SWIFT_ENUM(NSInteger, FBSimulatorAppearance, open) {
|
|
641
|
+
FBSimulatorAppearanceLight = 1,
|
|
642
|
+
FBSimulatorAppearanceDark = 2,
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
@protocol FBiOSTarget;
|
|
646
|
+
SWIFT_CLASS_NAMED("FBSimulatorApplicationCommands")
|
|
647
|
+
@interface FBSimulatorApplicationCommands : NSObject <FBiOSTargetCommand>
|
|
648
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
649
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installApplicationWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
650
|
+
- (FBFuture<id <FBLaunchedApplication>> * _Nonnull)launchApplication:(FBApplicationLaunchConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
651
|
+
- (FBFuture<NSNull *> * _Nonnull)killApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
652
|
+
- (FBFuture<NSArray *> * _Nonnull)installedApplications SWIFT_WARN_UNUSED_RESULT;
|
|
653
|
+
- (FBFuture<NSNull *> * _Nonnull)uninstallApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
654
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
655
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIDWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
656
|
+
- (FBInstalledApplication * _Nullable)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
657
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
658
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
659
|
+
@end
|
|
660
|
+
|
|
661
|
+
SWIFT_CLASS_NAMED("FBSimulatorBootConfiguration")
|
|
662
|
+
@interface FBSimulatorBootConfiguration : NSObject <NSCopying>
|
|
663
|
+
@property (nonatomic, readonly) FBSimulatorBootOptions options;
|
|
664
|
+
@property (nonatomic, readonly, copy) NSDictionary<NSString *, NSString *> * _Nonnull environment;
|
|
665
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSimulatorBootConfiguration * _Nonnull defaultConfiguration;)
|
|
666
|
+
+ (FBSimulatorBootConfiguration * _Nonnull)defaultConfiguration SWIFT_WARN_UNUSED_RESULT;
|
|
667
|
+
- (nonnull instancetype)initWithOptions:(FBSimulatorBootOptions)options environment:(NSDictionary<NSString *, NSString *> * _Nonnull)environment OBJC_DESIGNATED_INITIALIZER;
|
|
668
|
+
- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT;
|
|
669
|
+
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
|
|
670
|
+
@property (nonatomic, readonly) NSUInteger hash;
|
|
671
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
672
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
673
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
674
|
+
@end
|
|
675
|
+
|
|
676
|
+
SWIFT_CLASS_NAMED("FBSimulatorBootStrategy")
|
|
677
|
+
@interface FBSimulatorBootStrategy : NSObject
|
|
678
|
+
+ (FBFuture<NSNull *> * _Nonnull)boot:(FBSimulator * _Nonnull)simulator withConfiguration:(FBSimulatorBootConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
679
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
680
|
+
@end
|
|
681
|
+
|
|
682
|
+
SWIFT_CLASS_NAMED("FBSimulatorBootVerificationStrategy")
|
|
683
|
+
@interface FBSimulatorBootVerificationStrategy : NSObject
|
|
684
|
+
+ (FBFuture<NSNull *> * _Nonnull)verifySimulatorIsBooted:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
685
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
686
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
687
|
+
@end
|
|
688
|
+
|
|
689
|
+
@class FBDeviceType;
|
|
690
|
+
@class FBOSVersion;
|
|
691
|
+
SWIFT_CLASS_NAMED("FBSimulatorConfiguration")
|
|
692
|
+
@interface FBSimulatorConfiguration : NSObject <NSCopying>
|
|
693
|
+
@property (nonatomic, readonly, strong) FBDeviceType * _Nonnull device;
|
|
694
|
+
@property (nonatomic, readonly, strong) FBOSVersion * _Nonnull os;
|
|
695
|
+
+ (FBSimulatorConfiguration * _Nullable)defaultConfigurationAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
696
|
+
- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT;
|
|
697
|
+
@property (nonatomic, readonly) NSUInteger hash;
|
|
698
|
+
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
|
|
699
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
700
|
+
- (FBSimulatorConfiguration * _Nonnull)withDeviceModel:(FBDeviceModel _Nonnull)model SWIFT_WARN_UNUSED_RESULT;
|
|
701
|
+
- (FBSimulatorConfiguration * _Nonnull)withOSNamed:(FBOSVersionName _Nonnull)osName SWIFT_WARN_UNUSED_RESULT;
|
|
702
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
703
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
704
|
+
@end
|
|
705
|
+
|
|
706
|
+
@class SimRuntime;
|
|
707
|
+
@class SimDeviceType;
|
|
708
|
+
@interface FBSimulatorConfiguration (SWIFT_EXTENSION(FBSimulatorControl))
|
|
709
|
+
- (FBSimulatorConfiguration * _Nullable)newestAvailableOSAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
710
|
+
- (FBSimulatorConfiguration * _Nullable)oldestAvailableOSAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
711
|
+
+ (FBSimulatorConfiguration * _Nullable)inferSimulatorConfigurationFromDevice:(SimDevice * _Nonnull)simDevice error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
712
|
+
+ (FBSimulatorConfiguration * _Nonnull)inferSimulatorConfigurationFromDeviceSynthesizingMissing:(SimDevice * _Nonnull)simDevice SWIFT_WARN_UNUSED_RESULT;
|
|
713
|
+
- (BOOL)checkRuntimeRequirementsReturningError:(NSError * _Nullable * _Nullable)error;
|
|
714
|
+
+ (NSArray<FBOSVersion *> * _Nullable)supportedOSVersionsAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
715
|
+
+ (NSArray<FBOSVersion *> * _Nullable)supportedOSVersionsForDevice:(FBDeviceType * _Nonnull)device error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
716
|
+
+ (NSArray<FBSimulatorConfiguration *> * _Nullable)allAvailableDefaultConfigurationsWithLogger:(id <FBControlCoreLogger> _Nullable)logger error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
717
|
+
+ (NSArray<FBSimulatorConfiguration *> * _Nullable)allAvailableDefaultConfigurationsWithAbsentOSVersionsOut:(NSArray * _Nullable * _Nullable)absentOSVersionsOut absentDeviceTypesOut:(NSArray * _Nullable * _Nullable)absentDeviceTypesOut error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
718
|
+
- (SimRuntime * _Nullable)obtainRuntimeWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
719
|
+
- (SimDeviceType * _Nullable)obtainDeviceTypeWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
720
|
+
@end
|
|
721
|
+
|
|
722
|
+
/// Dynamic Type content size categories.
|
|
723
|
+
/// Values match the integer indices used by SimDevice’s setContentSizeCategory:error:.
|
|
724
|
+
typedef SWIFT_ENUM(NSInteger, FBSimulatorContentSizeCategory, open) {
|
|
725
|
+
FBSimulatorContentSizeCategoryExtraSmall = 1,
|
|
726
|
+
FBSimulatorContentSizeCategorySmall = 2,
|
|
727
|
+
FBSimulatorContentSizeCategoryMedium = 3,
|
|
728
|
+
FBSimulatorContentSizeCategoryLarge = 4,
|
|
729
|
+
FBSimulatorContentSizeCategoryExtraLarge = 5,
|
|
730
|
+
FBSimulatorContentSizeCategoryExtraExtraLarge = 6,
|
|
731
|
+
FBSimulatorContentSizeCategoryExtraExtraExtraLarge = 7,
|
|
732
|
+
FBSimulatorContentSizeCategoryAccessibilityMedium = 8,
|
|
733
|
+
FBSimulatorContentSizeCategoryAccessibilityLarge = 9,
|
|
734
|
+
FBSimulatorContentSizeCategoryAccessibilityExtraLarge = 10,
|
|
735
|
+
FBSimulatorContentSizeCategoryAccessibilityExtraExtraLarge = 11,
|
|
736
|
+
FBSimulatorContentSizeCategoryAccessibilityExtraExtraExtraLarge = 12,
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
@class FBSimulatorControlConfiguration;
|
|
740
|
+
@class FBSimulatorServiceContext;
|
|
741
|
+
SWIFT_CLASS_NAMED("FBSimulatorControl")
|
|
742
|
+
@interface FBSimulatorControl : NSObject
|
|
743
|
+
@property (nonatomic, strong) FBSimulatorControlConfiguration * _Nonnull configuration;
|
|
744
|
+
@property (nonatomic, readonly, strong) FBSimulatorServiceContext * _Nonnull serviceContext;
|
|
745
|
+
@property (nonatomic, readonly, strong) FBSimulatorSet * _Nonnull set;
|
|
746
|
+
+ (FBSimulatorControl * _Nullable)withConfiguration:(FBSimulatorControlConfiguration * _Nonnull)configuration error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
747
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
748
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
749
|
+
@end
|
|
750
|
+
|
|
751
|
+
@protocol FBEventReporter;
|
|
752
|
+
SWIFT_CLASS_NAMED("FBSimulatorControlConfiguration")
|
|
753
|
+
@interface FBSimulatorControlConfiguration : NSObject <NSCopying>
|
|
754
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable deviceSetPath;
|
|
755
|
+
@property (nonatomic, readonly, strong) id <FBControlCoreLogger> _Nonnull logger;
|
|
756
|
+
@property (nonatomic, readonly, strong) id <FBEventReporter> _Nullable reporter;
|
|
757
|
+
+ (FBSimulatorControlConfiguration * _Nonnull)configurationWithDeviceSetPath:(NSString * _Nullable)deviceSetPath logger:(id <FBControlCoreLogger> _Nullable)logger reporter:(id <FBEventReporter> _Nullable)reporter SWIFT_WARN_UNUSED_RESULT;
|
|
758
|
+
- (nonnull instancetype)initWithDeviceSetPath:(NSString * _Nullable)deviceSetPath logger:(id <FBControlCoreLogger> _Nullable)logger reporter:(id <FBEventReporter> _Nullable)reporter OBJC_DESIGNATED_INITIALIZER;
|
|
759
|
+
- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT;
|
|
760
|
+
@property (nonatomic, readonly) NSUInteger hash;
|
|
761
|
+
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
|
|
762
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
763
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull defaultDeviceSetPath;)
|
|
764
|
+
+ (NSString * _Nonnull)defaultDeviceSetPath SWIFT_WARN_UNUSED_RESULT;
|
|
765
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
766
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
767
|
+
@end
|
|
768
|
+
|
|
769
|
+
SWIFT_CLASS_NAMED("FBSimulatorCrashLogCommands")
|
|
770
|
+
@interface FBSimulatorCrashLogCommands : NSObject <FBiOSTargetCommand>
|
|
771
|
+
+ (FBSimulatorCrashLogCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
772
|
+
- (FBFuture<FBCrashLogInfo *> * _Nonnull)notifyOfCrash:(NSPredicate * _Nonnull)predicate SWIFT_WARN_UNUSED_RESULT;
|
|
773
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
774
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
775
|
+
@end
|
|
776
|
+
|
|
777
|
+
SWIFT_CLASS_NAMED("FBSimulatorDapServerCommand")
|
|
778
|
+
@interface FBSimulatorDapServerCommand : NSObject <FBiOSTargetCommand>
|
|
779
|
+
+ (FBSimulatorDapServerCommand * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
780
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
781
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
782
|
+
@end
|
|
783
|
+
|
|
784
|
+
SWIFT_CLASS_NAMED("FBSimulatorDebuggerCommands")
|
|
785
|
+
@interface FBSimulatorDebuggerCommands : NSObject <FBiOSTargetCommand>
|
|
786
|
+
+ (FBSimulatorDebuggerCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
787
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
788
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
789
|
+
@end
|
|
790
|
+
|
|
791
|
+
SWIFT_CLASS_NAMED("FBSimulatorDeletionStrategy")
|
|
792
|
+
@interface FBSimulatorDeletionStrategy : NSObject
|
|
793
|
+
+ (FBFuture<NSNull *> * _Nonnull)delete:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
794
|
+
+ (FBFuture<NSNull *> * _Nonnull)deleteAll:(NSArray<FBSimulator *> * _Nonnull)simulators SWIFT_WARN_UNUSED_RESULT;
|
|
795
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
796
|
+
@end
|
|
797
|
+
|
|
798
|
+
SWIFT_CLASS_NAMED("FBSimulatorEraseStrategy")
|
|
799
|
+
@interface FBSimulatorEraseStrategy : NSObject
|
|
800
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
801
|
+
@end
|
|
802
|
+
|
|
803
|
+
SWIFT_RESILIENT_CLASS_NAMED("FBSimulatorError")
|
|
804
|
+
@interface FBSimulatorError : FBControlCoreError
|
|
805
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
806
|
+
@end
|
|
807
|
+
|
|
808
|
+
SWIFT_CLASS_NAMED("FBSimulatorFileCommands")
|
|
809
|
+
@interface FBSimulatorFileCommands : NSObject <FBiOSTargetCommand>
|
|
810
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
811
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplication:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
812
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplicationContainersAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
813
|
+
- (id <FBContainedFile> _Nullable)containedFileForGroupContainersAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
814
|
+
- (id <FBContainedFile> _Nonnull)containedFileForRootFilesystem SWIFT_WARN_UNUSED_RESULT;
|
|
815
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
816
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
817
|
+
@end
|
|
818
|
+
|
|
819
|
+
@class NSData;
|
|
820
|
+
SWIFT_CLASS_NAMED("FBSimulatorImage")
|
|
821
|
+
@interface FBSimulatorImage : NSObject
|
|
822
|
+
+ (FBSimulatorImage * _Nonnull)imageWithFramebuffer:(FBFramebuffer * _Nonnull)framebuffer logger:(id <FBControlCoreLogger> _Nullable)logger SWIFT_WARN_UNUSED_RESULT;
|
|
823
|
+
- (CGImageRef _Nullable)image SWIFT_WARN_UNUSED_RESULT;
|
|
824
|
+
- (NSData * _Nullable)jpegImageDataAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
825
|
+
- (NSData * _Nullable)pngImageDataAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
826
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
827
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
828
|
+
@end
|
|
829
|
+
|
|
830
|
+
SWIFT_CLASS_NAMED("FBSimulatorInflationStrategy")
|
|
831
|
+
@interface FBSimulatorInflationStrategy : NSObject
|
|
832
|
+
+ (FBSimulatorInflationStrategy * _Nonnull)strategyForSet:(FBSimulatorSet * _Nonnull)set SWIFT_WARN_UNUSED_RESULT;
|
|
833
|
+
- (NSArray<FBSimulator *> * _Nonnull)inflateFromDevices:(NSArray * _Nonnull)simDevices exitingSimulators:(NSArray<FBSimulator *> * _Nonnull)simulators SWIFT_WARN_UNUSED_RESULT;
|
|
834
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
835
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
836
|
+
@end
|
|
837
|
+
|
|
838
|
+
SWIFT_CLASS_NAMED("FBSimulatorKeychainCommands")
|
|
839
|
+
@interface FBSimulatorKeychainCommands : NSObject <FBiOSTargetCommand>
|
|
840
|
+
+ (FBSimulatorKeychainCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
841
|
+
- (FBFuture<NSNull *> * _Nonnull)clearKeychain SWIFT_WARN_UNUSED_RESULT;
|
|
842
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
843
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
844
|
+
@end
|
|
845
|
+
|
|
846
|
+
SWIFT_CLASS_NAMED("FBSimulatorLaunchCtlCommands")
|
|
847
|
+
@interface FBSimulatorLaunchCtlCommands : NSObject <FBiOSTargetCommand>
|
|
848
|
+
+ (FBSimulatorLaunchCtlCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
849
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcessIdentifier:(pid_t)pid SWIFT_WARN_UNUSED_RESULT;
|
|
850
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcess:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
851
|
+
- (FBFuture<NSDictionary *> * _Nonnull)serviceNamesAndProcessIdentifiersMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
852
|
+
- (FBFuture<NSArray *> * _Nonnull)firstServiceNameAndProcessIdentifierMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
853
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIsRunningOnSimulator:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
854
|
+
- (FBFuture<NSDictionary *> * _Nonnull)listServices SWIFT_WARN_UNUSED_RESULT;
|
|
855
|
+
- (FBFuture<NSString *> * _Nonnull)stopServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
856
|
+
- (FBFuture<NSString *> * _Nonnull)startServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
857
|
+
+ (NSString * _Nullable)extractApplicationBundleIdentifierFromServiceName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
858
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
859
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
860
|
+
@end
|
|
861
|
+
|
|
862
|
+
@protocol FBProcessFileOutput;
|
|
863
|
+
@class FBProcessFileAttachment;
|
|
864
|
+
SWIFT_CLASS_NAMED("FBSimulatorLaunchedApplication")
|
|
865
|
+
@interface FBSimulatorLaunchedApplication : NSObject <FBLaunchedApplication>
|
|
866
|
+
@property (nonatomic, readonly, strong) FBApplicationLaunchConfiguration * _Nonnull configuration;
|
|
867
|
+
@property (nonatomic, readonly) pid_t processIdentifier;
|
|
868
|
+
@property (nonatomic, readonly, strong) FBFuture<NSNull *> * _Nonnull applicationTerminated;
|
|
869
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull bundleID;
|
|
870
|
+
@property (nonatomic, readonly, strong) id <FBProcessFileOutput> _Nullable stdOut;
|
|
871
|
+
@property (nonatomic, readonly, strong) id <FBProcessFileOutput> _Nullable stdErr;
|
|
872
|
+
+ (FBFuture<FBSimulatorLaunchedApplication *> * _Nonnull)applicationWithSimulator:(FBSimulator * _Nonnull)simulator configuration:(FBApplicationLaunchConfiguration * _Nonnull)configuration attachment:(FBProcessFileAttachment * _Nonnull)attachment launchFuture:(FBFuture<NSNumber *> * _Nonnull)launchFuture SWIFT_WARN_UNUSED_RESULT;
|
|
873
|
+
+ (FBFuture<NSNull *> * _Nonnull)terminationFutureForSimulator:(FBSimulator * _Nonnull)simulator processIdentifier:(pid_t)processIdentifier SWIFT_WARN_UNUSED_RESULT;
|
|
874
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
875
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
876
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
877
|
+
@end
|
|
878
|
+
|
|
879
|
+
SWIFT_CLASS_NAMED("FBSimulatorLifecycleCommands")
|
|
880
|
+
@interface FBSimulatorLifecycleCommands : NSObject <FBiOSTargetCommand>
|
|
881
|
+
+ (FBSimulatorLifecycleCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
882
|
+
- (FBFuture<NSNull *> * _Nonnull)boot:(FBSimulatorBootConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
883
|
+
- (FBFuture<NSNull *> * _Nonnull)focus SWIFT_WARN_UNUSED_RESULT;
|
|
884
|
+
- (FBFuture<NSNull *> * _Nonnull)disconnectWithTimeout:(NSTimeInterval)timeout logger:(id <FBControlCoreLogger> _Nullable)logger SWIFT_WARN_UNUSED_RESULT;
|
|
885
|
+
- (FBFuture<FBFramebuffer *> * _Nonnull)connectToFramebuffer SWIFT_WARN_UNUSED_RESULT;
|
|
886
|
+
- (FBFuture<NSNull *> * _Nonnull)open:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
|
|
887
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
888
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
889
|
+
@end
|
|
890
|
+
|
|
891
|
+
SWIFT_CLASS_NAMED("FBSimulatorLocationCommands")
|
|
892
|
+
@interface FBSimulatorLocationCommands : NSObject <FBiOSTargetCommand>
|
|
893
|
+
+ (FBSimulatorLocationCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
894
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
895
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
896
|
+
@end
|
|
897
|
+
|
|
898
|
+
SWIFT_CLASS_NAMED("FBSimulatorLogCommands")
|
|
899
|
+
@interface FBSimulatorLogCommands : NSObject <FBiOSTargetCommand>
|
|
900
|
+
+ (FBSimulatorLogCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
901
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
902
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
903
|
+
@end
|
|
904
|
+
|
|
905
|
+
SWIFT_CLASS_NAMED("FBSimulatorMediaCommands")
|
|
906
|
+
@interface FBSimulatorMediaCommands : NSObject <FBiOSTargetCommand>
|
|
907
|
+
+ (FBSimulatorMediaCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
908
|
+
- (FBFuture<NSNull *> * _Nonnull)addMedia:(NSArray<NSURL *> * _Nonnull)mediaFileURLs SWIFT_WARN_UNUSED_RESULT;
|
|
909
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
910
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
911
|
+
@end
|
|
912
|
+
|
|
913
|
+
SWIFT_CLASS_NAMED("FBSimulatorMemoryCommands")
|
|
914
|
+
@interface FBSimulatorMemoryCommands : NSObject <FBiOSTargetCommand>
|
|
915
|
+
+ (FBSimulatorMemoryCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
916
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
917
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
918
|
+
@end
|
|
919
|
+
|
|
920
|
+
SWIFT_CLASS_NAMED("FBSimulatorNotificationCommands")
|
|
921
|
+
@interface FBSimulatorNotificationCommands : NSObject <FBiOSTargetCommand>
|
|
922
|
+
+ (FBSimulatorNotificationCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
923
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
924
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
925
|
+
@end
|
|
926
|
+
|
|
927
|
+
SWIFT_CLASS_NAMED("FBSimulatorNotificationUpdateStrategy")
|
|
928
|
+
@interface FBSimulatorNotificationUpdateStrategy : NSObject
|
|
929
|
+
+ (FBSimulatorNotificationUpdateStrategy * _Nonnull)strategyWithSet:(FBSimulatorSet * _Nonnull)set SWIFT_WARN_UNUSED_RESULT;
|
|
930
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
931
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
932
|
+
@end
|
|
933
|
+
|
|
934
|
+
SWIFT_CLASS_NAMED("FBSimulatorProcessSpawnCommands")
|
|
935
|
+
@interface FBSimulatorProcessSpawnCommands : NSObject <FBiOSTargetCommand>
|
|
936
|
+
+ (FBSimulatorProcessSpawnCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
937
|
+
+ (NSDictionary<NSString *, id> * _Nonnull)launchOptionsWithArguments:(NSArray<NSString *> * _Nonnull)arguments environment:(NSDictionary<NSString *, NSString *> * _Nonnull)environment waitForDebugger:(BOOL)waitForDebugger SWIFT_WARN_UNUSED_RESULT;
|
|
938
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
939
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
940
|
+
@end
|
|
941
|
+
|
|
942
|
+
SWIFT_CLASS_NAMED("FBSimulatorReplCommands")
|
|
943
|
+
@interface FBSimulatorReplCommands : NSObject <FBiOSTargetCommand>
|
|
944
|
+
+ (FBSimulatorReplCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
945
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
946
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
947
|
+
@end
|
|
948
|
+
|
|
949
|
+
SWIFT_CLASS_NAMED("FBSimulatorScreenshotCommands")
|
|
950
|
+
@interface FBSimulatorScreenshotCommands : NSObject <FBiOSTargetCommand>
|
|
951
|
+
+ (FBSimulatorScreenshotCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
952
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
953
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
954
|
+
@end
|
|
955
|
+
|
|
956
|
+
@class SimDeviceSet;
|
|
957
|
+
SWIFT_CLASS_NAMED("FBSimulatorServiceContext")
|
|
958
|
+
@interface FBSimulatorServiceContext : NSObject
|
|
959
|
+
+ (FBSimulatorServiceContext * _Nullable)sharedServiceContextAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
960
|
+
+ (FBSimulatorServiceContext * _Nullable)sharedServiceContextWithLogger:(id <FBControlCoreLogger> _Nullable)logger error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
961
|
+
- (NSArray<NSString *> * _Nonnull)pathsOfAllDeviceSets SWIFT_WARN_UNUSED_RESULT;
|
|
962
|
+
- (NSArray<SimRuntime *> * _Nonnull)supportedRuntimes SWIFT_WARN_UNUSED_RESULT;
|
|
963
|
+
- (NSArray<SimDeviceType *> * _Nonnull)supportedDeviceTypes SWIFT_WARN_UNUSED_RESULT;
|
|
964
|
+
- (SimDeviceSet * _Nullable)createDeviceSetWithConfiguration:(FBSimulatorControlConfiguration * _Nonnull)configuration error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
965
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
966
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
967
|
+
@end
|
|
968
|
+
|
|
969
|
+
@protocol FBiOSTargetSetDelegate;
|
|
970
|
+
@protocol FBiOSTargetInfo;
|
|
971
|
+
SWIFT_CLASS_NAMED("FBSimulatorSet")
|
|
972
|
+
@interface FBSimulatorSet : NSObject <FBiOSTargetSet>
|
|
973
|
+
@property (nonatomic, readonly, strong) FBSimulatorControlConfiguration * _Nonnull configuration;
|
|
974
|
+
@property (nonatomic, readonly, strong) SimDeviceSet * _Nonnull deviceSet;
|
|
975
|
+
@property (nonatomic, weak) id <FBiOSTargetSetDelegate> _Nullable delegate;
|
|
976
|
+
@property (nonatomic, readonly, strong) id <FBControlCoreLogger> _Nullable logger;
|
|
977
|
+
@property (nonatomic, readonly, strong) id <FBEventReporter> _Nullable reporter;
|
|
978
|
+
@property (nonatomic, readonly, strong) dispatch_queue_t _Nonnull workQueue;
|
|
979
|
+
@property (nonatomic, readonly, strong) dispatch_queue_t _Nonnull asyncQueue;
|
|
980
|
+
+ (FBSimulatorSet * _Nonnull)setWithConfiguration:(FBSimulatorControlConfiguration * _Nonnull)configuration deviceSet:(SimDeviceSet * _Nonnull)deviceSet delegate:(id <FBiOSTargetSetDelegate> _Nullable)delegate logger:(id <FBControlCoreLogger> _Nullable)logger reporter:(id <FBEventReporter> _Nullable)reporter SWIFT_WARN_UNUSED_RESULT;
|
|
981
|
+
- (id <FBiOSTargetInfo> _Nullable)targetWithUDID:(NSString * _Nonnull)udid SWIFT_WARN_UNUSED_RESULT;
|
|
982
|
+
- (FBSimulator * _Nullable)simulatorWithUDID:(NSString * _Nonnull)udid SWIFT_WARN_UNUSED_RESULT;
|
|
983
|
+
- (FBFuture<FBSimulator *> * _Nonnull)createSimulatorWithConfiguration:(FBSimulatorConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
984
|
+
- (FBFuture<FBSimulator *> * _Nonnull)cloneSimulator:(FBSimulator * _Nonnull)simulator toDeviceSet:(FBSimulatorSet * _Nonnull)destinationSet SWIFT_WARN_UNUSED_RESULT;
|
|
985
|
+
- (NSArray<FBSimulatorConfiguration *> * _Nullable)configurationsForAbsentDefaultSimulatorsAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
986
|
+
- (FBFuture<NSNull *> * _Nonnull)shutdown:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
987
|
+
- (FBFuture<NSNull *> * _Nonnull)delete:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
988
|
+
- (FBFuture<NSNull *> * _Nonnull)shutdownAll:(NSArray<FBSimulator *> * _Nonnull)simulators SWIFT_WARN_UNUSED_RESULT;
|
|
989
|
+
- (FBFuture<NSNull *> * _Nonnull)deleteAll:(NSArray<FBSimulator *> * _Nonnull)simulators SWIFT_WARN_UNUSED_RESULT;
|
|
990
|
+
- (FBFuture<NSNull *> * _Nonnull)shutdownAll SWIFT_WARN_UNUSED_RESULT;
|
|
991
|
+
- (FBFuture<NSNull *> * _Nonnull)deleteAll SWIFT_WARN_UNUSED_RESULT;
|
|
992
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
993
|
+
@property (nonatomic, readonly, copy) NSArray<id <FBiOSTargetInfo>> * _Nonnull allTargetInfos;
|
|
994
|
+
@property (nonatomic, readonly, copy) NSArray<FBSimulator *> * _Nonnull allSimulators;
|
|
995
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
996
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
997
|
+
@end
|
|
998
|
+
|
|
999
|
+
/// An enumeration of simulator settings that can be toggled on/off.
|
|
1000
|
+
/// Each value maps to a different underlying transport (SimDevice API, Darwin notification, etc.)
|
|
1001
|
+
/// but the public API is uniform: setSetting:enabled:.
|
|
1002
|
+
typedef SWIFT_ENUM(NSUInteger, FBSimulatorSetting, open) {
|
|
1003
|
+
FBSimulatorSettingHardwareKeyboard = 0,
|
|
1004
|
+
FBSimulatorSettingSlowAnimations = 1,
|
|
1005
|
+
FBSimulatorSettingIncreaseContrast = 2,
|
|
1006
|
+
};
|
|
1007
|
+
|
|
1008
|
+
SWIFT_CLASS_NAMED("FBSimulatorSettingsCommands")
|
|
1009
|
+
@interface FBSimulatorSettingsCommands : NSObject <FBiOSTargetCommand>
|
|
1010
|
+
+ (FBSimulatorSettingsCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1011
|
+
- (FBFuture<NSNull *> * _Nonnull)setSetting:(enum FBSimulatorSetting)setting enabled:(BOOL)enabled SWIFT_WARN_UNUSED_RESULT;
|
|
1012
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentAppearance SWIFT_WARN_UNUSED_RESULT;
|
|
1013
|
+
- (FBFuture<NSNull *> * _Nonnull)setAppearance:(enum FBSimulatorAppearance)appearance SWIFT_WARN_UNUSED_RESULT;
|
|
1014
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentContentSizeCategory SWIFT_WARN_UNUSED_RESULT;
|
|
1015
|
+
- (FBFuture<NSNull *> * _Nonnull)setContentSizeCategory:(enum FBSimulatorContentSizeCategory)category SWIFT_WARN_UNUSED_RESULT;
|
|
1016
|
+
- (FBFuture<FBStatusBarOverride *> * _Nonnull)currentStatusBarOverrides SWIFT_WARN_UNUSED_RESULT;
|
|
1017
|
+
- (FBFuture<NSNull *> * _Nonnull)overrideStatusBar:(FBStatusBarOverride * _Nullable)override SWIFT_WARN_UNUSED_RESULT;
|
|
1018
|
+
- (FBFuture<NSNull *> * _Nonnull)setPreference:(NSString * _Nonnull)name value:(NSString * _Nonnull)value type:(NSString * _Nullable)type domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
1019
|
+
- (FBFuture<NSString *> * _Nonnull)getCurrentPreference:(NSString * _Nonnull)name domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
1020
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
1021
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
1022
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
1023
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
1024
|
+
- (FBFuture<NSNull *> * _Nonnull)updateContacts:(NSString * _Nonnull)databaseDirectory SWIFT_WARN_UNUSED_RESULT;
|
|
1025
|
+
- (FBFuture<NSNull *> * _Nonnull)clearContacts SWIFT_WARN_UNUSED_RESULT;
|
|
1026
|
+
- (FBFuture<NSNull *> * _Nonnull)clearPhotos SWIFT_WARN_UNUSED_RESULT;
|
|
1027
|
+
- (FBFuture<NSNull *> * _Nonnull)setProxyWithHost:(NSString * _Nonnull)host port:(NSUInteger)port type:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
|
|
1028
|
+
- (FBFuture<NSNull *> * _Nonnull)clearProxy SWIFT_WARN_UNUSED_RESULT;
|
|
1029
|
+
- (FBFuture<NSString *> * _Nonnull)listProxy SWIFT_WARN_UNUSED_RESULT;
|
|
1030
|
+
- (FBFuture<NSNull *> * _Nonnull)setDnsServers:(NSArray<NSString *> * _Nonnull)servers SWIFT_WARN_UNUSED_RESULT;
|
|
1031
|
+
- (FBFuture<NSNull *> * _Nonnull)clearDns SWIFT_WARN_UNUSED_RESULT;
|
|
1032
|
+
- (FBFuture<NSString *> * _Nonnull)listDns SWIFT_WARN_UNUSED_RESULT;
|
|
1033
|
+
- (FBFuture<NSNull *> * _Nonnull)setHealthAuthorization:(BOOL)approved forBundleID:(NSString * _Nonnull)bundleID typeIdentifiers:(NSArray<NSString *> * _Nonnull)typeIdentifiers SWIFT_WARN_UNUSED_RESULT;
|
|
1034
|
+
- (FBFuture<NSNull *> * _Nonnull)clearHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1035
|
+
- (FBFuture<NSString *> * _Nonnull)listHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1036
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1037
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1038
|
+
@end
|
|
1039
|
+
|
|
1040
|
+
SWIFT_CLASS_NAMED("FBSimulatorShutdownStrategy")
|
|
1041
|
+
@interface FBSimulatorShutdownStrategy : NSObject
|
|
1042
|
+
+ (FBFuture<NSNull *> * _Nonnull)shutdown:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
1043
|
+
+ (FBFuture<NSNull *> * _Nonnull)shutdownAll:(NSArray<FBSimulator *> * _Nonnull)simulators SWIFT_WARN_UNUSED_RESULT;
|
|
1044
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1045
|
+
@end
|
|
1046
|
+
|
|
1047
|
+
SWIFT_CLASS_NAMED("FBSimulatorVideo")
|
|
1048
|
+
@interface FBSimulatorVideo : NSObject <FBiOSTargetOperation>
|
|
1049
|
+
+ (FBSimulatorVideo * _Nonnull)videoWithSimctlExecutor:(FBAppleSimctlCommandExecutor * _Nonnull)simctlExecutor filePath:(NSString * _Nonnull)filePath logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
1050
|
+
- (FBFuture<NSNull *> * _Nonnull)startRecording SWIFT_WARN_UNUSED_RESULT;
|
|
1051
|
+
- (FBFuture<NSNull *> * _Nonnull)stopRecording SWIFT_WARN_UNUSED_RESULT;
|
|
1052
|
+
@property (nonatomic, readonly, strong) FBFuture<NSNull *> * _Nonnull completed;
|
|
1053
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1054
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1055
|
+
@end
|
|
1056
|
+
|
|
1057
|
+
SWIFT_CLASS_NAMED("FBSimulatorVideoRecordingCommands")
|
|
1058
|
+
@interface FBSimulatorVideoRecordingCommands : NSObject <FBiOSTargetCommand>
|
|
1059
|
+
+ (FBSimulatorVideoRecordingCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1060
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1061
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1062
|
+
@end
|
|
1063
|
+
|
|
1064
|
+
@class NSError;
|
|
1065
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl33FBSimulatorVideoStreamFramePusher_")
|
|
1066
|
+
@protocol FBSimulatorVideoStreamFramePusher <NSObject>
|
|
1067
|
+
- (BOOL)setupWithPixelBuffer:(CVPixelBufferRef _Nonnull)pixelBuffer edgeInsets:(FBVideoStreamEdgeInsets)edgeInsets error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1068
|
+
- (BOOL)tearDown:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1069
|
+
- (BOOL)writeEncodedFrame:(CVPixelBufferRef _Nonnull)pixelBuffer frameNumber:(NSUInteger)frameNumber timeAtFirstFrame:(CFTimeInterval)timeAtFirstFrame frameDuration:(CFTimeInterval)frameDuration forceKeyFrame:(BOOL)forceKeyFrame error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1070
|
+
@optional
|
|
1071
|
+
- (FBVideoEncoderStats)currentStats SWIFT_WARN_UNUSED_RESULT;
|
|
1072
|
+
@end
|
|
1073
|
+
|
|
1074
|
+
SWIFT_CLASS_NAMED("FBSimulatorXCTestCommands")
|
|
1075
|
+
@interface FBSimulatorXCTestCommands : NSObject <FBiOSTargetCommand>
|
|
1076
|
+
+ (FBSimulatorXCTestCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1077
|
+
- (FBFuture<NSNull *> * _Nonnull)runTestWithLaunchConfiguration:(FBTestLaunchConfiguration * _Nonnull)testLaunchConfiguration reporter:(id _Nonnull)reporter logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
1078
|
+
- (FBFutureContext<NSNumber *> * _Nonnull)transportForTestManagerService SWIFT_WARN_UNUSED_RESULT;
|
|
1079
|
+
- (FBFuture<NSArray *> * _Nonnull)listTestsForBundleAtPath:(NSString * _Nonnull)bundlePath timeout:(NSTimeInterval)timeout withAppAtPath:(NSString * _Nullable)appPath SWIFT_WARN_UNUSED_RESULT;
|
|
1080
|
+
- (FBFuture<NSString *> * _Nonnull)extendedTestShim SWIFT_WARN_UNUSED_RESULT;
|
|
1081
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull xctestPath;
|
|
1082
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1083
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1084
|
+
@end
|
|
1085
|
+
|
|
1086
|
+
/// Represents a set of status bar overrides for deterministic screenshots.
|
|
1087
|
+
/// Non-nil NSNumber properties are applied as overrides; nil properties are left unchanged.
|
|
1088
|
+
/// All SimDevice status bar methods use raw NSInteger parameters (same as appearance/content size).
|
|
1089
|
+
SWIFT_CLASS_NAMED("FBStatusBarOverride")
|
|
1090
|
+
@interface FBStatusBarOverride : NSObject
|
|
1091
|
+
/// Display time string, e.g. “9:41”.
|
|
1092
|
+
@property (nonatomic, copy) NSString * _Nullable timeString;
|
|
1093
|
+
/// Data network type.
|
|
1094
|
+
@property (nonatomic, strong) NSNumber * _Nullable dataNetworkType;
|
|
1095
|
+
/// WiFi mode: 1=searching, 2=failed, 3=active.
|
|
1096
|
+
@property (nonatomic, strong) NSNumber * _Nullable wiFiMode;
|
|
1097
|
+
/// WiFi signal bars (0-3).
|
|
1098
|
+
@property (nonatomic, strong) NSNumber * _Nullable wiFiBars;
|
|
1099
|
+
/// Cellular mode: 0=notSupported, 1=searching, 2=failed, 3=active.
|
|
1100
|
+
@property (nonatomic, strong) NSNumber * _Nullable cellularMode;
|
|
1101
|
+
/// Cellular signal bars (0-4).
|
|
1102
|
+
@property (nonatomic, strong) NSNumber * _Nullable cellularBars;
|
|
1103
|
+
/// Cellular operator name.
|
|
1104
|
+
@property (nonatomic, copy) NSString * _Nullable operatorName;
|
|
1105
|
+
/// Battery state.
|
|
1106
|
+
@property (nonatomic, strong) NSNumber * _Nullable batteryState;
|
|
1107
|
+
/// Battery level (0-100).
|
|
1108
|
+
@property (nonatomic, strong) NSNumber * _Nullable batteryLevel;
|
|
1109
|
+
/// Whether to show “not charging” indicator.
|
|
1110
|
+
@property (nonatomic, strong) NSNumber * _Nullable showNotCharging;
|
|
1111
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1112
|
+
@end
|
|
1113
|
+
|
|
1114
|
+
@class NSDecimalNumber;
|
|
1115
|
+
SWIFT_CLASS_NAMED("FBSurfaceImageGenerator")
|
|
1116
|
+
@interface FBSurfaceImageGenerator : NSObject <FBFramebufferConsumer>
|
|
1117
|
+
- (nonnull instancetype)imageGeneratorWithScale:(NSDecimalNumber * _Nonnull)scale purpose:(NSString * _Nonnull)purpose logger:(id <FBControlCoreLogger> _Nullable)logger SWIFT_METHOD_FAMILY(init);
|
|
1118
|
+
- (CGImageRef _Nullable)availableImage SWIFT_WARN_UNUSED_RESULT;
|
|
1119
|
+
- (CGImageRef _Nullable)image SWIFT_WARN_UNUSED_RESULT;
|
|
1120
|
+
- (void)didChangeIOSurface:(IOSurface * _Nullable)surface;
|
|
1121
|
+
- (void)didReceiveDamageRect;
|
|
1122
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1123
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1124
|
+
@end
|
|
1125
|
+
|
|
1126
|
+
#endif // defined(__OBJC__)
|
|
1127
|
+
#if __has_attribute(external_source_symbol)
|
|
1128
|
+
# pragma clang attribute pop
|
|
1129
|
+
#endif
|
|
1130
|
+
#if defined(__cplusplus)
|
|
1131
|
+
#endif
|
|
1132
|
+
#pragma clang diagnostic pop
|
|
1133
|
+
#endif
|
|
1134
|
+
|
|
1135
|
+
#elif defined(__x86_64__) && __x86_64__
|
|
1136
|
+
// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101)
|
|
1137
|
+
#ifndef FBSIMULATORCONTROL_SWIFT_H
|
|
1138
|
+
#define FBSIMULATORCONTROL_SWIFT_H
|
|
1139
|
+
#pragma clang diagnostic push
|
|
1140
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
1141
|
+
|
|
1142
|
+
#if !defined(__has_include)
|
|
1143
|
+
# define __has_include(x) 0
|
|
1144
|
+
#endif
|
|
1145
|
+
#if !defined(__has_attribute)
|
|
1146
|
+
# define __has_attribute(x) 0
|
|
1147
|
+
#endif
|
|
1148
|
+
#if !defined(__has_feature)
|
|
1149
|
+
# define __has_feature(x) 0
|
|
1150
|
+
#endif
|
|
1151
|
+
#if !defined(__has_warning)
|
|
1152
|
+
# define __has_warning(x) 0
|
|
1153
|
+
#endif
|
|
1154
|
+
|
|
1155
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
1156
|
+
# include <swift/objc-prologue.h>
|
|
1157
|
+
#endif
|
|
1158
|
+
|
|
1159
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
1160
|
+
#if defined(__OBJC__)
|
|
1161
|
+
#include <Foundation/Foundation.h>
|
|
1162
|
+
#endif // defined(__OBJC__)
|
|
1163
|
+
#if defined(__cplusplus)
|
|
1164
|
+
#include <cstdint>
|
|
1165
|
+
#include <cstddef>
|
|
1166
|
+
#include <cstdbool>
|
|
1167
|
+
#include <cstring>
|
|
1168
|
+
#include <stdlib.h>
|
|
1169
|
+
#include <new>
|
|
1170
|
+
#include <type_traits>
|
|
1171
|
+
#else
|
|
1172
|
+
#include <stdint.h>
|
|
1173
|
+
#include <stddef.h>
|
|
1174
|
+
#include <stdbool.h>
|
|
1175
|
+
#include <string.h>
|
|
1176
|
+
#endif
|
|
1177
|
+
#if defined(__cplusplus)
|
|
1178
|
+
#pragma clang diagnostic push
|
|
1179
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
1180
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
1181
|
+
# include <ptrauth.h>
|
|
1182
|
+
#else
|
|
1183
|
+
#pragma clang diagnostic push
|
|
1184
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
1185
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
1186
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
1187
|
+
# endif
|
|
1188
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
1189
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
1190
|
+
# endif
|
|
1191
|
+
#pragma clang diagnostic pop
|
|
1192
|
+
#endif
|
|
1193
|
+
#pragma clang diagnostic pop
|
|
1194
|
+
#endif
|
|
1195
|
+
|
|
1196
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
1197
|
+
# define SWIFT_TYPEDEFS 1
|
|
1198
|
+
# if __has_include(<uchar.h>)
|
|
1199
|
+
# include <uchar.h>
|
|
1200
|
+
# elif !defined(__cplusplus)
|
|
1201
|
+
typedef unsigned char char8_t;
|
|
1202
|
+
typedef uint_least16_t char16_t;
|
|
1203
|
+
typedef uint_least32_t char32_t;
|
|
1204
|
+
# endif
|
|
1205
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
1206
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
1207
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
1208
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
1209
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
1210
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
1211
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
1212
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
1213
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
1214
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
1215
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
1216
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
1217
|
+
#endif
|
|
1218
|
+
|
|
1219
|
+
#if !defined(SWIFT_PASTE)
|
|
1220
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
1221
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
1222
|
+
#endif
|
|
1223
|
+
#if !defined(SWIFT_METATYPE)
|
|
1224
|
+
# define SWIFT_METATYPE(X) Class
|
|
1225
|
+
#endif
|
|
1226
|
+
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
1227
|
+
# if __has_feature(objc_class_property)
|
|
1228
|
+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
1229
|
+
# else
|
|
1230
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
1231
|
+
# endif
|
|
1232
|
+
#endif
|
|
1233
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
1234
|
+
# if __has_attribute(objc_runtime_name)
|
|
1235
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
1236
|
+
# else
|
|
1237
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
1238
|
+
# endif
|
|
1239
|
+
#endif
|
|
1240
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
1241
|
+
# if __has_attribute(swift_name)
|
|
1242
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
1243
|
+
# else
|
|
1244
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
1245
|
+
# endif
|
|
1246
|
+
#endif
|
|
1247
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
1248
|
+
# if __has_attribute(objc_method_family)
|
|
1249
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
1250
|
+
# else
|
|
1251
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
1252
|
+
# endif
|
|
1253
|
+
#endif
|
|
1254
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
1255
|
+
# if __has_attribute(noescape)
|
|
1256
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
1257
|
+
# else
|
|
1258
|
+
# define SWIFT_NOESCAPE
|
|
1259
|
+
# endif
|
|
1260
|
+
#endif
|
|
1261
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
1262
|
+
# if __has_attribute(ns_consumed)
|
|
1263
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
1264
|
+
# else
|
|
1265
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
1266
|
+
# endif
|
|
1267
|
+
#endif
|
|
1268
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
1269
|
+
# if __has_attribute(warn_unused_result)
|
|
1270
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
1271
|
+
# else
|
|
1272
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
1273
|
+
# endif
|
|
1274
|
+
#endif
|
|
1275
|
+
#if !defined(SWIFT_NORETURN)
|
|
1276
|
+
# if __has_attribute(noreturn)
|
|
1277
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
1278
|
+
# else
|
|
1279
|
+
# define SWIFT_NORETURN
|
|
1280
|
+
# endif
|
|
1281
|
+
#endif
|
|
1282
|
+
#if !defined(SWIFT_CLASS_EXTRA)
|
|
1283
|
+
# define SWIFT_CLASS_EXTRA
|
|
1284
|
+
#endif
|
|
1285
|
+
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
1286
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
1287
|
+
#endif
|
|
1288
|
+
#if !defined(SWIFT_ENUM_EXTRA)
|
|
1289
|
+
# define SWIFT_ENUM_EXTRA
|
|
1290
|
+
#endif
|
|
1291
|
+
#if !defined(SWIFT_CLASS)
|
|
1292
|
+
# if __has_attribute(objc_subclassing_restricted)
|
|
1293
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
1294
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
1295
|
+
# else
|
|
1296
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
1297
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
1298
|
+
# endif
|
|
1299
|
+
#endif
|
|
1300
|
+
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
1301
|
+
# if __has_attribute(objc_class_stub)
|
|
1302
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
1303
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
1304
|
+
# else
|
|
1305
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
1306
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
1307
|
+
# endif
|
|
1308
|
+
#endif
|
|
1309
|
+
#if !defined(SWIFT_PROTOCOL)
|
|
1310
|
+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
1311
|
+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
1312
|
+
#endif
|
|
1313
|
+
#if !defined(SWIFT_EXTENSION)
|
|
1314
|
+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
1315
|
+
#endif
|
|
1316
|
+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
1317
|
+
# if __has_attribute(objc_designated_initializer)
|
|
1318
|
+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
1319
|
+
# else
|
|
1320
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
1321
|
+
# endif
|
|
1322
|
+
#endif
|
|
1323
|
+
#if !defined(SWIFT_ENUM_ATTR)
|
|
1324
|
+
# if __has_attribute(enum_extensibility)
|
|
1325
|
+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
1326
|
+
# else
|
|
1327
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
1328
|
+
# endif
|
|
1329
|
+
#endif
|
|
1330
|
+
#if !defined(SWIFT_ENUM)
|
|
1331
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
1332
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
1333
|
+
# if __has_feature(generalized_swift_name)
|
|
1334
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
1335
|
+
# else
|
|
1336
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
1337
|
+
# endif
|
|
1338
|
+
# else
|
|
1339
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
|
|
1340
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
1341
|
+
# endif
|
|
1342
|
+
#endif
|
|
1343
|
+
#if !defined(SWIFT_ENUM_TAG)
|
|
1344
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
1345
|
+
# define SWIFT_ENUM_TAG enum
|
|
1346
|
+
# else
|
|
1347
|
+
# define SWIFT_ENUM_TAG
|
|
1348
|
+
# endif
|
|
1349
|
+
#endif
|
|
1350
|
+
#if !defined(SWIFT_ENUM_FWD_DECL)
|
|
1351
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
1352
|
+
# define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
|
|
1353
|
+
# else
|
|
1354
|
+
# define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
|
|
1355
|
+
# endif
|
|
1356
|
+
#endif
|
|
1357
|
+
#if !defined(SWIFT_UNAVAILABLE)
|
|
1358
|
+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
1359
|
+
#endif
|
|
1360
|
+
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
1361
|
+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
1362
|
+
#endif
|
|
1363
|
+
#if !defined(SWIFT_AVAILABILITY)
|
|
1364
|
+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
1365
|
+
#endif
|
|
1366
|
+
#if !defined(SWIFT_AVAILABILITY_DOMAIN)
|
|
1367
|
+
# define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
|
|
1368
|
+
#endif
|
|
1369
|
+
#if !defined(SWIFT_WEAK_IMPORT)
|
|
1370
|
+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
1371
|
+
#endif
|
|
1372
|
+
#if !defined(SWIFT_DEPRECATED)
|
|
1373
|
+
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
1374
|
+
#endif
|
|
1375
|
+
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
1376
|
+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
1377
|
+
#endif
|
|
1378
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
1379
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
1380
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
1381
|
+
# else
|
|
1382
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
1383
|
+
# endif
|
|
1384
|
+
#endif
|
|
1385
|
+
#if defined(__OBJC__)
|
|
1386
|
+
#if !defined(IBSegueAction)
|
|
1387
|
+
# define IBSegueAction
|
|
1388
|
+
#endif
|
|
1389
|
+
#endif
|
|
1390
|
+
#if !defined(SWIFT_EXTERN)
|
|
1391
|
+
# if defined(__cplusplus)
|
|
1392
|
+
# define SWIFT_EXTERN extern "C"
|
|
1393
|
+
# else
|
|
1394
|
+
# define SWIFT_EXTERN extern
|
|
1395
|
+
# endif
|
|
1396
|
+
#endif
|
|
1397
|
+
#if !defined(SWIFT_CALL)
|
|
1398
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
1399
|
+
#endif
|
|
1400
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
1401
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
1402
|
+
#endif
|
|
1403
|
+
#if !defined(SWIFT_CONTEXT)
|
|
1404
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
1405
|
+
#endif
|
|
1406
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
1407
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
1408
|
+
#endif
|
|
1409
|
+
#if defined(__cplusplus)
|
|
1410
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
1411
|
+
#else
|
|
1412
|
+
# define SWIFT_NOEXCEPT
|
|
1413
|
+
#endif
|
|
1414
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
1415
|
+
# if __has_attribute(always_inline)
|
|
1416
|
+
# if __has_attribute(nodebug)
|
|
1417
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
1418
|
+
# else
|
|
1419
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
1420
|
+
# endif
|
|
1421
|
+
# else
|
|
1422
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
1423
|
+
# endif
|
|
1424
|
+
#endif
|
|
1425
|
+
#if defined(_WIN32)
|
|
1426
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
1427
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
1428
|
+
#endif
|
|
1429
|
+
#else
|
|
1430
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
1431
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
1432
|
+
#endif
|
|
1433
|
+
#endif
|
|
1434
|
+
#if !__has_feature(nullability)
|
|
1435
|
+
# define _Nonnull
|
|
1436
|
+
# define _Nullable
|
|
1437
|
+
# define _Null_unspecified
|
|
1438
|
+
#elif !defined(__OBJC__)
|
|
1439
|
+
# pragma clang diagnostic ignored "-Wnullability-extension"
|
|
1440
|
+
#endif
|
|
1441
|
+
#if !__has_feature(nullability_nullable_result)
|
|
1442
|
+
# define _Nullable_result _Nullable
|
|
1443
|
+
#endif
|
|
1444
|
+
#if __has_feature(objc_modules)
|
|
1445
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
1446
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
1447
|
+
#endif
|
|
1448
|
+
#endif
|
|
1449
|
+
|
|
1450
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
1451
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
1452
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
1453
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
1454
|
+
#endif
|
|
1455
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
1456
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
1457
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
1458
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
1459
|
+
|
|
1460
|
+
#if __has_attribute(external_source_symbol)
|
|
1461
|
+
# pragma push_macro("any")
|
|
1462
|
+
# undef any
|
|
1463
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSimulatorControl",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
1464
|
+
# pragma pop_macro("any")
|
|
1465
|
+
#endif
|
|
1466
|
+
|
|
1467
|
+
#if defined(__cplusplus)
|
|
1468
|
+
extern "C" {
|
|
1469
|
+
#endif
|
|
1470
|
+
|
|
1471
|
+
#if defined(__cplusplus)
|
|
1472
|
+
} // extern "C"
|
|
1473
|
+
#endif
|
|
1474
|
+
#if __has_attribute(external_source_symbol)
|
|
1475
|
+
# pragma clang attribute pop
|
|
1476
|
+
#endif
|
|
1477
|
+
#if defined(__OBJC__)
|
|
1478
|
+
#if __has_feature(objc_modules)
|
|
1479
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
1480
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
1481
|
+
#endif
|
|
1482
|
+
@import CoreFoundation;
|
|
1483
|
+
@import CoreGraphics;
|
|
1484
|
+
@import CoreVideo;
|
|
1485
|
+
@import Dispatch;
|
|
1486
|
+
@import FBControlCore;
|
|
1487
|
+
@import Foundation;
|
|
1488
|
+
@import ObjectiveC;
|
|
1489
|
+
@import _DarwinFoundation2.sys_types;
|
|
1490
|
+
#endif
|
|
1491
|
+
|
|
1492
|
+
#import <FBSimulatorControl/FBSimulatorControl.h>
|
|
1493
|
+
|
|
1494
|
+
#endif // defined(__OBJC__)
|
|
1495
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
1496
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
1497
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
1498
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
1499
|
+
#endif
|
|
1500
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
1501
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
1502
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
1503
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
1504
|
+
|
|
1505
|
+
#if __has_attribute(external_source_symbol)
|
|
1506
|
+
# pragma push_macro("any")
|
|
1507
|
+
# undef any
|
|
1508
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBSimulatorControl",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
1509
|
+
# pragma pop_macro("any")
|
|
1510
|
+
#endif
|
|
1511
|
+
|
|
1512
|
+
#if defined(__OBJC__)
|
|
1513
|
+
|
|
1514
|
+
@class FBSimulator;
|
|
1515
|
+
@class FBSimulatorSet;
|
|
1516
|
+
@class NSString;
|
|
1517
|
+
@class NSNull;
|
|
1518
|
+
@protocol FBControlCoreLogger;
|
|
1519
|
+
SWIFT_CLASS_NAMED("FBAppleSimctlCommandExecutor")
|
|
1520
|
+
@interface FBAppleSimctlCommandExecutor : NSObject
|
|
1521
|
+
+ (FBAppleSimctlCommandExecutor * _Nonnull)executorForSimulator:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
1522
|
+
+ (FBAppleSimctlCommandExecutor * _Nonnull)executorForDeviceSet:(FBSimulatorSet * _Nonnull)set SWIFT_WARN_UNUSED_RESULT;
|
|
1523
|
+
- (FBProcessBuilder<NSNull *, id <FBControlCoreLogger>, id <FBControlCoreLogger>> * _Nonnull)taskBuilderWithCommand:(NSString * _Nonnull)command arguments:(NSArray<NSString *> * _Nonnull)arguments SWIFT_WARN_UNUSED_RESULT;
|
|
1524
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1525
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1526
|
+
@end
|
|
1527
|
+
|
|
1528
|
+
@class SimDevice;
|
|
1529
|
+
SWIFT_CLASS_NAMED("FBCoreSimulatorNotifier")
|
|
1530
|
+
@interface FBCoreSimulatorNotifier : NSObject
|
|
1531
|
+
+ (FBCoreSimulatorNotifier * _Nonnull)notifierForSimDevice:(SimDevice * _Nonnull)simDevice queue:(dispatch_queue_t _Nonnull)queue block:(void (^ _Nonnull)(NSDictionary<NSString *, id> * _Nonnull))block SWIFT_WARN_UNUSED_RESULT;
|
|
1532
|
+
+ (FBFuture<NSNull *> * _Nonnull)resolveLeavesState:(FBiOSTargetState)state forSimDevice:(SimDevice * _Nonnull)device SWIFT_WARN_UNUSED_RESULT;
|
|
1533
|
+
- (void)terminate;
|
|
1534
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1535
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1536
|
+
@end
|
|
1537
|
+
|
|
1538
|
+
SWIFT_CLASS_NAMED("FBDefaultsModificationStrategy")
|
|
1539
|
+
@interface FBDefaultsModificationStrategy : NSObject
|
|
1540
|
+
+ (nonnull instancetype)strategyWithSimulator:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
1541
|
+
- (FBFuture<NSNull *> * _Nonnull)modifyDefaultsInDomainOrPath:(NSString * _Nullable)domainOrPath defaults:(NSDictionary<NSString *, id> * _Nonnull)defaults SWIFT_WARN_UNUSED_RESULT;
|
|
1542
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1543
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1544
|
+
@end
|
|
1545
|
+
|
|
1546
|
+
@protocol FBFramebufferConsumer;
|
|
1547
|
+
@class IOSurface;
|
|
1548
|
+
SWIFT_CLASS_NAMED("FBFramebuffer")
|
|
1549
|
+
@interface FBFramebuffer : NSObject
|
|
1550
|
+
+ (FBFramebuffer * _Nullable)mainScreenSurfaceForSimulator:(FBSimulator * _Nonnull)simulator logger:(id <FBControlCoreLogger> _Nonnull)logger error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1551
|
+
- (IOSurface * _Nullable)attachConsumer:(id <FBFramebufferConsumer> _Nonnull)consumer onQueue:(dispatch_queue_t _Nonnull)queue SWIFT_WARN_UNUSED_RESULT;
|
|
1552
|
+
- (void)detachConsumer:(id <FBFramebufferConsumer> _Nonnull)consumer;
|
|
1553
|
+
- (BOOL)isConsumerAttached:(id <FBFramebufferConsumer> _Nonnull)consumer SWIFT_WARN_UNUSED_RESULT;
|
|
1554
|
+
- (FBFramebufferStats)currentStats SWIFT_WARN_UNUSED_RESULT;
|
|
1555
|
+
@property (nonatomic, readonly) CFTimeInterval statsStartTime;
|
|
1556
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1557
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1558
|
+
@end
|
|
1559
|
+
|
|
1560
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl21FBFramebufferConsumer_")
|
|
1561
|
+
@protocol FBFramebufferConsumer <NSObject>
|
|
1562
|
+
- (void)didChangeIOSurface:(IOSurface * _Nullable)surface;
|
|
1563
|
+
- (void)didReceiveDamageRect;
|
|
1564
|
+
@end
|
|
1565
|
+
|
|
1566
|
+
SWIFT_CLASS_NAMED("FBLocationServicesModificationStrategy")
|
|
1567
|
+
@interface FBLocationServicesModificationStrategy : FBDefaultsModificationStrategy
|
|
1568
|
+
- (FBFuture<NSNull *> * _Nonnull)approveLocationServicesForBundleIDs:(NSArray<NSString *> * _Nonnull)bundleIDs SWIFT_WARN_UNUSED_RESULT;
|
|
1569
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeLocationServicesForBundleIDs:(NSArray<NSString *> * _Nonnull)bundleIDs SWIFT_WARN_UNUSED_RESULT;
|
|
1570
|
+
@end
|
|
1571
|
+
|
|
1572
|
+
SWIFT_CLASS_NAMED("FBPreferenceModificationStrategy")
|
|
1573
|
+
@interface FBPreferenceModificationStrategy : FBDefaultsModificationStrategy
|
|
1574
|
+
- (FBFuture<NSNull *> * _Nonnull)setPreference:(NSString * _Nonnull)name value:(NSString * _Nonnull)value type:(NSString * _Nullable)type domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
1575
|
+
- (FBFuture<NSString *> * _Nonnull)getCurrentPreference:(NSString * _Nonnull)name domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
1576
|
+
@end
|
|
1577
|
+
|
|
1578
|
+
@class NSPredicate;
|
|
1579
|
+
@class FBCrashLogInfo;
|
|
1580
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBCrashLogCommands>
|
|
1581
|
+
- (FBFuture<FBCrashLogInfo *> * _Nonnull)notifyOfCrash:(NSPredicate * _Nonnull)predicate SWIFT_WARN_UNUSED_RESULT;
|
|
1582
|
+
@end
|
|
1583
|
+
|
|
1584
|
+
@class FBInstalledApplication;
|
|
1585
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl38FBSimulatorApplicationCommandsProtocol_")
|
|
1586
|
+
@protocol FBSimulatorApplicationCommandsProtocol <NSObject>
|
|
1587
|
+
- (FBInstalledApplication * _Nullable)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1588
|
+
@end
|
|
1589
|
+
|
|
1590
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorApplicationCommandsProtocol>
|
|
1591
|
+
- (FBInstalledApplication * _Nullable)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1592
|
+
@end
|
|
1593
|
+
|
|
1594
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl35FBSimulatorKeychainCommandsProtocol_")
|
|
1595
|
+
@protocol FBSimulatorKeychainCommandsProtocol <NSObject>
|
|
1596
|
+
- (FBFuture<NSNull *> * _Nonnull)clearKeychain SWIFT_WARN_UNUSED_RESULT;
|
|
1597
|
+
@end
|
|
1598
|
+
|
|
1599
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorKeychainCommandsProtocol>
|
|
1600
|
+
- (FBFuture<NSNull *> * _Nonnull)clearKeychain SWIFT_WARN_UNUSED_RESULT;
|
|
1601
|
+
@end
|
|
1602
|
+
|
|
1603
|
+
@class NSURL;
|
|
1604
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl32FBSimulatorMediaCommandsProtocol_")
|
|
1605
|
+
@protocol FBSimulatorMediaCommandsProtocol <FBiOSTargetCommand>
|
|
1606
|
+
- (FBFuture<NSNull *> * _Nonnull)addMedia:(NSArray<NSURL *> * _Nonnull)mediaFileURLs SWIFT_WARN_UNUSED_RESULT;
|
|
1607
|
+
@end
|
|
1608
|
+
|
|
1609
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorMediaCommandsProtocol>
|
|
1610
|
+
- (FBFuture<NSNull *> * _Nonnull)addMedia:(NSArray<NSURL *> * _Nonnull)mediaFileURLs SWIFT_WARN_UNUSED_RESULT;
|
|
1611
|
+
@end
|
|
1612
|
+
|
|
1613
|
+
@protocol FBContainedFile;
|
|
1614
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl31FBSimulatorFileCommandsProtocol_")
|
|
1615
|
+
@protocol FBSimulatorFileCommandsProtocol <NSObject>
|
|
1616
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplication:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1617
|
+
- (id <FBContainedFile> _Nullable)containedFileForGroupContainersWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1618
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplicationContainersWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1619
|
+
- (id <FBContainedFile> _Nonnull)containedFileForRootFilesystem SWIFT_WARN_UNUSED_RESULT;
|
|
1620
|
+
@end
|
|
1621
|
+
|
|
1622
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorFileCommandsProtocol>
|
|
1623
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplication:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1624
|
+
- (id <FBContainedFile> _Nullable)containedFileForGroupContainersWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1625
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplicationContainersWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1626
|
+
- (id <FBContainedFile> _Nonnull)containedFileForRootFilesystem SWIFT_WARN_UNUSED_RESULT;
|
|
1627
|
+
@end
|
|
1628
|
+
|
|
1629
|
+
@class FBTestLaunchConfiguration;
|
|
1630
|
+
@class NSNumber;
|
|
1631
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBXCTestExtendedCommands>
|
|
1632
|
+
- (FBFuture<NSNull *> * _Nonnull)runTestWithLaunchConfiguration:(FBTestLaunchConfiguration * _Nonnull)testLaunchConfiguration reporter:(id _Nonnull)reporter logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
1633
|
+
- (FBFuture<NSArray *> * _Nonnull)listTestsForBundleAtPath:(NSString * _Nonnull)bundlePath timeout:(NSTimeInterval)timeout withAppAtPath:(NSString * _Nullable)appPath SWIFT_WARN_UNUSED_RESULT;
|
|
1634
|
+
- (FBFuture<NSString *> * _Nonnull)extendedTestShim SWIFT_WARN_UNUSED_RESULT;
|
|
1635
|
+
- (FBFutureContext<NSNumber *> * _Nonnull)transportForTestManagerService SWIFT_WARN_UNUSED_RESULT;
|
|
1636
|
+
@end
|
|
1637
|
+
|
|
1638
|
+
@class FBSimulatorBootConfiguration;
|
|
1639
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl36FBSimulatorLifecycleCommandsProtocol_")
|
|
1640
|
+
@protocol FBSimulatorLifecycleCommandsProtocol <FBiOSTargetCommand>
|
|
1641
|
+
- (FBFuture<NSNull *> * _Nonnull)boot:(FBSimulatorBootConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
1642
|
+
- (FBFuture<NSNull *> * _Nonnull)focus SWIFT_WARN_UNUSED_RESULT;
|
|
1643
|
+
- (FBFuture<NSNull *> * _Nonnull)disconnectWithTimeout:(NSTimeInterval)timeout logger:(id <FBControlCoreLogger> _Nullable)logger SWIFT_WARN_UNUSED_RESULT;
|
|
1644
|
+
- (FBFuture<FBFramebuffer *> * _Nonnull)connectToFramebuffer SWIFT_WARN_UNUSED_RESULT;
|
|
1645
|
+
- (FBFuture<NSNull *> * _Nonnull)openURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
|
|
1646
|
+
@end
|
|
1647
|
+
|
|
1648
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorLifecycleCommandsProtocol>
|
|
1649
|
+
- (FBFuture<NSNull *> * _Nonnull)boot:(FBSimulatorBootConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
1650
|
+
- (FBFuture<NSNull *> * _Nonnull)focus SWIFT_WARN_UNUSED_RESULT;
|
|
1651
|
+
- (FBFuture<NSNull *> * _Nonnull)disconnectWithTimeout:(NSTimeInterval)timeout logger:(id <FBControlCoreLogger> _Nullable)logger SWIFT_WARN_UNUSED_RESULT;
|
|
1652
|
+
- (FBFuture<FBFramebuffer *> * _Nonnull)connectToFramebuffer SWIFT_WARN_UNUSED_RESULT;
|
|
1653
|
+
- (FBFuture<NSNull *> * _Nonnull)openURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
|
|
1654
|
+
@end
|
|
1655
|
+
|
|
1656
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl))
|
|
1657
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull xctestPath;
|
|
1658
|
+
@end
|
|
1659
|
+
|
|
1660
|
+
@class FBApplicationLaunchConfiguration;
|
|
1661
|
+
@protocol FBLaunchedApplication;
|
|
1662
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBApplicationCommands>
|
|
1663
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installApplicationWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
1664
|
+
- (FBFuture<NSNull *> * _Nonnull)uninstallApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1665
|
+
- (FBFuture<id <FBLaunchedApplication>> * _Nonnull)launchApplication:(FBApplicationLaunchConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
1666
|
+
- (FBFuture<NSNull *> * _Nonnull)killApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1667
|
+
- (FBFuture<NSArray *> * _Nonnull)installedApplications SWIFT_WARN_UNUSED_RESULT;
|
|
1668
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1669
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIDWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1670
|
+
@end
|
|
1671
|
+
|
|
1672
|
+
@class FBProcessInfo;
|
|
1673
|
+
@class NSRegularExpression;
|
|
1674
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl36FBSimulatorLaunchCtlCommandsProtocol_")
|
|
1675
|
+
@protocol FBSimulatorLaunchCtlCommandsProtocol <FBiOSTargetCommand>
|
|
1676
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcessIdentifier:(pid_t)pid SWIFT_WARN_UNUSED_RESULT;
|
|
1677
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcess:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
1678
|
+
- (FBFuture<NSDictionary *> * _Nonnull)serviceNamesAndProcessIdentifiersMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
1679
|
+
- (FBFuture<NSArray *> * _Nonnull)firstServiceNameAndProcessIdentifierMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
1680
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIsRunningOnSimulator:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
1681
|
+
- (FBFuture<NSDictionary *> * _Nonnull)listServices SWIFT_WARN_UNUSED_RESULT;
|
|
1682
|
+
- (FBFuture<NSString *> * _Nonnull)stopServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
1683
|
+
- (FBFuture<NSString *> * _Nonnull)startServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
1684
|
+
@end
|
|
1685
|
+
|
|
1686
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorLaunchCtlCommandsProtocol>
|
|
1687
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcessIdentifier:(pid_t)pid SWIFT_WARN_UNUSED_RESULT;
|
|
1688
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcess:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
1689
|
+
- (FBFuture<NSDictionary *> * _Nonnull)serviceNamesAndProcessIdentifiersMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
1690
|
+
- (FBFuture<NSArray *> * _Nonnull)firstServiceNameAndProcessIdentifierMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
1691
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIsRunningOnSimulator:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
1692
|
+
- (FBFuture<NSDictionary *> * _Nonnull)listServices SWIFT_WARN_UNUSED_RESULT;
|
|
1693
|
+
- (FBFuture<NSString *> * _Nonnull)stopServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
1694
|
+
- (FBFuture<NSString *> * _Nonnull)startServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
1695
|
+
@end
|
|
1696
|
+
|
|
1697
|
+
SWIFT_ENUM_FWD_DECL(NSUInteger, FBSimulatorSetting)
|
|
1698
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, FBSimulatorAppearance)
|
|
1699
|
+
SWIFT_ENUM_FWD_DECL(NSInteger, FBSimulatorContentSizeCategory)
|
|
1700
|
+
@class FBStatusBarOverride;
|
|
1701
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl35FBSimulatorSettingsCommandsProtocol_")
|
|
1702
|
+
@protocol FBSimulatorSettingsCommandsProtocol <FBiOSTargetCommand>
|
|
1703
|
+
- (FBFuture<NSNull *> * _Nonnull)setSetting:(enum FBSimulatorSetting)setting enabled:(BOOL)enabled SWIFT_WARN_UNUSED_RESULT;
|
|
1704
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentAppearance SWIFT_WARN_UNUSED_RESULT;
|
|
1705
|
+
- (FBFuture<NSNull *> * _Nonnull)setAppearance:(enum FBSimulatorAppearance)appearance SWIFT_WARN_UNUSED_RESULT;
|
|
1706
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentContentSizeCategory SWIFT_WARN_UNUSED_RESULT;
|
|
1707
|
+
- (FBFuture<NSNull *> * _Nonnull)setContentSizeCategory:(enum FBSimulatorContentSizeCategory)category SWIFT_WARN_UNUSED_RESULT;
|
|
1708
|
+
- (FBFuture<FBStatusBarOverride *> * _Nonnull)currentStatusBarOverrides SWIFT_WARN_UNUSED_RESULT;
|
|
1709
|
+
- (FBFuture<NSNull *> * _Nonnull)overrideStatusBar:(FBStatusBarOverride * _Nullable)override SWIFT_WARN_UNUSED_RESULT;
|
|
1710
|
+
- (FBFuture<NSNull *> * _Nonnull)setPreference:(NSString * _Nonnull)name value:(NSString * _Nonnull)value type:(NSString * _Nullable)type domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
1711
|
+
- (FBFuture<NSString *> * _Nonnull)getCurrentPreference:(NSString * _Nonnull)name domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
1712
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
1713
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
1714
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
1715
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
1716
|
+
- (FBFuture<NSNull *> * _Nonnull)updateContacts:(NSString * _Nonnull)databaseDirectory SWIFT_WARN_UNUSED_RESULT;
|
|
1717
|
+
- (FBFuture<NSNull *> * _Nonnull)clearContacts SWIFT_WARN_UNUSED_RESULT;
|
|
1718
|
+
- (FBFuture<NSNull *> * _Nonnull)clearPhotos SWIFT_WARN_UNUSED_RESULT;
|
|
1719
|
+
- (FBFuture<NSNull *> * _Nonnull)setProxyWithHost:(NSString * _Nonnull)host port:(NSUInteger)port type:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
|
|
1720
|
+
- (FBFuture<NSNull *> * _Nonnull)clearProxy SWIFT_WARN_UNUSED_RESULT;
|
|
1721
|
+
- (FBFuture<NSString *> * _Nonnull)listProxy SWIFT_WARN_UNUSED_RESULT;
|
|
1722
|
+
- (FBFuture<NSNull *> * _Nonnull)setDnsServers:(NSArray<NSString *> * _Nonnull)servers SWIFT_WARN_UNUSED_RESULT;
|
|
1723
|
+
- (FBFuture<NSNull *> * _Nonnull)clearDns SWIFT_WARN_UNUSED_RESULT;
|
|
1724
|
+
- (FBFuture<NSString *> * _Nonnull)listDns SWIFT_WARN_UNUSED_RESULT;
|
|
1725
|
+
- (FBFuture<NSNull *> * _Nonnull)setHealthAuthorization:(BOOL)approved forBundleID:(NSString * _Nonnull)bundleID typeIdentifiers:(NSArray<NSString *> * _Nonnull)typeIdentifiers SWIFT_WARN_UNUSED_RESULT;
|
|
1726
|
+
- (FBFuture<NSNull *> * _Nonnull)clearHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1727
|
+
- (FBFuture<NSString *> * _Nonnull)listHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1728
|
+
@end
|
|
1729
|
+
|
|
1730
|
+
@interface FBSimulator (SWIFT_EXTENSION(FBSimulatorControl)) <FBSimulatorSettingsCommandsProtocol>
|
|
1731
|
+
- (FBFuture<NSNull *> * _Nonnull)setSetting:(enum FBSimulatorSetting)setting enabled:(BOOL)enabled SWIFT_WARN_UNUSED_RESULT;
|
|
1732
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentAppearance SWIFT_WARN_UNUSED_RESULT;
|
|
1733
|
+
- (FBFuture<NSNull *> * _Nonnull)setAppearance:(enum FBSimulatorAppearance)appearance SWIFT_WARN_UNUSED_RESULT;
|
|
1734
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentContentSizeCategory SWIFT_WARN_UNUSED_RESULT;
|
|
1735
|
+
- (FBFuture<NSNull *> * _Nonnull)setContentSizeCategory:(enum FBSimulatorContentSizeCategory)category SWIFT_WARN_UNUSED_RESULT;
|
|
1736
|
+
- (FBFuture<FBStatusBarOverride *> * _Nonnull)currentStatusBarOverrides SWIFT_WARN_UNUSED_RESULT;
|
|
1737
|
+
- (FBFuture<NSNull *> * _Nonnull)overrideStatusBar:(FBStatusBarOverride * _Nullable)override SWIFT_WARN_UNUSED_RESULT;
|
|
1738
|
+
- (FBFuture<NSNull *> * _Nonnull)setPreference:(NSString * _Nonnull)name value:(NSString * _Nonnull)value type:(NSString * _Nullable)type domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
1739
|
+
- (FBFuture<NSString *> * _Nonnull)getCurrentPreference:(NSString * _Nonnull)name domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
1740
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
1741
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
1742
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
1743
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
1744
|
+
- (FBFuture<NSNull *> * _Nonnull)updateContacts:(NSString * _Nonnull)databaseDirectory SWIFT_WARN_UNUSED_RESULT;
|
|
1745
|
+
- (FBFuture<NSNull *> * _Nonnull)clearContacts SWIFT_WARN_UNUSED_RESULT;
|
|
1746
|
+
- (FBFuture<NSNull *> * _Nonnull)clearPhotos SWIFT_WARN_UNUSED_RESULT;
|
|
1747
|
+
- (FBFuture<NSNull *> * _Nonnull)setProxyWithHost:(NSString * _Nonnull)host port:(NSUInteger)port type:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
|
|
1748
|
+
- (FBFuture<NSNull *> * _Nonnull)clearProxy SWIFT_WARN_UNUSED_RESULT;
|
|
1749
|
+
- (FBFuture<NSString *> * _Nonnull)listProxy SWIFT_WARN_UNUSED_RESULT;
|
|
1750
|
+
- (FBFuture<NSNull *> * _Nonnull)setDnsServers:(NSArray<NSString *> * _Nonnull)servers SWIFT_WARN_UNUSED_RESULT;
|
|
1751
|
+
- (FBFuture<NSNull *> * _Nonnull)clearDns SWIFT_WARN_UNUSED_RESULT;
|
|
1752
|
+
- (FBFuture<NSString *> * _Nonnull)listDns SWIFT_WARN_UNUSED_RESULT;
|
|
1753
|
+
- (FBFuture<NSNull *> * _Nonnull)setHealthAuthorization:(BOOL)approved forBundleID:(NSString * _Nonnull)bundleID typeIdentifiers:(NSArray<NSString *> * _Nonnull)typeIdentifiers SWIFT_WARN_UNUSED_RESULT;
|
|
1754
|
+
- (FBFuture<NSNull *> * _Nonnull)clearHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1755
|
+
- (FBFuture<NSString *> * _Nonnull)listHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1756
|
+
@end
|
|
1757
|
+
|
|
1758
|
+
/// Simulator implementation of the accessibility command surface. Resolves the
|
|
1759
|
+
/// frontmost / at-point / matching accessibility element via the translation
|
|
1760
|
+
/// dispatcher, applying SpringBoard-crash remediation for frontmost lookups.
|
|
1761
|
+
/// <code>final</code>; unit tests inject a mock dispatcher via <code>injectedDispatcher</code> (<code>@testable</code>).
|
|
1762
|
+
/// Stays <code>NSObject</code> because it is stored in the simulator’s Objective-C command cache.
|
|
1763
|
+
SWIFT_CLASS("_TtC18FBSimulatorControl32FBSimulatorAccessibilityCommands")
|
|
1764
|
+
@interface FBSimulatorAccessibilityCommands : NSObject
|
|
1765
|
+
- (nonnull instancetype)initWithSimulator:(FBSimulator * _Nonnull)simulator OBJC_DESIGNATED_INITIALIZER;
|
|
1766
|
+
+ (nonnull instancetype)commandsWithTarget:(FBSimulator * _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1767
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1768
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1769
|
+
@end
|
|
1770
|
+
|
|
1771
|
+
/// Dark/Light mode appearance.
|
|
1772
|
+
/// Values match UIUserInterfaceStyle used by SimDevice’s setUIInterfaceStyle:error:.
|
|
1773
|
+
typedef SWIFT_ENUM(NSInteger, FBSimulatorAppearance, open) {
|
|
1774
|
+
FBSimulatorAppearanceLight = 1,
|
|
1775
|
+
FBSimulatorAppearanceDark = 2,
|
|
1776
|
+
};
|
|
1777
|
+
|
|
1778
|
+
@protocol FBiOSTarget;
|
|
1779
|
+
SWIFT_CLASS_NAMED("FBSimulatorApplicationCommands")
|
|
1780
|
+
@interface FBSimulatorApplicationCommands : NSObject <FBiOSTargetCommand>
|
|
1781
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1782
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installApplicationWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
1783
|
+
- (FBFuture<id <FBLaunchedApplication>> * _Nonnull)launchApplication:(FBApplicationLaunchConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
1784
|
+
- (FBFuture<NSNull *> * _Nonnull)killApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1785
|
+
- (FBFuture<NSArray *> * _Nonnull)installedApplications SWIFT_WARN_UNUSED_RESULT;
|
|
1786
|
+
- (FBFuture<NSNull *> * _Nonnull)uninstallApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1787
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1788
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIDWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1789
|
+
- (FBInstalledApplication * _Nullable)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1790
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1791
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1792
|
+
@end
|
|
1793
|
+
|
|
1794
|
+
SWIFT_CLASS_NAMED("FBSimulatorBootConfiguration")
|
|
1795
|
+
@interface FBSimulatorBootConfiguration : NSObject <NSCopying>
|
|
1796
|
+
@property (nonatomic, readonly) FBSimulatorBootOptions options;
|
|
1797
|
+
@property (nonatomic, readonly, copy) NSDictionary<NSString *, NSString *> * _Nonnull environment;
|
|
1798
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) FBSimulatorBootConfiguration * _Nonnull defaultConfiguration;)
|
|
1799
|
+
+ (FBSimulatorBootConfiguration * _Nonnull)defaultConfiguration SWIFT_WARN_UNUSED_RESULT;
|
|
1800
|
+
- (nonnull instancetype)initWithOptions:(FBSimulatorBootOptions)options environment:(NSDictionary<NSString *, NSString *> * _Nonnull)environment OBJC_DESIGNATED_INITIALIZER;
|
|
1801
|
+
- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT;
|
|
1802
|
+
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
|
|
1803
|
+
@property (nonatomic, readonly) NSUInteger hash;
|
|
1804
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1805
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1806
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1807
|
+
@end
|
|
1808
|
+
|
|
1809
|
+
SWIFT_CLASS_NAMED("FBSimulatorBootStrategy")
|
|
1810
|
+
@interface FBSimulatorBootStrategy : NSObject
|
|
1811
|
+
+ (FBFuture<NSNull *> * _Nonnull)boot:(FBSimulator * _Nonnull)simulator withConfiguration:(FBSimulatorBootConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
1812
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1813
|
+
@end
|
|
1814
|
+
|
|
1815
|
+
SWIFT_CLASS_NAMED("FBSimulatorBootVerificationStrategy")
|
|
1816
|
+
@interface FBSimulatorBootVerificationStrategy : NSObject
|
|
1817
|
+
+ (FBFuture<NSNull *> * _Nonnull)verifySimulatorIsBooted:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
1818
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1819
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1820
|
+
@end
|
|
1821
|
+
|
|
1822
|
+
@class FBDeviceType;
|
|
1823
|
+
@class FBOSVersion;
|
|
1824
|
+
SWIFT_CLASS_NAMED("FBSimulatorConfiguration")
|
|
1825
|
+
@interface FBSimulatorConfiguration : NSObject <NSCopying>
|
|
1826
|
+
@property (nonatomic, readonly, strong) FBDeviceType * _Nonnull device;
|
|
1827
|
+
@property (nonatomic, readonly, strong) FBOSVersion * _Nonnull os;
|
|
1828
|
+
+ (FBSimulatorConfiguration * _Nullable)defaultConfigurationAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1829
|
+
- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT;
|
|
1830
|
+
@property (nonatomic, readonly) NSUInteger hash;
|
|
1831
|
+
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
|
|
1832
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1833
|
+
- (FBSimulatorConfiguration * _Nonnull)withDeviceModel:(FBDeviceModel _Nonnull)model SWIFT_WARN_UNUSED_RESULT;
|
|
1834
|
+
- (FBSimulatorConfiguration * _Nonnull)withOSNamed:(FBOSVersionName _Nonnull)osName SWIFT_WARN_UNUSED_RESULT;
|
|
1835
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1836
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1837
|
+
@end
|
|
1838
|
+
|
|
1839
|
+
@class SimRuntime;
|
|
1840
|
+
@class SimDeviceType;
|
|
1841
|
+
@interface FBSimulatorConfiguration (SWIFT_EXTENSION(FBSimulatorControl))
|
|
1842
|
+
- (FBSimulatorConfiguration * _Nullable)newestAvailableOSAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1843
|
+
- (FBSimulatorConfiguration * _Nullable)oldestAvailableOSAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1844
|
+
+ (FBSimulatorConfiguration * _Nullable)inferSimulatorConfigurationFromDevice:(SimDevice * _Nonnull)simDevice error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1845
|
+
+ (FBSimulatorConfiguration * _Nonnull)inferSimulatorConfigurationFromDeviceSynthesizingMissing:(SimDevice * _Nonnull)simDevice SWIFT_WARN_UNUSED_RESULT;
|
|
1846
|
+
- (BOOL)checkRuntimeRequirementsReturningError:(NSError * _Nullable * _Nullable)error;
|
|
1847
|
+
+ (NSArray<FBOSVersion *> * _Nullable)supportedOSVersionsAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1848
|
+
+ (NSArray<FBOSVersion *> * _Nullable)supportedOSVersionsForDevice:(FBDeviceType * _Nonnull)device error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1849
|
+
+ (NSArray<FBSimulatorConfiguration *> * _Nullable)allAvailableDefaultConfigurationsWithLogger:(id <FBControlCoreLogger> _Nullable)logger error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1850
|
+
+ (NSArray<FBSimulatorConfiguration *> * _Nullable)allAvailableDefaultConfigurationsWithAbsentOSVersionsOut:(NSArray * _Nullable * _Nullable)absentOSVersionsOut absentDeviceTypesOut:(NSArray * _Nullable * _Nullable)absentDeviceTypesOut error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1851
|
+
- (SimRuntime * _Nullable)obtainRuntimeWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1852
|
+
- (SimDeviceType * _Nullable)obtainDeviceTypeWithError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1853
|
+
@end
|
|
1854
|
+
|
|
1855
|
+
/// Dynamic Type content size categories.
|
|
1856
|
+
/// Values match the integer indices used by SimDevice’s setContentSizeCategory:error:.
|
|
1857
|
+
typedef SWIFT_ENUM(NSInteger, FBSimulatorContentSizeCategory, open) {
|
|
1858
|
+
FBSimulatorContentSizeCategoryExtraSmall = 1,
|
|
1859
|
+
FBSimulatorContentSizeCategorySmall = 2,
|
|
1860
|
+
FBSimulatorContentSizeCategoryMedium = 3,
|
|
1861
|
+
FBSimulatorContentSizeCategoryLarge = 4,
|
|
1862
|
+
FBSimulatorContentSizeCategoryExtraLarge = 5,
|
|
1863
|
+
FBSimulatorContentSizeCategoryExtraExtraLarge = 6,
|
|
1864
|
+
FBSimulatorContentSizeCategoryExtraExtraExtraLarge = 7,
|
|
1865
|
+
FBSimulatorContentSizeCategoryAccessibilityMedium = 8,
|
|
1866
|
+
FBSimulatorContentSizeCategoryAccessibilityLarge = 9,
|
|
1867
|
+
FBSimulatorContentSizeCategoryAccessibilityExtraLarge = 10,
|
|
1868
|
+
FBSimulatorContentSizeCategoryAccessibilityExtraExtraLarge = 11,
|
|
1869
|
+
FBSimulatorContentSizeCategoryAccessibilityExtraExtraExtraLarge = 12,
|
|
1870
|
+
};
|
|
1871
|
+
|
|
1872
|
+
@class FBSimulatorControlConfiguration;
|
|
1873
|
+
@class FBSimulatorServiceContext;
|
|
1874
|
+
SWIFT_CLASS_NAMED("FBSimulatorControl")
|
|
1875
|
+
@interface FBSimulatorControl : NSObject
|
|
1876
|
+
@property (nonatomic, strong) FBSimulatorControlConfiguration * _Nonnull configuration;
|
|
1877
|
+
@property (nonatomic, readonly, strong) FBSimulatorServiceContext * _Nonnull serviceContext;
|
|
1878
|
+
@property (nonatomic, readonly, strong) FBSimulatorSet * _Nonnull set;
|
|
1879
|
+
+ (FBSimulatorControl * _Nullable)withConfiguration:(FBSimulatorControlConfiguration * _Nonnull)configuration error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1880
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1881
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1882
|
+
@end
|
|
1883
|
+
|
|
1884
|
+
@protocol FBEventReporter;
|
|
1885
|
+
SWIFT_CLASS_NAMED("FBSimulatorControlConfiguration")
|
|
1886
|
+
@interface FBSimulatorControlConfiguration : NSObject <NSCopying>
|
|
1887
|
+
@property (nonatomic, readonly, copy) NSString * _Nullable deviceSetPath;
|
|
1888
|
+
@property (nonatomic, readonly, strong) id <FBControlCoreLogger> _Nonnull logger;
|
|
1889
|
+
@property (nonatomic, readonly, strong) id <FBEventReporter> _Nullable reporter;
|
|
1890
|
+
+ (FBSimulatorControlConfiguration * _Nonnull)configurationWithDeviceSetPath:(NSString * _Nullable)deviceSetPath logger:(id <FBControlCoreLogger> _Nullable)logger reporter:(id <FBEventReporter> _Nullable)reporter SWIFT_WARN_UNUSED_RESULT;
|
|
1891
|
+
- (nonnull instancetype)initWithDeviceSetPath:(NSString * _Nullable)deviceSetPath logger:(id <FBControlCoreLogger> _Nullable)logger reporter:(id <FBEventReporter> _Nullable)reporter OBJC_DESIGNATED_INITIALIZER;
|
|
1892
|
+
- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT;
|
|
1893
|
+
@property (nonatomic, readonly) NSUInteger hash;
|
|
1894
|
+
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
|
|
1895
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1896
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull defaultDeviceSetPath;)
|
|
1897
|
+
+ (NSString * _Nonnull)defaultDeviceSetPath SWIFT_WARN_UNUSED_RESULT;
|
|
1898
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1899
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1900
|
+
@end
|
|
1901
|
+
|
|
1902
|
+
SWIFT_CLASS_NAMED("FBSimulatorCrashLogCommands")
|
|
1903
|
+
@interface FBSimulatorCrashLogCommands : NSObject <FBiOSTargetCommand>
|
|
1904
|
+
+ (FBSimulatorCrashLogCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1905
|
+
- (FBFuture<FBCrashLogInfo *> * _Nonnull)notifyOfCrash:(NSPredicate * _Nonnull)predicate SWIFT_WARN_UNUSED_RESULT;
|
|
1906
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1907
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1908
|
+
@end
|
|
1909
|
+
|
|
1910
|
+
SWIFT_CLASS_NAMED("FBSimulatorDapServerCommand")
|
|
1911
|
+
@interface FBSimulatorDapServerCommand : NSObject <FBiOSTargetCommand>
|
|
1912
|
+
+ (FBSimulatorDapServerCommand * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1913
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1914
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1915
|
+
@end
|
|
1916
|
+
|
|
1917
|
+
SWIFT_CLASS_NAMED("FBSimulatorDebuggerCommands")
|
|
1918
|
+
@interface FBSimulatorDebuggerCommands : NSObject <FBiOSTargetCommand>
|
|
1919
|
+
+ (FBSimulatorDebuggerCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1920
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1921
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1922
|
+
@end
|
|
1923
|
+
|
|
1924
|
+
SWIFT_CLASS_NAMED("FBSimulatorDeletionStrategy")
|
|
1925
|
+
@interface FBSimulatorDeletionStrategy : NSObject
|
|
1926
|
+
+ (FBFuture<NSNull *> * _Nonnull)delete:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
1927
|
+
+ (FBFuture<NSNull *> * _Nonnull)deleteAll:(NSArray<FBSimulator *> * _Nonnull)simulators SWIFT_WARN_UNUSED_RESULT;
|
|
1928
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1929
|
+
@end
|
|
1930
|
+
|
|
1931
|
+
SWIFT_CLASS_NAMED("FBSimulatorEraseStrategy")
|
|
1932
|
+
@interface FBSimulatorEraseStrategy : NSObject
|
|
1933
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1934
|
+
@end
|
|
1935
|
+
|
|
1936
|
+
SWIFT_RESILIENT_CLASS_NAMED("FBSimulatorError")
|
|
1937
|
+
@interface FBSimulatorError : FBControlCoreError
|
|
1938
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1939
|
+
@end
|
|
1940
|
+
|
|
1941
|
+
SWIFT_CLASS_NAMED("FBSimulatorFileCommands")
|
|
1942
|
+
@interface FBSimulatorFileCommands : NSObject <FBiOSTargetCommand>
|
|
1943
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1944
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplication:(NSString * _Nonnull)bundleID error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1945
|
+
- (id <FBContainedFile> _Nullable)containedFileForApplicationContainersAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1946
|
+
- (id <FBContainedFile> _Nullable)containedFileForGroupContainersAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1947
|
+
- (id <FBContainedFile> _Nonnull)containedFileForRootFilesystem SWIFT_WARN_UNUSED_RESULT;
|
|
1948
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1949
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1950
|
+
@end
|
|
1951
|
+
|
|
1952
|
+
@class NSData;
|
|
1953
|
+
SWIFT_CLASS_NAMED("FBSimulatorImage")
|
|
1954
|
+
@interface FBSimulatorImage : NSObject
|
|
1955
|
+
+ (FBSimulatorImage * _Nonnull)imageWithFramebuffer:(FBFramebuffer * _Nonnull)framebuffer logger:(id <FBControlCoreLogger> _Nullable)logger SWIFT_WARN_UNUSED_RESULT;
|
|
1956
|
+
- (CGImageRef _Nullable)image SWIFT_WARN_UNUSED_RESULT;
|
|
1957
|
+
- (NSData * _Nullable)jpegImageDataAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1958
|
+
- (NSData * _Nullable)pngImageDataAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1959
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1960
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1961
|
+
@end
|
|
1962
|
+
|
|
1963
|
+
SWIFT_CLASS_NAMED("FBSimulatorInflationStrategy")
|
|
1964
|
+
@interface FBSimulatorInflationStrategy : NSObject
|
|
1965
|
+
+ (FBSimulatorInflationStrategy * _Nonnull)strategyForSet:(FBSimulatorSet * _Nonnull)set SWIFT_WARN_UNUSED_RESULT;
|
|
1966
|
+
- (NSArray<FBSimulator *> * _Nonnull)inflateFromDevices:(NSArray * _Nonnull)simDevices exitingSimulators:(NSArray<FBSimulator *> * _Nonnull)simulators SWIFT_WARN_UNUSED_RESULT;
|
|
1967
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1968
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1969
|
+
@end
|
|
1970
|
+
|
|
1971
|
+
SWIFT_CLASS_NAMED("FBSimulatorKeychainCommands")
|
|
1972
|
+
@interface FBSimulatorKeychainCommands : NSObject <FBiOSTargetCommand>
|
|
1973
|
+
+ (FBSimulatorKeychainCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1974
|
+
- (FBFuture<NSNull *> * _Nonnull)clearKeychain SWIFT_WARN_UNUSED_RESULT;
|
|
1975
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1976
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1977
|
+
@end
|
|
1978
|
+
|
|
1979
|
+
SWIFT_CLASS_NAMED("FBSimulatorLaunchCtlCommands")
|
|
1980
|
+
@interface FBSimulatorLaunchCtlCommands : NSObject <FBiOSTargetCommand>
|
|
1981
|
+
+ (FBSimulatorLaunchCtlCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1982
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcessIdentifier:(pid_t)pid SWIFT_WARN_UNUSED_RESULT;
|
|
1983
|
+
- (FBFuture<NSString *> * _Nonnull)serviceNameForProcess:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
1984
|
+
- (FBFuture<NSDictionary *> * _Nonnull)serviceNamesAndProcessIdentifiersMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
1985
|
+
- (FBFuture<NSArray *> * _Nonnull)firstServiceNameAndProcessIdentifierMatching:(NSRegularExpression * _Nonnull)regex SWIFT_WARN_UNUSED_RESULT;
|
|
1986
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIsRunningOnSimulator:(FBProcessInfo * _Nonnull)process SWIFT_WARN_UNUSED_RESULT;
|
|
1987
|
+
- (FBFuture<NSDictionary *> * _Nonnull)listServices SWIFT_WARN_UNUSED_RESULT;
|
|
1988
|
+
- (FBFuture<NSString *> * _Nonnull)stopServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
1989
|
+
- (FBFuture<NSString *> * _Nonnull)startServiceWithName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
1990
|
+
+ (NSString * _Nullable)extractApplicationBundleIdentifierFromServiceName:(NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
1991
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1992
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1993
|
+
@end
|
|
1994
|
+
|
|
1995
|
+
@protocol FBProcessFileOutput;
|
|
1996
|
+
@class FBProcessFileAttachment;
|
|
1997
|
+
SWIFT_CLASS_NAMED("FBSimulatorLaunchedApplication")
|
|
1998
|
+
@interface FBSimulatorLaunchedApplication : NSObject <FBLaunchedApplication>
|
|
1999
|
+
@property (nonatomic, readonly, strong) FBApplicationLaunchConfiguration * _Nonnull configuration;
|
|
2000
|
+
@property (nonatomic, readonly) pid_t processIdentifier;
|
|
2001
|
+
@property (nonatomic, readonly, strong) FBFuture<NSNull *> * _Nonnull applicationTerminated;
|
|
2002
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull bundleID;
|
|
2003
|
+
@property (nonatomic, readonly, strong) id <FBProcessFileOutput> _Nullable stdOut;
|
|
2004
|
+
@property (nonatomic, readonly, strong) id <FBProcessFileOutput> _Nullable stdErr;
|
|
2005
|
+
+ (FBFuture<FBSimulatorLaunchedApplication *> * _Nonnull)applicationWithSimulator:(FBSimulator * _Nonnull)simulator configuration:(FBApplicationLaunchConfiguration * _Nonnull)configuration attachment:(FBProcessFileAttachment * _Nonnull)attachment launchFuture:(FBFuture<NSNumber *> * _Nonnull)launchFuture SWIFT_WARN_UNUSED_RESULT;
|
|
2006
|
+
+ (FBFuture<NSNull *> * _Nonnull)terminationFutureForSimulator:(FBSimulator * _Nonnull)simulator processIdentifier:(pid_t)processIdentifier SWIFT_WARN_UNUSED_RESULT;
|
|
2007
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
2008
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2009
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2010
|
+
@end
|
|
2011
|
+
|
|
2012
|
+
SWIFT_CLASS_NAMED("FBSimulatorLifecycleCommands")
|
|
2013
|
+
@interface FBSimulatorLifecycleCommands : NSObject <FBiOSTargetCommand>
|
|
2014
|
+
+ (FBSimulatorLifecycleCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2015
|
+
- (FBFuture<NSNull *> * _Nonnull)boot:(FBSimulatorBootConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
2016
|
+
- (FBFuture<NSNull *> * _Nonnull)focus SWIFT_WARN_UNUSED_RESULT;
|
|
2017
|
+
- (FBFuture<NSNull *> * _Nonnull)disconnectWithTimeout:(NSTimeInterval)timeout logger:(id <FBControlCoreLogger> _Nullable)logger SWIFT_WARN_UNUSED_RESULT;
|
|
2018
|
+
- (FBFuture<FBFramebuffer *> * _Nonnull)connectToFramebuffer SWIFT_WARN_UNUSED_RESULT;
|
|
2019
|
+
- (FBFuture<NSNull *> * _Nonnull)open:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
|
|
2020
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2021
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2022
|
+
@end
|
|
2023
|
+
|
|
2024
|
+
SWIFT_CLASS_NAMED("FBSimulatorLocationCommands")
|
|
2025
|
+
@interface FBSimulatorLocationCommands : NSObject <FBiOSTargetCommand>
|
|
2026
|
+
+ (FBSimulatorLocationCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2027
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2028
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2029
|
+
@end
|
|
2030
|
+
|
|
2031
|
+
SWIFT_CLASS_NAMED("FBSimulatorLogCommands")
|
|
2032
|
+
@interface FBSimulatorLogCommands : NSObject <FBiOSTargetCommand>
|
|
2033
|
+
+ (FBSimulatorLogCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2034
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2035
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2036
|
+
@end
|
|
2037
|
+
|
|
2038
|
+
SWIFT_CLASS_NAMED("FBSimulatorMediaCommands")
|
|
2039
|
+
@interface FBSimulatorMediaCommands : NSObject <FBiOSTargetCommand>
|
|
2040
|
+
+ (FBSimulatorMediaCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2041
|
+
- (FBFuture<NSNull *> * _Nonnull)addMedia:(NSArray<NSURL *> * _Nonnull)mediaFileURLs SWIFT_WARN_UNUSED_RESULT;
|
|
2042
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2043
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2044
|
+
@end
|
|
2045
|
+
|
|
2046
|
+
SWIFT_CLASS_NAMED("FBSimulatorMemoryCommands")
|
|
2047
|
+
@interface FBSimulatorMemoryCommands : NSObject <FBiOSTargetCommand>
|
|
2048
|
+
+ (FBSimulatorMemoryCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2049
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2050
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2051
|
+
@end
|
|
2052
|
+
|
|
2053
|
+
SWIFT_CLASS_NAMED("FBSimulatorNotificationCommands")
|
|
2054
|
+
@interface FBSimulatorNotificationCommands : NSObject <FBiOSTargetCommand>
|
|
2055
|
+
+ (FBSimulatorNotificationCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2056
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2057
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2058
|
+
@end
|
|
2059
|
+
|
|
2060
|
+
SWIFT_CLASS_NAMED("FBSimulatorNotificationUpdateStrategy")
|
|
2061
|
+
@interface FBSimulatorNotificationUpdateStrategy : NSObject
|
|
2062
|
+
+ (FBSimulatorNotificationUpdateStrategy * _Nonnull)strategyWithSet:(FBSimulatorSet * _Nonnull)set SWIFT_WARN_UNUSED_RESULT;
|
|
2063
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2064
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2065
|
+
@end
|
|
2066
|
+
|
|
2067
|
+
SWIFT_CLASS_NAMED("FBSimulatorProcessSpawnCommands")
|
|
2068
|
+
@interface FBSimulatorProcessSpawnCommands : NSObject <FBiOSTargetCommand>
|
|
2069
|
+
+ (FBSimulatorProcessSpawnCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2070
|
+
+ (NSDictionary<NSString *, id> * _Nonnull)launchOptionsWithArguments:(NSArray<NSString *> * _Nonnull)arguments environment:(NSDictionary<NSString *, NSString *> * _Nonnull)environment waitForDebugger:(BOOL)waitForDebugger SWIFT_WARN_UNUSED_RESULT;
|
|
2071
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2072
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2073
|
+
@end
|
|
2074
|
+
|
|
2075
|
+
SWIFT_CLASS_NAMED("FBSimulatorReplCommands")
|
|
2076
|
+
@interface FBSimulatorReplCommands : NSObject <FBiOSTargetCommand>
|
|
2077
|
+
+ (FBSimulatorReplCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2078
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2079
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2080
|
+
@end
|
|
2081
|
+
|
|
2082
|
+
SWIFT_CLASS_NAMED("FBSimulatorScreenshotCommands")
|
|
2083
|
+
@interface FBSimulatorScreenshotCommands : NSObject <FBiOSTargetCommand>
|
|
2084
|
+
+ (FBSimulatorScreenshotCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2085
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2086
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2087
|
+
@end
|
|
2088
|
+
|
|
2089
|
+
@class SimDeviceSet;
|
|
2090
|
+
SWIFT_CLASS_NAMED("FBSimulatorServiceContext")
|
|
2091
|
+
@interface FBSimulatorServiceContext : NSObject
|
|
2092
|
+
+ (FBSimulatorServiceContext * _Nullable)sharedServiceContextAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
2093
|
+
+ (FBSimulatorServiceContext * _Nullable)sharedServiceContextWithLogger:(id <FBControlCoreLogger> _Nullable)logger error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
2094
|
+
- (NSArray<NSString *> * _Nonnull)pathsOfAllDeviceSets SWIFT_WARN_UNUSED_RESULT;
|
|
2095
|
+
- (NSArray<SimRuntime *> * _Nonnull)supportedRuntimes SWIFT_WARN_UNUSED_RESULT;
|
|
2096
|
+
- (NSArray<SimDeviceType *> * _Nonnull)supportedDeviceTypes SWIFT_WARN_UNUSED_RESULT;
|
|
2097
|
+
- (SimDeviceSet * _Nullable)createDeviceSetWithConfiguration:(FBSimulatorControlConfiguration * _Nonnull)configuration error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
2098
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2099
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2100
|
+
@end
|
|
2101
|
+
|
|
2102
|
+
@protocol FBiOSTargetSetDelegate;
|
|
2103
|
+
@protocol FBiOSTargetInfo;
|
|
2104
|
+
SWIFT_CLASS_NAMED("FBSimulatorSet")
|
|
2105
|
+
@interface FBSimulatorSet : NSObject <FBiOSTargetSet>
|
|
2106
|
+
@property (nonatomic, readonly, strong) FBSimulatorControlConfiguration * _Nonnull configuration;
|
|
2107
|
+
@property (nonatomic, readonly, strong) SimDeviceSet * _Nonnull deviceSet;
|
|
2108
|
+
@property (nonatomic, weak) id <FBiOSTargetSetDelegate> _Nullable delegate;
|
|
2109
|
+
@property (nonatomic, readonly, strong) id <FBControlCoreLogger> _Nullable logger;
|
|
2110
|
+
@property (nonatomic, readonly, strong) id <FBEventReporter> _Nullable reporter;
|
|
2111
|
+
@property (nonatomic, readonly, strong) dispatch_queue_t _Nonnull workQueue;
|
|
2112
|
+
@property (nonatomic, readonly, strong) dispatch_queue_t _Nonnull asyncQueue;
|
|
2113
|
+
+ (FBSimulatorSet * _Nonnull)setWithConfiguration:(FBSimulatorControlConfiguration * _Nonnull)configuration deviceSet:(SimDeviceSet * _Nonnull)deviceSet delegate:(id <FBiOSTargetSetDelegate> _Nullable)delegate logger:(id <FBControlCoreLogger> _Nullable)logger reporter:(id <FBEventReporter> _Nullable)reporter SWIFT_WARN_UNUSED_RESULT;
|
|
2114
|
+
- (id <FBiOSTargetInfo> _Nullable)targetWithUDID:(NSString * _Nonnull)udid SWIFT_WARN_UNUSED_RESULT;
|
|
2115
|
+
- (FBSimulator * _Nullable)simulatorWithUDID:(NSString * _Nonnull)udid SWIFT_WARN_UNUSED_RESULT;
|
|
2116
|
+
- (FBFuture<FBSimulator *> * _Nonnull)createSimulatorWithConfiguration:(FBSimulatorConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
2117
|
+
- (FBFuture<FBSimulator *> * _Nonnull)cloneSimulator:(FBSimulator * _Nonnull)simulator toDeviceSet:(FBSimulatorSet * _Nonnull)destinationSet SWIFT_WARN_UNUSED_RESULT;
|
|
2118
|
+
- (NSArray<FBSimulatorConfiguration *> * _Nullable)configurationsForAbsentDefaultSimulatorsAndReturnError:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
2119
|
+
- (FBFuture<NSNull *> * _Nonnull)shutdown:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
2120
|
+
- (FBFuture<NSNull *> * _Nonnull)delete:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
2121
|
+
- (FBFuture<NSNull *> * _Nonnull)shutdownAll:(NSArray<FBSimulator *> * _Nonnull)simulators SWIFT_WARN_UNUSED_RESULT;
|
|
2122
|
+
- (FBFuture<NSNull *> * _Nonnull)deleteAll:(NSArray<FBSimulator *> * _Nonnull)simulators SWIFT_WARN_UNUSED_RESULT;
|
|
2123
|
+
- (FBFuture<NSNull *> * _Nonnull)shutdownAll SWIFT_WARN_UNUSED_RESULT;
|
|
2124
|
+
- (FBFuture<NSNull *> * _Nonnull)deleteAll SWIFT_WARN_UNUSED_RESULT;
|
|
2125
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
2126
|
+
@property (nonatomic, readonly, copy) NSArray<id <FBiOSTargetInfo>> * _Nonnull allTargetInfos;
|
|
2127
|
+
@property (nonatomic, readonly, copy) NSArray<FBSimulator *> * _Nonnull allSimulators;
|
|
2128
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2129
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2130
|
+
@end
|
|
2131
|
+
|
|
2132
|
+
/// An enumeration of simulator settings that can be toggled on/off.
|
|
2133
|
+
/// Each value maps to a different underlying transport (SimDevice API, Darwin notification, etc.)
|
|
2134
|
+
/// but the public API is uniform: setSetting:enabled:.
|
|
2135
|
+
typedef SWIFT_ENUM(NSUInteger, FBSimulatorSetting, open) {
|
|
2136
|
+
FBSimulatorSettingHardwareKeyboard = 0,
|
|
2137
|
+
FBSimulatorSettingSlowAnimations = 1,
|
|
2138
|
+
FBSimulatorSettingIncreaseContrast = 2,
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
SWIFT_CLASS_NAMED("FBSimulatorSettingsCommands")
|
|
2142
|
+
@interface FBSimulatorSettingsCommands : NSObject <FBiOSTargetCommand>
|
|
2143
|
+
+ (FBSimulatorSettingsCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2144
|
+
- (FBFuture<NSNull *> * _Nonnull)setSetting:(enum FBSimulatorSetting)setting enabled:(BOOL)enabled SWIFT_WARN_UNUSED_RESULT;
|
|
2145
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentAppearance SWIFT_WARN_UNUSED_RESULT;
|
|
2146
|
+
- (FBFuture<NSNull *> * _Nonnull)setAppearance:(enum FBSimulatorAppearance)appearance SWIFT_WARN_UNUSED_RESULT;
|
|
2147
|
+
- (FBFuture<NSNumber *> * _Nonnull)currentContentSizeCategory SWIFT_WARN_UNUSED_RESULT;
|
|
2148
|
+
- (FBFuture<NSNull *> * _Nonnull)setContentSizeCategory:(enum FBSimulatorContentSizeCategory)category SWIFT_WARN_UNUSED_RESULT;
|
|
2149
|
+
- (FBFuture<FBStatusBarOverride *> * _Nonnull)currentStatusBarOverrides SWIFT_WARN_UNUSED_RESULT;
|
|
2150
|
+
- (FBFuture<NSNull *> * _Nonnull)overrideStatusBar:(FBStatusBarOverride * _Nullable)override SWIFT_WARN_UNUSED_RESULT;
|
|
2151
|
+
- (FBFuture<NSNull *> * _Nonnull)setPreference:(NSString * _Nonnull)name value:(NSString * _Nonnull)value type:(NSString * _Nullable)type domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
2152
|
+
- (FBFuture<NSString *> * _Nonnull)getCurrentPreference:(NSString * _Nonnull)name domain:(NSString * _Nullable)domain SWIFT_WARN_UNUSED_RESULT;
|
|
2153
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
2154
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toServices:(NSSet<FBTargetSettingsService> * _Nonnull)services SWIFT_WARN_UNUSED_RESULT;
|
|
2155
|
+
- (FBFuture<NSNull *> * _Nonnull)grantAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
2156
|
+
- (FBFuture<NSNull *> * _Nonnull)revokeAccess:(NSSet<NSString *> * _Nonnull)bundleIDs toDeeplink:(NSString * _Nonnull)scheme SWIFT_WARN_UNUSED_RESULT;
|
|
2157
|
+
- (FBFuture<NSNull *> * _Nonnull)updateContacts:(NSString * _Nonnull)databaseDirectory SWIFT_WARN_UNUSED_RESULT;
|
|
2158
|
+
- (FBFuture<NSNull *> * _Nonnull)clearContacts SWIFT_WARN_UNUSED_RESULT;
|
|
2159
|
+
- (FBFuture<NSNull *> * _Nonnull)clearPhotos SWIFT_WARN_UNUSED_RESULT;
|
|
2160
|
+
- (FBFuture<NSNull *> * _Nonnull)setProxyWithHost:(NSString * _Nonnull)host port:(NSUInteger)port type:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
|
|
2161
|
+
- (FBFuture<NSNull *> * _Nonnull)clearProxy SWIFT_WARN_UNUSED_RESULT;
|
|
2162
|
+
- (FBFuture<NSString *> * _Nonnull)listProxy SWIFT_WARN_UNUSED_RESULT;
|
|
2163
|
+
- (FBFuture<NSNull *> * _Nonnull)setDnsServers:(NSArray<NSString *> * _Nonnull)servers SWIFT_WARN_UNUSED_RESULT;
|
|
2164
|
+
- (FBFuture<NSNull *> * _Nonnull)clearDns SWIFT_WARN_UNUSED_RESULT;
|
|
2165
|
+
- (FBFuture<NSString *> * _Nonnull)listDns SWIFT_WARN_UNUSED_RESULT;
|
|
2166
|
+
- (FBFuture<NSNull *> * _Nonnull)setHealthAuthorization:(BOOL)approved forBundleID:(NSString * _Nonnull)bundleID typeIdentifiers:(NSArray<NSString *> * _Nonnull)typeIdentifiers SWIFT_WARN_UNUSED_RESULT;
|
|
2167
|
+
- (FBFuture<NSNull *> * _Nonnull)clearHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
2168
|
+
- (FBFuture<NSString *> * _Nonnull)listHealthAuthorizationForBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
2169
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2170
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2171
|
+
@end
|
|
2172
|
+
|
|
2173
|
+
SWIFT_CLASS_NAMED("FBSimulatorShutdownStrategy")
|
|
2174
|
+
@interface FBSimulatorShutdownStrategy : NSObject
|
|
2175
|
+
+ (FBFuture<NSNull *> * _Nonnull)shutdown:(FBSimulator * _Nonnull)simulator SWIFT_WARN_UNUSED_RESULT;
|
|
2176
|
+
+ (FBFuture<NSNull *> * _Nonnull)shutdownAll:(NSArray<FBSimulator *> * _Nonnull)simulators SWIFT_WARN_UNUSED_RESULT;
|
|
2177
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2178
|
+
@end
|
|
2179
|
+
|
|
2180
|
+
SWIFT_CLASS_NAMED("FBSimulatorVideo")
|
|
2181
|
+
@interface FBSimulatorVideo : NSObject <FBiOSTargetOperation>
|
|
2182
|
+
+ (FBSimulatorVideo * _Nonnull)videoWithSimctlExecutor:(FBAppleSimctlCommandExecutor * _Nonnull)simctlExecutor filePath:(NSString * _Nonnull)filePath logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
2183
|
+
- (FBFuture<NSNull *> * _Nonnull)startRecording SWIFT_WARN_UNUSED_RESULT;
|
|
2184
|
+
- (FBFuture<NSNull *> * _Nonnull)stopRecording SWIFT_WARN_UNUSED_RESULT;
|
|
2185
|
+
@property (nonatomic, readonly, strong) FBFuture<NSNull *> * _Nonnull completed;
|
|
2186
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2187
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2188
|
+
@end
|
|
2189
|
+
|
|
2190
|
+
SWIFT_CLASS_NAMED("FBSimulatorVideoRecordingCommands")
|
|
2191
|
+
@interface FBSimulatorVideoRecordingCommands : NSObject <FBiOSTargetCommand>
|
|
2192
|
+
+ (FBSimulatorVideoRecordingCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2193
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2194
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2195
|
+
@end
|
|
2196
|
+
|
|
2197
|
+
@class NSError;
|
|
2198
|
+
SWIFT_PROTOCOL("_TtP18FBSimulatorControl33FBSimulatorVideoStreamFramePusher_")
|
|
2199
|
+
@protocol FBSimulatorVideoStreamFramePusher <NSObject>
|
|
2200
|
+
- (BOOL)setupWithPixelBuffer:(CVPixelBufferRef _Nonnull)pixelBuffer edgeInsets:(FBVideoStreamEdgeInsets)edgeInsets error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
2201
|
+
- (BOOL)tearDown:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
2202
|
+
- (BOOL)writeEncodedFrame:(CVPixelBufferRef _Nonnull)pixelBuffer frameNumber:(NSUInteger)frameNumber timeAtFirstFrame:(CFTimeInterval)timeAtFirstFrame frameDuration:(CFTimeInterval)frameDuration forceKeyFrame:(BOOL)forceKeyFrame error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
2203
|
+
@optional
|
|
2204
|
+
- (FBVideoEncoderStats)currentStats SWIFT_WARN_UNUSED_RESULT;
|
|
2205
|
+
@end
|
|
2206
|
+
|
|
2207
|
+
SWIFT_CLASS_NAMED("FBSimulatorXCTestCommands")
|
|
2208
|
+
@interface FBSimulatorXCTestCommands : NSObject <FBiOSTargetCommand>
|
|
2209
|
+
+ (FBSimulatorXCTestCommands * _Nonnull)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
2210
|
+
- (FBFuture<NSNull *> * _Nonnull)runTestWithLaunchConfiguration:(FBTestLaunchConfiguration * _Nonnull)testLaunchConfiguration reporter:(id _Nonnull)reporter logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
2211
|
+
- (FBFutureContext<NSNumber *> * _Nonnull)transportForTestManagerService SWIFT_WARN_UNUSED_RESULT;
|
|
2212
|
+
- (FBFuture<NSArray *> * _Nonnull)listTestsForBundleAtPath:(NSString * _Nonnull)bundlePath timeout:(NSTimeInterval)timeout withAppAtPath:(NSString * _Nullable)appPath SWIFT_WARN_UNUSED_RESULT;
|
|
2213
|
+
- (FBFuture<NSString *> * _Nonnull)extendedTestShim SWIFT_WARN_UNUSED_RESULT;
|
|
2214
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull xctestPath;
|
|
2215
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2216
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2217
|
+
@end
|
|
2218
|
+
|
|
2219
|
+
/// Represents a set of status bar overrides for deterministic screenshots.
|
|
2220
|
+
/// Non-nil NSNumber properties are applied as overrides; nil properties are left unchanged.
|
|
2221
|
+
/// All SimDevice status bar methods use raw NSInteger parameters (same as appearance/content size).
|
|
2222
|
+
SWIFT_CLASS_NAMED("FBStatusBarOverride")
|
|
2223
|
+
@interface FBStatusBarOverride : NSObject
|
|
2224
|
+
/// Display time string, e.g. “9:41”.
|
|
2225
|
+
@property (nonatomic, copy) NSString * _Nullable timeString;
|
|
2226
|
+
/// Data network type.
|
|
2227
|
+
@property (nonatomic, strong) NSNumber * _Nullable dataNetworkType;
|
|
2228
|
+
/// WiFi mode: 1=searching, 2=failed, 3=active.
|
|
2229
|
+
@property (nonatomic, strong) NSNumber * _Nullable wiFiMode;
|
|
2230
|
+
/// WiFi signal bars (0-3).
|
|
2231
|
+
@property (nonatomic, strong) NSNumber * _Nullable wiFiBars;
|
|
2232
|
+
/// Cellular mode: 0=notSupported, 1=searching, 2=failed, 3=active.
|
|
2233
|
+
@property (nonatomic, strong) NSNumber * _Nullable cellularMode;
|
|
2234
|
+
/// Cellular signal bars (0-4).
|
|
2235
|
+
@property (nonatomic, strong) NSNumber * _Nullable cellularBars;
|
|
2236
|
+
/// Cellular operator name.
|
|
2237
|
+
@property (nonatomic, copy) NSString * _Nullable operatorName;
|
|
2238
|
+
/// Battery state.
|
|
2239
|
+
@property (nonatomic, strong) NSNumber * _Nullable batteryState;
|
|
2240
|
+
/// Battery level (0-100).
|
|
2241
|
+
@property (nonatomic, strong) NSNumber * _Nullable batteryLevel;
|
|
2242
|
+
/// Whether to show “not charging” indicator.
|
|
2243
|
+
@property (nonatomic, strong) NSNumber * _Nullable showNotCharging;
|
|
2244
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2245
|
+
@end
|
|
2246
|
+
|
|
2247
|
+
@class NSDecimalNumber;
|
|
2248
|
+
SWIFT_CLASS_NAMED("FBSurfaceImageGenerator")
|
|
2249
|
+
@interface FBSurfaceImageGenerator : NSObject <FBFramebufferConsumer>
|
|
2250
|
+
- (nonnull instancetype)imageGeneratorWithScale:(NSDecimalNumber * _Nonnull)scale purpose:(NSString * _Nonnull)purpose logger:(id <FBControlCoreLogger> _Nullable)logger SWIFT_METHOD_FAMILY(init);
|
|
2251
|
+
- (CGImageRef _Nullable)availableImage SWIFT_WARN_UNUSED_RESULT;
|
|
2252
|
+
- (CGImageRef _Nullable)image SWIFT_WARN_UNUSED_RESULT;
|
|
2253
|
+
- (void)didChangeIOSurface:(IOSurface * _Nullable)surface;
|
|
2254
|
+
- (void)didReceiveDamageRect;
|
|
2255
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2256
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2257
|
+
@end
|
|
2258
|
+
|
|
2259
|
+
#endif // defined(__OBJC__)
|
|
2260
|
+
#if __has_attribute(external_source_symbol)
|
|
2261
|
+
# pragma clang attribute pop
|
|
2262
|
+
#endif
|
|
2263
|
+
#if defined(__cplusplus)
|
|
2264
|
+
#endif
|
|
2265
|
+
#pragma clang diagnostic pop
|
|
2266
|
+
#endif
|
|
2267
|
+
|
|
2268
|
+
#else
|
|
2269
|
+
#error unsupported Swift architecture
|
|
2270
|
+
#endif
|