simtap 0.0.0-stage → 0.6.1
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 +192 -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
package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceControl-Swift.h
ADDED
|
@@ -0,0 +1,1500 @@
|
|
|
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 FBDEVICECONTROL_SWIFT_H
|
|
5
|
+
#define FBDEVICECONTROL_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="FBDeviceControl",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 AVFoundation;
|
|
350
|
+
@import CoreMedia;
|
|
351
|
+
@import Darwin;
|
|
352
|
+
@import Dispatch;
|
|
353
|
+
@import FBControlCore;
|
|
354
|
+
@import Foundation;
|
|
355
|
+
@import ObjectiveC;
|
|
356
|
+
@import _DarwinFoundation2.netinet_in.in_port_t;
|
|
357
|
+
#endif
|
|
358
|
+
|
|
359
|
+
#import <FBDeviceControl/FBDeviceControl.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="FBDeviceControl",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 FBAMDevice;
|
|
382
|
+
@class NSNumber;
|
|
383
|
+
@class NSString;
|
|
384
|
+
@class FBAFCConnection;
|
|
385
|
+
SWIFT_CLASS_NAMED("FBAMDeviceServiceManager")
|
|
386
|
+
@interface FBAMDeviceServiceManager : NSObject
|
|
387
|
+
+ (FBAMDeviceServiceManager * _Nonnull)managerWithAMDevice:(FBAMDevice * _Nonnull)device serviceTimeout:(NSNumber * _Nullable)serviceTimeout SWIFT_WARN_UNUSED_RESULT;
|
|
388
|
+
- (FBFutureContextManager<FBAFCConnection *> * _Nonnull)houseArrestAFCConnectionForBundleID:(NSString * _Nonnull)bundleID afcCalls:(AFCCalls)afcCalls SWIFT_WARN_UNUSED_RESULT;
|
|
389
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
390
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
391
|
+
@end
|
|
392
|
+
|
|
393
|
+
@class FBDevice;
|
|
394
|
+
@class NSNull;
|
|
395
|
+
SWIFT_CLASS("_TtC15FBDeviceControl31FBAppleDevicectlCommandExecutor")
|
|
396
|
+
@interface FBAppleDevicectlCommandExecutor : NSObject
|
|
397
|
+
- (nonnull instancetype)initWithDevice:(FBDevice * _Nonnull)device OBJC_DESIGNATED_INITIALIZER;
|
|
398
|
+
- (FBProcessBuilder<NSNull *, NSString *, NSString *> * _Nonnull)taskBuilderWithArguments:(NSArray<NSString *> * _Nonnull)arguments SWIFT_WARN_UNUSED_RESULT;
|
|
399
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
400
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
401
|
+
@end
|
|
402
|
+
|
|
403
|
+
@class FBApplicationLaunchConfiguration;
|
|
404
|
+
@interface FBAppleDevicectlCommandExecutor (SWIFT_EXTENSION(FBDeviceControl))
|
|
405
|
+
- (FBFuture<NSNumber *> * _Nonnull)launchApplicationWithConfiguration:(FBApplicationLaunchConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
406
|
+
@end
|
|
407
|
+
|
|
408
|
+
@class NSPredicate;
|
|
409
|
+
@class FBCrashLogInfo;
|
|
410
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl)) <FBCrashLogCommands>
|
|
411
|
+
- (FBFuture<FBCrashLogInfo *> * _Nonnull)notifyOfCrash:(NSPredicate * _Nonnull)predicate SWIFT_WARN_UNUSED_RESULT;
|
|
412
|
+
@end
|
|
413
|
+
|
|
414
|
+
SWIFT_PROTOCOL("_TtP15FBDeviceControl34FBDeviceActivationCommandsProtocol_")
|
|
415
|
+
@protocol FBDeviceActivationCommandsProtocol <NSObject>
|
|
416
|
+
- (FBFuture<NSNull *> * _Nonnull)activate SWIFT_WARN_UNUSED_RESULT;
|
|
417
|
+
@end
|
|
418
|
+
|
|
419
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl)) <FBDeviceActivationCommandsProtocol>
|
|
420
|
+
- (FBFuture<NSNull *> * _Nonnull)activate SWIFT_WARN_UNUSED_RESULT;
|
|
421
|
+
@end
|
|
422
|
+
|
|
423
|
+
SWIFT_PROTOCOL("_TtP15FBDeviceControl32FBDeviceRecoveryCommandsProtocol_")
|
|
424
|
+
@protocol FBDeviceRecoveryCommandsProtocol <NSObject>
|
|
425
|
+
- (FBFuture<NSNull *> * _Nonnull)enterRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
426
|
+
- (FBFuture<NSNull *> * _Nonnull)exitRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
427
|
+
@end
|
|
428
|
+
|
|
429
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl)) <FBDeviceRecoveryCommandsProtocol>
|
|
430
|
+
- (FBFuture<NSNull *> * _Nonnull)enterRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
431
|
+
- (FBFuture<NSNull *> * _Nonnull)exitRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
432
|
+
@end
|
|
433
|
+
|
|
434
|
+
SWIFT_PROTOCOL("_TtP15FBDeviceControl36FBDeviceDebugSymbolsCommandsProtocol_")
|
|
435
|
+
@protocol FBDeviceDebugSymbolsCommandsProtocol <NSObject>
|
|
436
|
+
- (FBFuture<NSArray *> * _Nonnull)listSymbols SWIFT_WARN_UNUSED_RESULT;
|
|
437
|
+
- (FBFuture<NSString *> * _Nonnull)pullSymbolFile:(NSString * _Nonnull)fileName toDestinationPath:(NSString * _Nonnull)destinationPath SWIFT_WARN_UNUSED_RESULT;
|
|
438
|
+
- (FBFuture<NSString *> * _Nonnull)pullAndExtractSymbolsToDestinationDirectory:(NSString * _Nonnull)destinationDirectory SWIFT_WARN_UNUSED_RESULT;
|
|
439
|
+
@end
|
|
440
|
+
|
|
441
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl)) <FBDeviceDebugSymbolsCommandsProtocol>
|
|
442
|
+
- (FBFuture<NSArray *> * _Nonnull)listSymbols SWIFT_WARN_UNUSED_RESULT;
|
|
443
|
+
- (FBFuture<NSString *> * _Nonnull)pullSymbolFile:(NSString * _Nonnull)fileName toDestinationPath:(NSString * _Nonnull)destinationPath SWIFT_WARN_UNUSED_RESULT;
|
|
444
|
+
- (FBFuture<NSString *> * _Nonnull)pullAndExtractSymbolsToDestinationDirectory:(NSString * _Nonnull)destinationDirectory SWIFT_WARN_UNUSED_RESULT;
|
|
445
|
+
@end
|
|
446
|
+
|
|
447
|
+
@class FBDeveloperDiskImage;
|
|
448
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl))
|
|
449
|
+
- (FBFuture<FBDeveloperDiskImage *> * _Nonnull)ensureDeveloperDiskImageIsMounted SWIFT_WARN_UNUSED_RESULT;
|
|
450
|
+
@end
|
|
451
|
+
|
|
452
|
+
@class FBInstalledApplication;
|
|
453
|
+
@protocol FBLaunchedApplication;
|
|
454
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl)) <FBApplicationCommands>
|
|
455
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installApplicationWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
456
|
+
- (FBFuture<NSNull *> * _Nonnull)uninstallApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
457
|
+
- (FBFuture<id <FBLaunchedApplication>> * _Nonnull)launchApplication:(FBApplicationLaunchConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
458
|
+
- (FBFuture<NSNull *> * _Nonnull)killApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
459
|
+
- (FBFuture<NSArray *> * _Nonnull)installedApplications SWIFT_WARN_UNUSED_RESULT;
|
|
460
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
461
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIDWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
462
|
+
@end
|
|
463
|
+
|
|
464
|
+
@protocol FBiOSTarget;
|
|
465
|
+
SWIFT_CLASS_NAMED("FBDeviceActivationCommands")
|
|
466
|
+
@interface FBDeviceActivationCommands : NSObject <FBiOSTargetCommand>
|
|
467
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
468
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
469
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
470
|
+
@end
|
|
471
|
+
|
|
472
|
+
SWIFT_CLASS_NAMED("FBDeviceApplicationCommands")
|
|
473
|
+
@interface FBDeviceApplicationCommands : NSObject <FBiOSTargetCommand>
|
|
474
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
475
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installApplicationWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
476
|
+
- (FBFuture<NSNull *> * _Nonnull)uninstallApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
477
|
+
- (FBFuture<NSArray *> * _Nonnull)installedApplications SWIFT_WARN_UNUSED_RESULT;
|
|
478
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
479
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIDWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
480
|
+
- (FBFuture<NSNull *> * _Nonnull)killApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
481
|
+
- (FBFuture<id <FBLaunchedApplication>> * _Nonnull)launchApplication:(FBApplicationLaunchConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
482
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
483
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
484
|
+
@end
|
|
485
|
+
|
|
486
|
+
SWIFT_RESILIENT_CLASS_NAMED("FBDeviceControlError")
|
|
487
|
+
@interface FBDeviceControlError : FBControlCoreError
|
|
488
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
489
|
+
@end
|
|
490
|
+
|
|
491
|
+
SWIFT_CLASS_NAMED("FBDeviceCrashLogCommands")
|
|
492
|
+
@interface FBDeviceCrashLogCommands : NSObject <FBiOSTargetCommand>
|
|
493
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
494
|
+
- (FBFuture<FBCrashLogInfo *> * _Nonnull)notifyOfCrash:(NSPredicate * _Nonnull)predicate SWIFT_WARN_UNUSED_RESULT;
|
|
495
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
496
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
497
|
+
@end
|
|
498
|
+
|
|
499
|
+
@class FBAMDServiceConnection;
|
|
500
|
+
@protocol FBControlCoreLogger;
|
|
501
|
+
@class FBSocketServer;
|
|
502
|
+
SWIFT_CLASS_NAMED("FBDeviceDebugServer")
|
|
503
|
+
@interface FBDeviceDebugServer : NSObject <FBDebugServer, FBSocketServerDelegate>
|
|
504
|
+
@property (nonatomic, readonly, copy) NSArray<NSString *> * _Nonnull lldbBootstrapCommands;
|
|
505
|
+
@property (nonatomic, readonly, strong) dispatch_queue_t _Nonnull queue;
|
|
506
|
+
/// Factory method: creates and starts a debug server from a future-wrapped service connection.
|
|
507
|
+
+ (FBFuture<id> * _Nonnull)debugServerForServiceConnection:(FBFutureContext<FBAMDServiceConnection *> * _Nonnull)service port:(in_port_t)port lldbBootstrapCommands:(NSArray<NSString *> * _Nonnull)lldbBootstrapCommands queue:(dispatch_queue_t _Nonnull)queue logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
508
|
+
- (void)socketServer:(FBSocketServer * _Nonnull)server clientConnected:(struct in6_addr)address fileDescriptor:(int32_t)fileDescriptor;
|
|
509
|
+
@property (nonatomic, readonly, strong) FBFuture<NSNull *> * _Nonnull completed;
|
|
510
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
511
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
512
|
+
@end
|
|
513
|
+
|
|
514
|
+
SWIFT_CLASS_NAMED("FBDeviceDebuggerCommands")
|
|
515
|
+
@interface FBDeviceDebuggerCommands : NSObject <FBiOSTargetCommand>
|
|
516
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
517
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
518
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
519
|
+
@end
|
|
520
|
+
|
|
521
|
+
SWIFT_CLASS_NAMED("FBDeviceDeveloperDiskImageCommands")
|
|
522
|
+
@interface FBDeviceDeveloperDiskImageCommands : NSObject <FBiOSTargetCommand>
|
|
523
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
524
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
525
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
526
|
+
@end
|
|
527
|
+
|
|
528
|
+
SWIFT_CLASS_NAMED("FBDeviceDiagnosticInformationCommands")
|
|
529
|
+
@interface FBDeviceDiagnosticInformationCommands : NSObject <FBiOSTargetCommand>
|
|
530
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
531
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
532
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
533
|
+
@end
|
|
534
|
+
|
|
535
|
+
SWIFT_CLASS_NAMED("FBDeviceEraseCommands")
|
|
536
|
+
@interface FBDeviceEraseCommands : NSObject <FBiOSTargetCommand>
|
|
537
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
538
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
539
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
540
|
+
@end
|
|
541
|
+
|
|
542
|
+
SWIFT_CLASS_NAMED("FBDeviceFileCommands")
|
|
543
|
+
@interface FBDeviceFileCommands : NSObject <FBiOSTargetCommand>
|
|
544
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
545
|
+
+ (nonnull instancetype)commandsWith:(id <FBiOSTarget> _Nonnull)target afcCalls:(AFCCalls)afcCalls SWIFT_WARN_UNUSED_RESULT;
|
|
546
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
547
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
548
|
+
@end
|
|
549
|
+
|
|
550
|
+
SWIFT_CLASS_NAMED("FBDeviceFileContainer")
|
|
551
|
+
@interface FBDeviceFileContainer : NSObject
|
|
552
|
+
- (nonnull instancetype)initWithAfcConnection:(FBAFCConnection * _Nonnull)connection queue:(dispatch_queue_t _Nonnull)queue OBJC_DESIGNATED_INITIALIZER;
|
|
553
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
554
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
555
|
+
@end
|
|
556
|
+
|
|
557
|
+
SWIFT_CLASS_NAMED("FBDeviceLifecycleCommands")
|
|
558
|
+
@interface FBDeviceLifecycleCommands : NSObject <FBiOSTargetCommand>
|
|
559
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
560
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
561
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
562
|
+
@end
|
|
563
|
+
|
|
564
|
+
SWIFT_CLASS_NAMED("FBDeviceLinkClient")
|
|
565
|
+
@interface FBDeviceLinkClient : NSObject
|
|
566
|
+
+ (FBFuture<FBDeviceLinkClient *> * _Nonnull)deviceLinkClientWithConnection:(FBAMDServiceConnection * _Nonnull)connection SWIFT_WARN_UNUSED_RESULT;
|
|
567
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
568
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
569
|
+
@end
|
|
570
|
+
|
|
571
|
+
SWIFT_CLASS_NAMED("FBDeviceLocationCommands")
|
|
572
|
+
@interface FBDeviceLocationCommands : NSObject <FBiOSTargetCommand>
|
|
573
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
574
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
575
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
576
|
+
@end
|
|
577
|
+
|
|
578
|
+
SWIFT_CLASS_NAMED("FBDeviceLogCommands")
|
|
579
|
+
@interface FBDeviceLogCommands : NSObject <FBiOSTargetCommand>
|
|
580
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
581
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
582
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
583
|
+
@end
|
|
584
|
+
|
|
585
|
+
SWIFT_CLASS_NAMED("FBDeviceLogOperation")
|
|
586
|
+
@interface FBDeviceLogOperation : NSObject
|
|
587
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
588
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
589
|
+
@end
|
|
590
|
+
|
|
591
|
+
SWIFT_CLASS_NAMED("FBDevicePowerCommands")
|
|
592
|
+
@interface FBDevicePowerCommands : NSObject <FBiOSTargetCommand>
|
|
593
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
594
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
595
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
596
|
+
@end
|
|
597
|
+
|
|
598
|
+
SWIFT_CLASS_NAMED("FBDeviceProvisioningProfileCommands")
|
|
599
|
+
@interface FBDeviceProvisioningProfileCommands : NSObject <FBiOSTargetCommand>
|
|
600
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
601
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
602
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
603
|
+
@end
|
|
604
|
+
|
|
605
|
+
SWIFT_CLASS_NAMED("FBDeviceRecoveryCommands")
|
|
606
|
+
@interface FBDeviceRecoveryCommands : NSObject <FBiOSTargetCommand>
|
|
607
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
608
|
+
- (FBFuture<NSNull *> * _Nonnull)enterRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
609
|
+
- (FBFuture<NSNull *> * _Nonnull)exitRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
610
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
611
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
612
|
+
@end
|
|
613
|
+
|
|
614
|
+
SWIFT_CLASS_NAMED("FBDeviceScreenshotCommands")
|
|
615
|
+
@interface FBDeviceScreenshotCommands : NSObject <FBiOSTargetCommand>
|
|
616
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
617
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
618
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
619
|
+
@end
|
|
620
|
+
|
|
621
|
+
@protocol FBiOSTargetInfo;
|
|
622
|
+
SWIFT_CLASS_NAMED("FBDeviceSet")
|
|
623
|
+
@interface FBDeviceSet : NSObject <FBiOSTargetSet, FBiOSTargetSetDelegate>
|
|
624
|
+
@property (nonatomic, readonly, strong) id <FBControlCoreLogger> _Nonnull logger;
|
|
625
|
+
@property (nonatomic, weak) id <FBiOSTargetSetDelegate> _Nullable delegate;
|
|
626
|
+
- (nullable instancetype)setWithLogger:(id <FBControlCoreLogger> _Nonnull)logger delegate:(id <FBiOSTargetSetDelegate> _Nullable)delegate ecidFilter:(NSString * _Nullable)ecidFilter error:(NSError * _Nullable * _Nullable)error SWIFT_METHOD_FAMILY(init);
|
|
627
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
628
|
+
- (id <FBiOSTargetInfo> _Nullable)targetWithUDID:(NSString * _Nonnull)udid SWIFT_WARN_UNUSED_RESULT;
|
|
629
|
+
- (FBDevice * _Nullable)deviceWithUDID:(NSString * _Nonnull)udid SWIFT_WARN_UNUSED_RESULT;
|
|
630
|
+
@property (nonatomic, readonly, copy) NSArray<id <FBiOSTargetInfo>> * _Nonnull allTargetInfos;
|
|
631
|
+
@property (nonatomic, readonly, copy) NSArray<FBDevice *> * _Nonnull allDevices;
|
|
632
|
+
- (void)targetAdded:(id <FBiOSTargetInfo> _Nonnull)targetInfo inTargetSet:(id <FBiOSTargetSet> _Nonnull)targetSet;
|
|
633
|
+
- (void)targetRemoved:(id <FBiOSTargetInfo> _Nonnull)targetInfo inTargetSet:(id <FBiOSTargetSet> _Nonnull)targetSet;
|
|
634
|
+
- (void)targetUpdated:(id <FBiOSTargetInfo> _Nonnull)targetInfo inTargetSet:(id <FBiOSTargetSet> _Nonnull)targetSet;
|
|
635
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
636
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
637
|
+
@end
|
|
638
|
+
|
|
639
|
+
SWIFT_CLASS_NAMED("FBDeviceSocketForwardingCommands")
|
|
640
|
+
@interface FBDeviceSocketForwardingCommands : NSObject <FBiOSTargetCommand>
|
|
641
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
642
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
643
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
644
|
+
@end
|
|
645
|
+
|
|
646
|
+
@class AVCaptureSession;
|
|
647
|
+
SWIFT_CLASS_NAMED("FBDeviceVideo")
|
|
648
|
+
@interface FBDeviceVideo : NSObject <FBiOSTargetOperation>
|
|
649
|
+
+ (FBFuture<AVCaptureSession *> * _Nonnull)captureSessionForDevice:(FBDevice * _Nonnull)device SWIFT_WARN_UNUSED_RESULT;
|
|
650
|
+
+ (FBFuture<FBDeviceVideo *> * _Nonnull)videoForDevice:(FBDevice * _Nonnull)device filePath:(NSString * _Nonnull)filePath SWIFT_WARN_UNUSED_RESULT;
|
|
651
|
+
- (FBFuture<NSNull *> * _Nonnull)startRecording SWIFT_WARN_UNUSED_RESULT;
|
|
652
|
+
- (FBFuture<NSNull *> * _Nonnull)stopRecording SWIFT_WARN_UNUSED_RESULT;
|
|
653
|
+
@property (nonatomic, readonly, strong) FBFuture<NSNull *> * _Nonnull completed;
|
|
654
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
655
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
656
|
+
@end
|
|
657
|
+
|
|
658
|
+
SWIFT_CLASS_NAMED("FBDeviceVideoRecordingCommands")
|
|
659
|
+
@interface FBDeviceVideoRecordingCommands : NSObject <FBiOSTargetCommand>
|
|
660
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
661
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
662
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
663
|
+
@end
|
|
664
|
+
|
|
665
|
+
@class FBVideoStreamConfiguration;
|
|
666
|
+
@protocol FBDataConsumer;
|
|
667
|
+
SWIFT_CLASS_NAMED("FBDeviceVideoStream")
|
|
668
|
+
@interface FBDeviceVideoStream : NSObject <FBVideoStream>
|
|
669
|
+
+ (FBDeviceVideoStream * _Nullable)streamWithSession:(AVCaptureSession * _Nonnull)session configuration:(FBVideoStreamConfiguration * _Nonnull)configuration logger:(id <FBControlCoreLogger> _Nonnull)logger error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
670
|
+
- (FBFuture<NSNull *> * _Nonnull)startStreaming:(id <FBDataConsumer> _Nonnull)consumer SWIFT_WARN_UNUSED_RESULT;
|
|
671
|
+
- (FBFuture<NSNull *> * _Nonnull)stopStreaming SWIFT_WARN_UNUSED_RESULT;
|
|
672
|
+
@property (nonatomic, readonly, strong) FBFuture<NSNull *> * _Nonnull completed;
|
|
673
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
674
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
675
|
+
@end
|
|
676
|
+
|
|
677
|
+
@class AVCaptureOutput;
|
|
678
|
+
@class AVCaptureConnection;
|
|
679
|
+
@interface FBDeviceVideoStream (SWIFT_EXTENSION(FBDeviceControl)) <AVCaptureVideoDataOutputSampleBufferDelegate>
|
|
680
|
+
- (void)captureOutput:(AVCaptureOutput * _Nonnull)output didOutputSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer fromConnection:(AVCaptureConnection * _Nonnull)connection;
|
|
681
|
+
- (void)captureOutput:(AVCaptureOutput * _Nonnull)output didDropSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer fromConnection:(AVCaptureConnection * _Nonnull)connection;
|
|
682
|
+
@end
|
|
683
|
+
|
|
684
|
+
@class FBTestLaunchConfiguration;
|
|
685
|
+
SWIFT_CLASS_NAMED("FBDeviceXCTestCommands")
|
|
686
|
+
@interface FBDeviceXCTestCommands : NSObject <FBiOSTargetCommand>
|
|
687
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
688
|
+
- (FBFuture<NSNull *> * _Nonnull)runTestWithLaunchConfiguration:(FBTestLaunchConfiguration * _Nonnull)testLaunchConfiguration reporter:(id _Nonnull)reporter logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
689
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
690
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
691
|
+
@end
|
|
692
|
+
|
|
693
|
+
@class NSDictionary;
|
|
694
|
+
@class NSData;
|
|
695
|
+
SWIFT_CLASS_NAMED("FBManagedConfigClient")
|
|
696
|
+
@interface FBManagedConfigClient : NSObject
|
|
697
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull serviceName;)
|
|
698
|
+
+ (NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
699
|
+
+ (FBManagedConfigClient * _Nonnull)managedConfigClientWithConnection:(FBAMDServiceConnection * _Nonnull)connection logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
700
|
+
- (FBFuture<NSDictionary *> * _Nonnull)getCloudConfiguration SWIFT_WARN_UNUSED_RESULT;
|
|
701
|
+
- (FBFuture<NSNull *> * _Nonnull)changeWallpaperWithName:(NSString * _Nonnull)name data:(NSData * _Nonnull)data SWIFT_WARN_UNUSED_RESULT;
|
|
702
|
+
- (FBFuture<NSArray *> * _Nonnull)getProfileList SWIFT_WARN_UNUSED_RESULT;
|
|
703
|
+
- (FBFuture<NSDictionary *> * _Nonnull)installProfile:(NSData * _Nonnull)payload SWIFT_WARN_UNUSED_RESULT;
|
|
704
|
+
- (FBFuture<NSNull *> * _Nonnull)removeProfile:(NSString * _Nonnull)profileName SWIFT_WARN_UNUSED_RESULT;
|
|
705
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
706
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
707
|
+
@end
|
|
708
|
+
|
|
709
|
+
SWIFT_PROTOCOL("_TtP15FBDeviceControl26FBSocketForwardingCommands_")
|
|
710
|
+
@protocol FBSocketForwardingCommands <NSObject>
|
|
711
|
+
- (FBFuture<NSNull *> * _Nonnull)drainLocalFileInput:(int32_t)localFileDescriptorInput localFileOutput:(int32_t)localFileDescriptorOutput remotePort:(int32_t)remotePort SWIFT_WARN_UNUSED_RESULT;
|
|
712
|
+
@end
|
|
713
|
+
|
|
714
|
+
SWIFT_CLASS_NAMED("FBSpringboardServicesClient")
|
|
715
|
+
@interface FBSpringboardServicesClient : NSObject
|
|
716
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull wallpaperNameHomescreen;)
|
|
717
|
+
+ (NSString * _Nonnull)wallpaperNameHomescreen SWIFT_WARN_UNUSED_RESULT;
|
|
718
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull wallpaperNameLockscreen;)
|
|
719
|
+
+ (NSString * _Nonnull)wallpaperNameLockscreen SWIFT_WARN_UNUSED_RESULT;
|
|
720
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull serviceName;)
|
|
721
|
+
+ (NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
722
|
+
+ (FBSpringboardServicesClient * _Nonnull)springboardServicesClientWithConnection:(FBAMDServiceConnection * _Nonnull)connection logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
723
|
+
- (nonnull instancetype)initWithConnection:(FBAMDServiceConnection * _Nonnull)connection logger:(id <FBControlCoreLogger> _Nonnull)logger;
|
|
724
|
+
- (FBFuture<NSData *> * _Nonnull)wallpaperImageDataForKind:(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
|
|
725
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
726
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
727
|
+
@end
|
|
728
|
+
|
|
729
|
+
SWIFT_CLASS_NAMED("_FBDeviceStorageBase")
|
|
730
|
+
@interface FBDeviceStorage : NSObject
|
|
731
|
+
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nonnull attached;
|
|
732
|
+
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nonnull referenced;
|
|
733
|
+
- (nonnull instancetype)initWithLogger:(id <FBControlCoreLogger> _Nonnull)logger OBJC_DESIGNATED_INITIALIZER;
|
|
734
|
+
- (void)deviceAttached:(id _Nonnull)device forKey:(NSString * _Nonnull)key;
|
|
735
|
+
- (void)deviceDetachedForKey:(NSString * _Nonnull)key;
|
|
736
|
+
- (id _Nullable)deviceForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
|
|
737
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
738
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
739
|
+
@end
|
|
740
|
+
|
|
741
|
+
#endif // defined(__OBJC__)
|
|
742
|
+
#if __has_attribute(external_source_symbol)
|
|
743
|
+
# pragma clang attribute pop
|
|
744
|
+
#endif
|
|
745
|
+
#if defined(__cplusplus)
|
|
746
|
+
#endif
|
|
747
|
+
#pragma clang diagnostic pop
|
|
748
|
+
#endif
|
|
749
|
+
|
|
750
|
+
#elif defined(__x86_64__) && __x86_64__
|
|
751
|
+
// Generated by Apple Swift version 6.3.2 effective-5.10 (swiftlang-6.3.2.1.108 clang-2100.1.1.101)
|
|
752
|
+
#ifndef FBDEVICECONTROL_SWIFT_H
|
|
753
|
+
#define FBDEVICECONTROL_SWIFT_H
|
|
754
|
+
#pragma clang diagnostic push
|
|
755
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
756
|
+
|
|
757
|
+
#if !defined(__has_include)
|
|
758
|
+
# define __has_include(x) 0
|
|
759
|
+
#endif
|
|
760
|
+
#if !defined(__has_attribute)
|
|
761
|
+
# define __has_attribute(x) 0
|
|
762
|
+
#endif
|
|
763
|
+
#if !defined(__has_feature)
|
|
764
|
+
# define __has_feature(x) 0
|
|
765
|
+
#endif
|
|
766
|
+
#if !defined(__has_warning)
|
|
767
|
+
# define __has_warning(x) 0
|
|
768
|
+
#endif
|
|
769
|
+
|
|
770
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
771
|
+
# include <swift/objc-prologue.h>
|
|
772
|
+
#endif
|
|
773
|
+
|
|
774
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
775
|
+
#if defined(__OBJC__)
|
|
776
|
+
#include <Foundation/Foundation.h>
|
|
777
|
+
#endif // defined(__OBJC__)
|
|
778
|
+
#if defined(__cplusplus)
|
|
779
|
+
#include <cstdint>
|
|
780
|
+
#include <cstddef>
|
|
781
|
+
#include <cstdbool>
|
|
782
|
+
#include <cstring>
|
|
783
|
+
#include <stdlib.h>
|
|
784
|
+
#include <new>
|
|
785
|
+
#include <type_traits>
|
|
786
|
+
#else
|
|
787
|
+
#include <stdint.h>
|
|
788
|
+
#include <stddef.h>
|
|
789
|
+
#include <stdbool.h>
|
|
790
|
+
#include <string.h>
|
|
791
|
+
#endif
|
|
792
|
+
#if defined(__cplusplus)
|
|
793
|
+
#pragma clang diagnostic push
|
|
794
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
795
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
796
|
+
# include <ptrauth.h>
|
|
797
|
+
#else
|
|
798
|
+
#pragma clang diagnostic push
|
|
799
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
800
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
801
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
802
|
+
# endif
|
|
803
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
804
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
805
|
+
# endif
|
|
806
|
+
#pragma clang diagnostic pop
|
|
807
|
+
#endif
|
|
808
|
+
#pragma clang diagnostic pop
|
|
809
|
+
#endif
|
|
810
|
+
|
|
811
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
812
|
+
# define SWIFT_TYPEDEFS 1
|
|
813
|
+
# if __has_include(<uchar.h>)
|
|
814
|
+
# include <uchar.h>
|
|
815
|
+
# elif !defined(__cplusplus)
|
|
816
|
+
typedef unsigned char char8_t;
|
|
817
|
+
typedef uint_least16_t char16_t;
|
|
818
|
+
typedef uint_least32_t char32_t;
|
|
819
|
+
# endif
|
|
820
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
821
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
822
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
823
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
824
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
825
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
826
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
827
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
828
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
829
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
830
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
831
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
832
|
+
#endif
|
|
833
|
+
|
|
834
|
+
#if !defined(SWIFT_PASTE)
|
|
835
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
836
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
837
|
+
#endif
|
|
838
|
+
#if !defined(SWIFT_METATYPE)
|
|
839
|
+
# define SWIFT_METATYPE(X) Class
|
|
840
|
+
#endif
|
|
841
|
+
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
842
|
+
# if __has_feature(objc_class_property)
|
|
843
|
+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
844
|
+
# else
|
|
845
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
846
|
+
# endif
|
|
847
|
+
#endif
|
|
848
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
849
|
+
# if __has_attribute(objc_runtime_name)
|
|
850
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
851
|
+
# else
|
|
852
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
853
|
+
# endif
|
|
854
|
+
#endif
|
|
855
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
856
|
+
# if __has_attribute(swift_name)
|
|
857
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
858
|
+
# else
|
|
859
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
860
|
+
# endif
|
|
861
|
+
#endif
|
|
862
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
863
|
+
# if __has_attribute(objc_method_family)
|
|
864
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
865
|
+
# else
|
|
866
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
867
|
+
# endif
|
|
868
|
+
#endif
|
|
869
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
870
|
+
# if __has_attribute(noescape)
|
|
871
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
872
|
+
# else
|
|
873
|
+
# define SWIFT_NOESCAPE
|
|
874
|
+
# endif
|
|
875
|
+
#endif
|
|
876
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
877
|
+
# if __has_attribute(ns_consumed)
|
|
878
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
879
|
+
# else
|
|
880
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
881
|
+
# endif
|
|
882
|
+
#endif
|
|
883
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
884
|
+
# if __has_attribute(warn_unused_result)
|
|
885
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
886
|
+
# else
|
|
887
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
888
|
+
# endif
|
|
889
|
+
#endif
|
|
890
|
+
#if !defined(SWIFT_NORETURN)
|
|
891
|
+
# if __has_attribute(noreturn)
|
|
892
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
893
|
+
# else
|
|
894
|
+
# define SWIFT_NORETURN
|
|
895
|
+
# endif
|
|
896
|
+
#endif
|
|
897
|
+
#if !defined(SWIFT_CLASS_EXTRA)
|
|
898
|
+
# define SWIFT_CLASS_EXTRA
|
|
899
|
+
#endif
|
|
900
|
+
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
901
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
902
|
+
#endif
|
|
903
|
+
#if !defined(SWIFT_ENUM_EXTRA)
|
|
904
|
+
# define SWIFT_ENUM_EXTRA
|
|
905
|
+
#endif
|
|
906
|
+
#if !defined(SWIFT_CLASS)
|
|
907
|
+
# if __has_attribute(objc_subclassing_restricted)
|
|
908
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
909
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
910
|
+
# else
|
|
911
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
912
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
913
|
+
# endif
|
|
914
|
+
#endif
|
|
915
|
+
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
916
|
+
# if __has_attribute(objc_class_stub)
|
|
917
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
918
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
919
|
+
# else
|
|
920
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
921
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
922
|
+
# endif
|
|
923
|
+
#endif
|
|
924
|
+
#if !defined(SWIFT_PROTOCOL)
|
|
925
|
+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
926
|
+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
927
|
+
#endif
|
|
928
|
+
#if !defined(SWIFT_EXTENSION)
|
|
929
|
+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
930
|
+
#endif
|
|
931
|
+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
932
|
+
# if __has_attribute(objc_designated_initializer)
|
|
933
|
+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
934
|
+
# else
|
|
935
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
936
|
+
# endif
|
|
937
|
+
#endif
|
|
938
|
+
#if !defined(SWIFT_ENUM_ATTR)
|
|
939
|
+
# if __has_attribute(enum_extensibility)
|
|
940
|
+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
941
|
+
# else
|
|
942
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
943
|
+
# endif
|
|
944
|
+
#endif
|
|
945
|
+
#if !defined(SWIFT_ENUM)
|
|
946
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
947
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
948
|
+
# if __has_feature(generalized_swift_name)
|
|
949
|
+
# 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
|
|
950
|
+
# else
|
|
951
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
952
|
+
# endif
|
|
953
|
+
# else
|
|
954
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
|
|
955
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
956
|
+
# endif
|
|
957
|
+
#endif
|
|
958
|
+
#if !defined(SWIFT_ENUM_TAG)
|
|
959
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
960
|
+
# define SWIFT_ENUM_TAG enum
|
|
961
|
+
# else
|
|
962
|
+
# define SWIFT_ENUM_TAG
|
|
963
|
+
# endif
|
|
964
|
+
#endif
|
|
965
|
+
#if !defined(SWIFT_ENUM_FWD_DECL)
|
|
966
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
967
|
+
# define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
|
|
968
|
+
# else
|
|
969
|
+
# define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
|
|
970
|
+
# endif
|
|
971
|
+
#endif
|
|
972
|
+
#if !defined(SWIFT_UNAVAILABLE)
|
|
973
|
+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
974
|
+
#endif
|
|
975
|
+
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
976
|
+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
977
|
+
#endif
|
|
978
|
+
#if !defined(SWIFT_AVAILABILITY)
|
|
979
|
+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
980
|
+
#endif
|
|
981
|
+
#if !defined(SWIFT_AVAILABILITY_DOMAIN)
|
|
982
|
+
# define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
|
|
983
|
+
#endif
|
|
984
|
+
#if !defined(SWIFT_WEAK_IMPORT)
|
|
985
|
+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
986
|
+
#endif
|
|
987
|
+
#if !defined(SWIFT_DEPRECATED)
|
|
988
|
+
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
989
|
+
#endif
|
|
990
|
+
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
991
|
+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
992
|
+
#endif
|
|
993
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
994
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
995
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
996
|
+
# else
|
|
997
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
998
|
+
# endif
|
|
999
|
+
#endif
|
|
1000
|
+
#if defined(__OBJC__)
|
|
1001
|
+
#if !defined(IBSegueAction)
|
|
1002
|
+
# define IBSegueAction
|
|
1003
|
+
#endif
|
|
1004
|
+
#endif
|
|
1005
|
+
#if !defined(SWIFT_EXTERN)
|
|
1006
|
+
# if defined(__cplusplus)
|
|
1007
|
+
# define SWIFT_EXTERN extern "C"
|
|
1008
|
+
# else
|
|
1009
|
+
# define SWIFT_EXTERN extern
|
|
1010
|
+
# endif
|
|
1011
|
+
#endif
|
|
1012
|
+
#if !defined(SWIFT_CALL)
|
|
1013
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
1014
|
+
#endif
|
|
1015
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
1016
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
1017
|
+
#endif
|
|
1018
|
+
#if !defined(SWIFT_CONTEXT)
|
|
1019
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
1020
|
+
#endif
|
|
1021
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
1022
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
1023
|
+
#endif
|
|
1024
|
+
#if defined(__cplusplus)
|
|
1025
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
1026
|
+
#else
|
|
1027
|
+
# define SWIFT_NOEXCEPT
|
|
1028
|
+
#endif
|
|
1029
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
1030
|
+
# if __has_attribute(always_inline)
|
|
1031
|
+
# if __has_attribute(nodebug)
|
|
1032
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
1033
|
+
# else
|
|
1034
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
1035
|
+
# endif
|
|
1036
|
+
# else
|
|
1037
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
1038
|
+
# endif
|
|
1039
|
+
#endif
|
|
1040
|
+
#if defined(_WIN32)
|
|
1041
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
1042
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
1043
|
+
#endif
|
|
1044
|
+
#else
|
|
1045
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
1046
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
1047
|
+
#endif
|
|
1048
|
+
#endif
|
|
1049
|
+
#if !__has_feature(nullability)
|
|
1050
|
+
# define _Nonnull
|
|
1051
|
+
# define _Nullable
|
|
1052
|
+
# define _Null_unspecified
|
|
1053
|
+
#elif !defined(__OBJC__)
|
|
1054
|
+
# pragma clang diagnostic ignored "-Wnullability-extension"
|
|
1055
|
+
#endif
|
|
1056
|
+
#if !__has_feature(nullability_nullable_result)
|
|
1057
|
+
# define _Nullable_result _Nullable
|
|
1058
|
+
#endif
|
|
1059
|
+
#if __has_feature(objc_modules)
|
|
1060
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
1061
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
1062
|
+
#endif
|
|
1063
|
+
#endif
|
|
1064
|
+
|
|
1065
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
1066
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
1067
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
1068
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
1069
|
+
#endif
|
|
1070
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
1071
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
1072
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
1073
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
1074
|
+
|
|
1075
|
+
#if __has_attribute(external_source_symbol)
|
|
1076
|
+
# pragma push_macro("any")
|
|
1077
|
+
# undef any
|
|
1078
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBDeviceControl",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
1079
|
+
# pragma pop_macro("any")
|
|
1080
|
+
#endif
|
|
1081
|
+
|
|
1082
|
+
#if defined(__cplusplus)
|
|
1083
|
+
extern "C" {
|
|
1084
|
+
#endif
|
|
1085
|
+
|
|
1086
|
+
#if defined(__cplusplus)
|
|
1087
|
+
} // extern "C"
|
|
1088
|
+
#endif
|
|
1089
|
+
#if __has_attribute(external_source_symbol)
|
|
1090
|
+
# pragma clang attribute pop
|
|
1091
|
+
#endif
|
|
1092
|
+
#if defined(__OBJC__)
|
|
1093
|
+
#if __has_feature(objc_modules)
|
|
1094
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
1095
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
1096
|
+
#endif
|
|
1097
|
+
@import AVFoundation;
|
|
1098
|
+
@import CoreMedia;
|
|
1099
|
+
@import Darwin;
|
|
1100
|
+
@import Dispatch;
|
|
1101
|
+
@import FBControlCore;
|
|
1102
|
+
@import Foundation;
|
|
1103
|
+
@import ObjectiveC;
|
|
1104
|
+
@import _DarwinFoundation2.netinet_in.in_port_t;
|
|
1105
|
+
#endif
|
|
1106
|
+
|
|
1107
|
+
#import <FBDeviceControl/FBDeviceControl.h>
|
|
1108
|
+
|
|
1109
|
+
#endif // defined(__OBJC__)
|
|
1110
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
1111
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
1112
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
1113
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
1114
|
+
#endif
|
|
1115
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
1116
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
1117
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
1118
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
1119
|
+
|
|
1120
|
+
#if __has_attribute(external_source_symbol)
|
|
1121
|
+
# pragma push_macro("any")
|
|
1122
|
+
# undef any
|
|
1123
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="FBDeviceControl",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
1124
|
+
# pragma pop_macro("any")
|
|
1125
|
+
#endif
|
|
1126
|
+
|
|
1127
|
+
#if defined(__OBJC__)
|
|
1128
|
+
|
|
1129
|
+
@class FBAMDevice;
|
|
1130
|
+
@class NSNumber;
|
|
1131
|
+
@class NSString;
|
|
1132
|
+
@class FBAFCConnection;
|
|
1133
|
+
SWIFT_CLASS_NAMED("FBAMDeviceServiceManager")
|
|
1134
|
+
@interface FBAMDeviceServiceManager : NSObject
|
|
1135
|
+
+ (FBAMDeviceServiceManager * _Nonnull)managerWithAMDevice:(FBAMDevice * _Nonnull)device serviceTimeout:(NSNumber * _Nullable)serviceTimeout SWIFT_WARN_UNUSED_RESULT;
|
|
1136
|
+
- (FBFutureContextManager<FBAFCConnection *> * _Nonnull)houseArrestAFCConnectionForBundleID:(NSString * _Nonnull)bundleID afcCalls:(AFCCalls)afcCalls SWIFT_WARN_UNUSED_RESULT;
|
|
1137
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1138
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1139
|
+
@end
|
|
1140
|
+
|
|
1141
|
+
@class FBDevice;
|
|
1142
|
+
@class NSNull;
|
|
1143
|
+
SWIFT_CLASS("_TtC15FBDeviceControl31FBAppleDevicectlCommandExecutor")
|
|
1144
|
+
@interface FBAppleDevicectlCommandExecutor : NSObject
|
|
1145
|
+
- (nonnull instancetype)initWithDevice:(FBDevice * _Nonnull)device OBJC_DESIGNATED_INITIALIZER;
|
|
1146
|
+
- (FBProcessBuilder<NSNull *, NSString *, NSString *> * _Nonnull)taskBuilderWithArguments:(NSArray<NSString *> * _Nonnull)arguments SWIFT_WARN_UNUSED_RESULT;
|
|
1147
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1148
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1149
|
+
@end
|
|
1150
|
+
|
|
1151
|
+
@class FBApplicationLaunchConfiguration;
|
|
1152
|
+
@interface FBAppleDevicectlCommandExecutor (SWIFT_EXTENSION(FBDeviceControl))
|
|
1153
|
+
- (FBFuture<NSNumber *> * _Nonnull)launchApplicationWithConfiguration:(FBApplicationLaunchConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
1154
|
+
@end
|
|
1155
|
+
|
|
1156
|
+
@class NSPredicate;
|
|
1157
|
+
@class FBCrashLogInfo;
|
|
1158
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl)) <FBCrashLogCommands>
|
|
1159
|
+
- (FBFuture<FBCrashLogInfo *> * _Nonnull)notifyOfCrash:(NSPredicate * _Nonnull)predicate SWIFT_WARN_UNUSED_RESULT;
|
|
1160
|
+
@end
|
|
1161
|
+
|
|
1162
|
+
SWIFT_PROTOCOL("_TtP15FBDeviceControl34FBDeviceActivationCommandsProtocol_")
|
|
1163
|
+
@protocol FBDeviceActivationCommandsProtocol <NSObject>
|
|
1164
|
+
- (FBFuture<NSNull *> * _Nonnull)activate SWIFT_WARN_UNUSED_RESULT;
|
|
1165
|
+
@end
|
|
1166
|
+
|
|
1167
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl)) <FBDeviceActivationCommandsProtocol>
|
|
1168
|
+
- (FBFuture<NSNull *> * _Nonnull)activate SWIFT_WARN_UNUSED_RESULT;
|
|
1169
|
+
@end
|
|
1170
|
+
|
|
1171
|
+
SWIFT_PROTOCOL("_TtP15FBDeviceControl32FBDeviceRecoveryCommandsProtocol_")
|
|
1172
|
+
@protocol FBDeviceRecoveryCommandsProtocol <NSObject>
|
|
1173
|
+
- (FBFuture<NSNull *> * _Nonnull)enterRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
1174
|
+
- (FBFuture<NSNull *> * _Nonnull)exitRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
1175
|
+
@end
|
|
1176
|
+
|
|
1177
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl)) <FBDeviceRecoveryCommandsProtocol>
|
|
1178
|
+
- (FBFuture<NSNull *> * _Nonnull)enterRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
1179
|
+
- (FBFuture<NSNull *> * _Nonnull)exitRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
1180
|
+
@end
|
|
1181
|
+
|
|
1182
|
+
SWIFT_PROTOCOL("_TtP15FBDeviceControl36FBDeviceDebugSymbolsCommandsProtocol_")
|
|
1183
|
+
@protocol FBDeviceDebugSymbolsCommandsProtocol <NSObject>
|
|
1184
|
+
- (FBFuture<NSArray *> * _Nonnull)listSymbols SWIFT_WARN_UNUSED_RESULT;
|
|
1185
|
+
- (FBFuture<NSString *> * _Nonnull)pullSymbolFile:(NSString * _Nonnull)fileName toDestinationPath:(NSString * _Nonnull)destinationPath SWIFT_WARN_UNUSED_RESULT;
|
|
1186
|
+
- (FBFuture<NSString *> * _Nonnull)pullAndExtractSymbolsToDestinationDirectory:(NSString * _Nonnull)destinationDirectory SWIFT_WARN_UNUSED_RESULT;
|
|
1187
|
+
@end
|
|
1188
|
+
|
|
1189
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl)) <FBDeviceDebugSymbolsCommandsProtocol>
|
|
1190
|
+
- (FBFuture<NSArray *> * _Nonnull)listSymbols SWIFT_WARN_UNUSED_RESULT;
|
|
1191
|
+
- (FBFuture<NSString *> * _Nonnull)pullSymbolFile:(NSString * _Nonnull)fileName toDestinationPath:(NSString * _Nonnull)destinationPath SWIFT_WARN_UNUSED_RESULT;
|
|
1192
|
+
- (FBFuture<NSString *> * _Nonnull)pullAndExtractSymbolsToDestinationDirectory:(NSString * _Nonnull)destinationDirectory SWIFT_WARN_UNUSED_RESULT;
|
|
1193
|
+
@end
|
|
1194
|
+
|
|
1195
|
+
@class FBDeveloperDiskImage;
|
|
1196
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl))
|
|
1197
|
+
- (FBFuture<FBDeveloperDiskImage *> * _Nonnull)ensureDeveloperDiskImageIsMounted SWIFT_WARN_UNUSED_RESULT;
|
|
1198
|
+
@end
|
|
1199
|
+
|
|
1200
|
+
@class FBInstalledApplication;
|
|
1201
|
+
@protocol FBLaunchedApplication;
|
|
1202
|
+
@interface FBDevice (SWIFT_EXTENSION(FBDeviceControl)) <FBApplicationCommands>
|
|
1203
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installApplicationWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
1204
|
+
- (FBFuture<NSNull *> * _Nonnull)uninstallApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1205
|
+
- (FBFuture<id <FBLaunchedApplication>> * _Nonnull)launchApplication:(FBApplicationLaunchConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
1206
|
+
- (FBFuture<NSNull *> * _Nonnull)killApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1207
|
+
- (FBFuture<NSArray *> * _Nonnull)installedApplications SWIFT_WARN_UNUSED_RESULT;
|
|
1208
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1209
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIDWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1210
|
+
@end
|
|
1211
|
+
|
|
1212
|
+
@protocol FBiOSTarget;
|
|
1213
|
+
SWIFT_CLASS_NAMED("FBDeviceActivationCommands")
|
|
1214
|
+
@interface FBDeviceActivationCommands : NSObject <FBiOSTargetCommand>
|
|
1215
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1216
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1217
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1218
|
+
@end
|
|
1219
|
+
|
|
1220
|
+
SWIFT_CLASS_NAMED("FBDeviceApplicationCommands")
|
|
1221
|
+
@interface FBDeviceApplicationCommands : NSObject <FBiOSTargetCommand>
|
|
1222
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1223
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installApplicationWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
1224
|
+
- (FBFuture<NSNull *> * _Nonnull)uninstallApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1225
|
+
- (FBFuture<NSArray *> * _Nonnull)installedApplications SWIFT_WARN_UNUSED_RESULT;
|
|
1226
|
+
- (FBFuture<FBInstalledApplication *> * _Nonnull)installedApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1227
|
+
- (FBFuture<NSNumber *> * _Nonnull)processIDWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1228
|
+
- (FBFuture<NSNull *> * _Nonnull)killApplicationWithBundleID:(NSString * _Nonnull)bundleID SWIFT_WARN_UNUSED_RESULT;
|
|
1229
|
+
- (FBFuture<id <FBLaunchedApplication>> * _Nonnull)launchApplication:(FBApplicationLaunchConfiguration * _Nonnull)configuration SWIFT_WARN_UNUSED_RESULT;
|
|
1230
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1231
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1232
|
+
@end
|
|
1233
|
+
|
|
1234
|
+
SWIFT_RESILIENT_CLASS_NAMED("FBDeviceControlError")
|
|
1235
|
+
@interface FBDeviceControlError : FBControlCoreError
|
|
1236
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1237
|
+
@end
|
|
1238
|
+
|
|
1239
|
+
SWIFT_CLASS_NAMED("FBDeviceCrashLogCommands")
|
|
1240
|
+
@interface FBDeviceCrashLogCommands : NSObject <FBiOSTargetCommand>
|
|
1241
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1242
|
+
- (FBFuture<FBCrashLogInfo *> * _Nonnull)notifyOfCrash:(NSPredicate * _Nonnull)predicate SWIFT_WARN_UNUSED_RESULT;
|
|
1243
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1244
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1245
|
+
@end
|
|
1246
|
+
|
|
1247
|
+
@class FBAMDServiceConnection;
|
|
1248
|
+
@protocol FBControlCoreLogger;
|
|
1249
|
+
@class FBSocketServer;
|
|
1250
|
+
SWIFT_CLASS_NAMED("FBDeviceDebugServer")
|
|
1251
|
+
@interface FBDeviceDebugServer : NSObject <FBDebugServer, FBSocketServerDelegate>
|
|
1252
|
+
@property (nonatomic, readonly, copy) NSArray<NSString *> * _Nonnull lldbBootstrapCommands;
|
|
1253
|
+
@property (nonatomic, readonly, strong) dispatch_queue_t _Nonnull queue;
|
|
1254
|
+
/// Factory method: creates and starts a debug server from a future-wrapped service connection.
|
|
1255
|
+
+ (FBFuture<id> * _Nonnull)debugServerForServiceConnection:(FBFutureContext<FBAMDServiceConnection *> * _Nonnull)service port:(in_port_t)port lldbBootstrapCommands:(NSArray<NSString *> * _Nonnull)lldbBootstrapCommands queue:(dispatch_queue_t _Nonnull)queue logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
1256
|
+
- (void)socketServer:(FBSocketServer * _Nonnull)server clientConnected:(struct in6_addr)address fileDescriptor:(int32_t)fileDescriptor;
|
|
1257
|
+
@property (nonatomic, readonly, strong) FBFuture<NSNull *> * _Nonnull completed;
|
|
1258
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1259
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1260
|
+
@end
|
|
1261
|
+
|
|
1262
|
+
SWIFT_CLASS_NAMED("FBDeviceDebuggerCommands")
|
|
1263
|
+
@interface FBDeviceDebuggerCommands : NSObject <FBiOSTargetCommand>
|
|
1264
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1265
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1266
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1267
|
+
@end
|
|
1268
|
+
|
|
1269
|
+
SWIFT_CLASS_NAMED("FBDeviceDeveloperDiskImageCommands")
|
|
1270
|
+
@interface FBDeviceDeveloperDiskImageCommands : NSObject <FBiOSTargetCommand>
|
|
1271
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1272
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1273
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1274
|
+
@end
|
|
1275
|
+
|
|
1276
|
+
SWIFT_CLASS_NAMED("FBDeviceDiagnosticInformationCommands")
|
|
1277
|
+
@interface FBDeviceDiagnosticInformationCommands : NSObject <FBiOSTargetCommand>
|
|
1278
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1279
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1280
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1281
|
+
@end
|
|
1282
|
+
|
|
1283
|
+
SWIFT_CLASS_NAMED("FBDeviceEraseCommands")
|
|
1284
|
+
@interface FBDeviceEraseCommands : NSObject <FBiOSTargetCommand>
|
|
1285
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1286
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1287
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1288
|
+
@end
|
|
1289
|
+
|
|
1290
|
+
SWIFT_CLASS_NAMED("FBDeviceFileCommands")
|
|
1291
|
+
@interface FBDeviceFileCommands : NSObject <FBiOSTargetCommand>
|
|
1292
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1293
|
+
+ (nonnull instancetype)commandsWith:(id <FBiOSTarget> _Nonnull)target afcCalls:(AFCCalls)afcCalls SWIFT_WARN_UNUSED_RESULT;
|
|
1294
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1295
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1296
|
+
@end
|
|
1297
|
+
|
|
1298
|
+
SWIFT_CLASS_NAMED("FBDeviceFileContainer")
|
|
1299
|
+
@interface FBDeviceFileContainer : NSObject
|
|
1300
|
+
- (nonnull instancetype)initWithAfcConnection:(FBAFCConnection * _Nonnull)connection queue:(dispatch_queue_t _Nonnull)queue OBJC_DESIGNATED_INITIALIZER;
|
|
1301
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1302
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1303
|
+
@end
|
|
1304
|
+
|
|
1305
|
+
SWIFT_CLASS_NAMED("FBDeviceLifecycleCommands")
|
|
1306
|
+
@interface FBDeviceLifecycleCommands : NSObject <FBiOSTargetCommand>
|
|
1307
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1308
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1309
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1310
|
+
@end
|
|
1311
|
+
|
|
1312
|
+
SWIFT_CLASS_NAMED("FBDeviceLinkClient")
|
|
1313
|
+
@interface FBDeviceLinkClient : NSObject
|
|
1314
|
+
+ (FBFuture<FBDeviceLinkClient *> * _Nonnull)deviceLinkClientWithConnection:(FBAMDServiceConnection * _Nonnull)connection SWIFT_WARN_UNUSED_RESULT;
|
|
1315
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1316
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1317
|
+
@end
|
|
1318
|
+
|
|
1319
|
+
SWIFT_CLASS_NAMED("FBDeviceLocationCommands")
|
|
1320
|
+
@interface FBDeviceLocationCommands : NSObject <FBiOSTargetCommand>
|
|
1321
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1322
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1323
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1324
|
+
@end
|
|
1325
|
+
|
|
1326
|
+
SWIFT_CLASS_NAMED("FBDeviceLogCommands")
|
|
1327
|
+
@interface FBDeviceLogCommands : NSObject <FBiOSTargetCommand>
|
|
1328
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1329
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1330
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1331
|
+
@end
|
|
1332
|
+
|
|
1333
|
+
SWIFT_CLASS_NAMED("FBDeviceLogOperation")
|
|
1334
|
+
@interface FBDeviceLogOperation : NSObject
|
|
1335
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1336
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1337
|
+
@end
|
|
1338
|
+
|
|
1339
|
+
SWIFT_CLASS_NAMED("FBDevicePowerCommands")
|
|
1340
|
+
@interface FBDevicePowerCommands : NSObject <FBiOSTargetCommand>
|
|
1341
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1342
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1343
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1344
|
+
@end
|
|
1345
|
+
|
|
1346
|
+
SWIFT_CLASS_NAMED("FBDeviceProvisioningProfileCommands")
|
|
1347
|
+
@interface FBDeviceProvisioningProfileCommands : NSObject <FBiOSTargetCommand>
|
|
1348
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1349
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1350
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1351
|
+
@end
|
|
1352
|
+
|
|
1353
|
+
SWIFT_CLASS_NAMED("FBDeviceRecoveryCommands")
|
|
1354
|
+
@interface FBDeviceRecoveryCommands : NSObject <FBiOSTargetCommand>
|
|
1355
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1356
|
+
- (FBFuture<NSNull *> * _Nonnull)enterRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
1357
|
+
- (FBFuture<NSNull *> * _Nonnull)exitRecovery SWIFT_WARN_UNUSED_RESULT;
|
|
1358
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1359
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1360
|
+
@end
|
|
1361
|
+
|
|
1362
|
+
SWIFT_CLASS_NAMED("FBDeviceScreenshotCommands")
|
|
1363
|
+
@interface FBDeviceScreenshotCommands : NSObject <FBiOSTargetCommand>
|
|
1364
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1365
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1366
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1367
|
+
@end
|
|
1368
|
+
|
|
1369
|
+
@protocol FBiOSTargetInfo;
|
|
1370
|
+
SWIFT_CLASS_NAMED("FBDeviceSet")
|
|
1371
|
+
@interface FBDeviceSet : NSObject <FBiOSTargetSet, FBiOSTargetSetDelegate>
|
|
1372
|
+
@property (nonatomic, readonly, strong) id <FBControlCoreLogger> _Nonnull logger;
|
|
1373
|
+
@property (nonatomic, weak) id <FBiOSTargetSetDelegate> _Nullable delegate;
|
|
1374
|
+
- (nullable instancetype)setWithLogger:(id <FBControlCoreLogger> _Nonnull)logger delegate:(id <FBiOSTargetSetDelegate> _Nullable)delegate ecidFilter:(NSString * _Nullable)ecidFilter error:(NSError * _Nullable * _Nullable)error SWIFT_METHOD_FAMILY(init);
|
|
1375
|
+
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
|
|
1376
|
+
- (id <FBiOSTargetInfo> _Nullable)targetWithUDID:(NSString * _Nonnull)udid SWIFT_WARN_UNUSED_RESULT;
|
|
1377
|
+
- (FBDevice * _Nullable)deviceWithUDID:(NSString * _Nonnull)udid SWIFT_WARN_UNUSED_RESULT;
|
|
1378
|
+
@property (nonatomic, readonly, copy) NSArray<id <FBiOSTargetInfo>> * _Nonnull allTargetInfos;
|
|
1379
|
+
@property (nonatomic, readonly, copy) NSArray<FBDevice *> * _Nonnull allDevices;
|
|
1380
|
+
- (void)targetAdded:(id <FBiOSTargetInfo> _Nonnull)targetInfo inTargetSet:(id <FBiOSTargetSet> _Nonnull)targetSet;
|
|
1381
|
+
- (void)targetRemoved:(id <FBiOSTargetInfo> _Nonnull)targetInfo inTargetSet:(id <FBiOSTargetSet> _Nonnull)targetSet;
|
|
1382
|
+
- (void)targetUpdated:(id <FBiOSTargetInfo> _Nonnull)targetInfo inTargetSet:(id <FBiOSTargetSet> _Nonnull)targetSet;
|
|
1383
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1384
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1385
|
+
@end
|
|
1386
|
+
|
|
1387
|
+
SWIFT_CLASS_NAMED("FBDeviceSocketForwardingCommands")
|
|
1388
|
+
@interface FBDeviceSocketForwardingCommands : NSObject <FBiOSTargetCommand>
|
|
1389
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1390
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1391
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1392
|
+
@end
|
|
1393
|
+
|
|
1394
|
+
@class AVCaptureSession;
|
|
1395
|
+
SWIFT_CLASS_NAMED("FBDeviceVideo")
|
|
1396
|
+
@interface FBDeviceVideo : NSObject <FBiOSTargetOperation>
|
|
1397
|
+
+ (FBFuture<AVCaptureSession *> * _Nonnull)captureSessionForDevice:(FBDevice * _Nonnull)device SWIFT_WARN_UNUSED_RESULT;
|
|
1398
|
+
+ (FBFuture<FBDeviceVideo *> * _Nonnull)videoForDevice:(FBDevice * _Nonnull)device filePath:(NSString * _Nonnull)filePath SWIFT_WARN_UNUSED_RESULT;
|
|
1399
|
+
- (FBFuture<NSNull *> * _Nonnull)startRecording SWIFT_WARN_UNUSED_RESULT;
|
|
1400
|
+
- (FBFuture<NSNull *> * _Nonnull)stopRecording SWIFT_WARN_UNUSED_RESULT;
|
|
1401
|
+
@property (nonatomic, readonly, strong) FBFuture<NSNull *> * _Nonnull completed;
|
|
1402
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1403
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1404
|
+
@end
|
|
1405
|
+
|
|
1406
|
+
SWIFT_CLASS_NAMED("FBDeviceVideoRecordingCommands")
|
|
1407
|
+
@interface FBDeviceVideoRecordingCommands : NSObject <FBiOSTargetCommand>
|
|
1408
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1409
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1410
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1411
|
+
@end
|
|
1412
|
+
|
|
1413
|
+
@class FBVideoStreamConfiguration;
|
|
1414
|
+
@protocol FBDataConsumer;
|
|
1415
|
+
SWIFT_CLASS_NAMED("FBDeviceVideoStream")
|
|
1416
|
+
@interface FBDeviceVideoStream : NSObject <FBVideoStream>
|
|
1417
|
+
+ (FBDeviceVideoStream * _Nullable)streamWithSession:(AVCaptureSession * _Nonnull)session configuration:(FBVideoStreamConfiguration * _Nonnull)configuration logger:(id <FBControlCoreLogger> _Nonnull)logger error:(NSError * _Nullable * _Nullable)error SWIFT_WARN_UNUSED_RESULT;
|
|
1418
|
+
- (FBFuture<NSNull *> * _Nonnull)startStreaming:(id <FBDataConsumer> _Nonnull)consumer SWIFT_WARN_UNUSED_RESULT;
|
|
1419
|
+
- (FBFuture<NSNull *> * _Nonnull)stopStreaming SWIFT_WARN_UNUSED_RESULT;
|
|
1420
|
+
@property (nonatomic, readonly, strong) FBFuture<NSNull *> * _Nonnull completed;
|
|
1421
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1422
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1423
|
+
@end
|
|
1424
|
+
|
|
1425
|
+
@class AVCaptureOutput;
|
|
1426
|
+
@class AVCaptureConnection;
|
|
1427
|
+
@interface FBDeviceVideoStream (SWIFT_EXTENSION(FBDeviceControl)) <AVCaptureVideoDataOutputSampleBufferDelegate>
|
|
1428
|
+
- (void)captureOutput:(AVCaptureOutput * _Nonnull)output didOutputSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer fromConnection:(AVCaptureConnection * _Nonnull)connection;
|
|
1429
|
+
- (void)captureOutput:(AVCaptureOutput * _Nonnull)output didDropSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer fromConnection:(AVCaptureConnection * _Nonnull)connection;
|
|
1430
|
+
@end
|
|
1431
|
+
|
|
1432
|
+
@class FBTestLaunchConfiguration;
|
|
1433
|
+
SWIFT_CLASS_NAMED("FBDeviceXCTestCommands")
|
|
1434
|
+
@interface FBDeviceXCTestCommands : NSObject <FBiOSTargetCommand>
|
|
1435
|
+
+ (nonnull instancetype)commandsWithTarget:(id <FBiOSTarget> _Nonnull)target SWIFT_WARN_UNUSED_RESULT;
|
|
1436
|
+
- (FBFuture<NSNull *> * _Nonnull)runTestWithLaunchConfiguration:(FBTestLaunchConfiguration * _Nonnull)testLaunchConfiguration reporter:(id _Nonnull)reporter logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
1437
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1438
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1439
|
+
@end
|
|
1440
|
+
|
|
1441
|
+
@class NSDictionary;
|
|
1442
|
+
@class NSData;
|
|
1443
|
+
SWIFT_CLASS_NAMED("FBManagedConfigClient")
|
|
1444
|
+
@interface FBManagedConfigClient : NSObject
|
|
1445
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull serviceName;)
|
|
1446
|
+
+ (NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
1447
|
+
+ (FBManagedConfigClient * _Nonnull)managedConfigClientWithConnection:(FBAMDServiceConnection * _Nonnull)connection logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
1448
|
+
- (FBFuture<NSDictionary *> * _Nonnull)getCloudConfiguration SWIFT_WARN_UNUSED_RESULT;
|
|
1449
|
+
- (FBFuture<NSNull *> * _Nonnull)changeWallpaperWithName:(NSString * _Nonnull)name data:(NSData * _Nonnull)data SWIFT_WARN_UNUSED_RESULT;
|
|
1450
|
+
- (FBFuture<NSArray *> * _Nonnull)getProfileList SWIFT_WARN_UNUSED_RESULT;
|
|
1451
|
+
- (FBFuture<NSDictionary *> * _Nonnull)installProfile:(NSData * _Nonnull)payload SWIFT_WARN_UNUSED_RESULT;
|
|
1452
|
+
- (FBFuture<NSNull *> * _Nonnull)removeProfile:(NSString * _Nonnull)profileName SWIFT_WARN_UNUSED_RESULT;
|
|
1453
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1454
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1455
|
+
@end
|
|
1456
|
+
|
|
1457
|
+
SWIFT_PROTOCOL("_TtP15FBDeviceControl26FBSocketForwardingCommands_")
|
|
1458
|
+
@protocol FBSocketForwardingCommands <NSObject>
|
|
1459
|
+
- (FBFuture<NSNull *> * _Nonnull)drainLocalFileInput:(int32_t)localFileDescriptorInput localFileOutput:(int32_t)localFileDescriptorOutput remotePort:(int32_t)remotePort SWIFT_WARN_UNUSED_RESULT;
|
|
1460
|
+
@end
|
|
1461
|
+
|
|
1462
|
+
SWIFT_CLASS_NAMED("FBSpringboardServicesClient")
|
|
1463
|
+
@interface FBSpringboardServicesClient : NSObject
|
|
1464
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull wallpaperNameHomescreen;)
|
|
1465
|
+
+ (NSString * _Nonnull)wallpaperNameHomescreen SWIFT_WARN_UNUSED_RESULT;
|
|
1466
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull wallpaperNameLockscreen;)
|
|
1467
|
+
+ (NSString * _Nonnull)wallpaperNameLockscreen SWIFT_WARN_UNUSED_RESULT;
|
|
1468
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull serviceName;)
|
|
1469
|
+
+ (NSString * _Nonnull)serviceName SWIFT_WARN_UNUSED_RESULT;
|
|
1470
|
+
+ (FBSpringboardServicesClient * _Nonnull)springboardServicesClientWithConnection:(FBAMDServiceConnection * _Nonnull)connection logger:(id <FBControlCoreLogger> _Nonnull)logger SWIFT_WARN_UNUSED_RESULT;
|
|
1471
|
+
- (nonnull instancetype)initWithConnection:(FBAMDServiceConnection * _Nonnull)connection logger:(id <FBControlCoreLogger> _Nonnull)logger;
|
|
1472
|
+
- (FBFuture<NSData *> * _Nonnull)wallpaperImageDataForKind:(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
|
|
1473
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1474
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1475
|
+
@end
|
|
1476
|
+
|
|
1477
|
+
SWIFT_CLASS_NAMED("_FBDeviceStorageBase")
|
|
1478
|
+
@interface FBDeviceStorage : NSObject
|
|
1479
|
+
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nonnull attached;
|
|
1480
|
+
@property (nonatomic, readonly, copy) NSDictionary<NSString *, id> * _Nonnull referenced;
|
|
1481
|
+
- (nonnull instancetype)initWithLogger:(id <FBControlCoreLogger> _Nonnull)logger OBJC_DESIGNATED_INITIALIZER;
|
|
1482
|
+
- (void)deviceAttached:(id _Nonnull)device forKey:(NSString * _Nonnull)key;
|
|
1483
|
+
- (void)deviceDetachedForKey:(NSString * _Nonnull)key;
|
|
1484
|
+
- (id _Nullable)deviceForKey:(NSString * _Nonnull)key SWIFT_WARN_UNUSED_RESULT;
|
|
1485
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1486
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1487
|
+
@end
|
|
1488
|
+
|
|
1489
|
+
#endif // defined(__OBJC__)
|
|
1490
|
+
#if __has_attribute(external_source_symbol)
|
|
1491
|
+
# pragma clang attribute pop
|
|
1492
|
+
#endif
|
|
1493
|
+
#if defined(__cplusplus)
|
|
1494
|
+
#endif
|
|
1495
|
+
#pragma clang diagnostic pop
|
|
1496
|
+
#endif
|
|
1497
|
+
|
|
1498
|
+
#else
|
|
1499
|
+
#error unsupported Swift architecture
|
|
1500
|
+
#endif
|