simtap 0.0.0-stage → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +186 -2
- package/THIRD_PARTY_LICENSES +61 -0
- package/bin/simtap.js +4 -0
- package/dist/act/diff.js +67 -0
- package/dist/act/resolve.js +49 -0
- package/dist/act/steps.js +188 -0
- package/dist/cli.js +123 -0
- package/dist/engine/apps.js +153 -0
- package/dist/engine/axe.js +107 -0
- package/dist/engine/exec.js +36 -0
- package/dist/engine/jobs.js +95 -0
- package/dist/engine/logs.js +115 -0
- package/dist/engine/simctl.js +191 -0
- package/dist/engine/state.js +30 -0
- package/dist/engine/xcode.js +253 -0
- package/dist/engine/xcresult.js +95 -0
- package/dist/errors.js +11 -0
- package/dist/look/read.js +50 -0
- package/dist/look/snapshot.js +455 -0
- package/dist/mcp.js +108 -0
- package/dist/registry.js +65 -0
- package/dist/tools/app-control.js +127 -0
- package/dist/tools/app-logs.js +128 -0
- package/dist/tools/app-run.js +94 -0
- package/dist/tools/device-use.js +68 -0
- package/dist/tools/devices.js +26 -0
- package/dist/tools/jobs.js +55 -0
- package/dist/tools/launch-app.js +68 -0
- package/dist/tools/screen-record.js +79 -0
- package/dist/tools/tests-run.js +81 -0
- package/dist/tools/types.js +2 -0
- package/dist/tools/ui-act.js +435 -0
- package/dist/tools/ui-look.js +40 -0
- package/package.json +45 -4
- package/skill/SKILL.md +23 -0
- package/vendor/axe/.version +1 -0
- package/vendor/axe/AXe_AXe.bundle/skills/axe/SKILL.md +87 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/FBControlCore +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBAccessibilityTraits.h +23 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBArchitecture.h +20 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBArchiveOperations.h +136 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBBinaryDescriptor.h +73 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCore-Swift.h +3232 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCore-SwiftImport.h +28 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCore.h +47 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCoreFrameworkLoader.h +104 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCoreLogger+OSLog.h +30 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBControlCoreLogger.h +107 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBCrashLog.h +20 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBDataBuffer.h +75 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBDataConsumer.h +173 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFileContainer.h +46 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFileReader.h +25 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFourCharCode.h +30 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFuture+Sync.h +104 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFuture.h +580 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBFutureContextManager.h +61 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBInstalledApplication.h +30 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBInstrumentsCommands.h +29 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBInstrumentsOperation.h +83 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBObjCExceptionGuard.h +59 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessBuilder.h +272 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessFetcher.h +128 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessIO.h +126 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessStream.h +175 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBProcessTerminationStrategy.h +25 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBScreenshotCommands.h +15 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBSettingsCommands.h +22 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBSocketServer.h +63 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBSubprocess.h +131 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBVideoStream.h +255 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBVideoStreamConfiguration.h +51 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBXCTraceOperation.h +13 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTarget.h +69 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTargetConfiguration.h +322 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTargetConstants.h +48 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Headers/FBiOSTargetOperation.h +18 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.abi.json +51890 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.private.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.abi.json +51890 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.private.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.swiftinterface +1341 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/FBControlCore.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Modules/module.modulemap +10 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/FBControlCore.framework/Versions/A/_CodeSignature/CodeResources +492 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/FBDeviceControl +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAFCConnection.h +135 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDServiceConnection.h +239 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDefines.h +256 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDevice.h +105 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMDeviceManager.h +59 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMRestorableDevice.h +72 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBAMRestorableDeviceManager.h +32 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDevice.h +89 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceCommands.h +147 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceControl-Swift.h +1500 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceControl.h +24 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceControlFrameworkLoader.h +25 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceDebugSymbolsCommands.h +29 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBDeviceManager.h +118 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Headers/FBInstrumentsClient.h +49 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.abi.json +16073 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.private.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.abi.json +16073 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.private.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.swiftinterface +398 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/FBDeviceControl.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Modules/module.modulemap +10 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/FBDeviceControl.framework/Versions/A/_CodeSignature/CodeResources +324 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/FBSimulatorControl +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBFramebuffer.h +24 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBPeriodicStatsTimer.h +43 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimDeviceWrapper.h +86 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulator.h +160 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorBootConfiguration.h +18 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorControl-Swift.h +2270 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorControl.h +21 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorControlFrameworkLoader.h +45 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Headers/FBSimulatorVideoStream.h +153 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.abi.json +46980 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.private.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.abi.json +46980 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.private.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftinterface +1072 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Modules/module.modulemap +10 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/Resources/README.md +124 -0
- package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/_CodeSignature/CodeResources +293 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBActivityRecord.h +33 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBAttachment.h +25 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBCodeCoverageConfiguration.h +15 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestBundleConnection.h +37 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestConfiguration.h +74 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestManagerAPIMediator.h +46 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestManagerResultSummary.h +19 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestReporterAdapter.h +27 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBXCTestConfiguration.h +30 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/XCTestBootstrap-Swift.h +1570 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/XCTestBootstrap.h +22 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/XCTestBootstrapError.h +25 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.abi.json +15972 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.private.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/arm64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.abi.json +15972 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.private.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.swiftdoc +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.swiftinterface +397 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/XCTestBootstrap.swiftmodule/x86_64-apple-macos.swiftmodule +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Modules/module.modulemap +13 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Resources/Info.plist +50 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/XCTestBootstrap +0 -0
- package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/_CodeSignature/CodeResources +303 -0
- package/vendor/axe/axe +0 -0
|
Binary file
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>BuildMachineOSBuild</key>
|
|
6
|
+
<string>25E246</string>
|
|
7
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
8
|
+
<string>English</string>
|
|
9
|
+
<key>CFBundleExecutable</key>
|
|
10
|
+
<string>FBSimulatorControl</string>
|
|
11
|
+
<key>CFBundleIdentifier</key>
|
|
12
|
+
<string>com.facebook.FBSimulatorControl</string>
|
|
13
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
14
|
+
<string>6.0</string>
|
|
15
|
+
<key>CFBundleName</key>
|
|
16
|
+
<string>FBSimulatorControl</string>
|
|
17
|
+
<key>CFBundlePackageType</key>
|
|
18
|
+
<string>FMWK</string>
|
|
19
|
+
<key>CFBundleShortVersionString</key>
|
|
20
|
+
<string>1.0</string>
|
|
21
|
+
<key>CFBundleSignature</key>
|
|
22
|
+
<string>????</string>
|
|
23
|
+
<key>CFBundleSupportedPlatforms</key>
|
|
24
|
+
<array>
|
|
25
|
+
<string>MacOSX</string>
|
|
26
|
+
</array>
|
|
27
|
+
<key>CFBundleVersion</key>
|
|
28
|
+
<string>1</string>
|
|
29
|
+
<key>DTCompiler</key>
|
|
30
|
+
<string>com.apple.compilers.llvm.clang.1_0</string>
|
|
31
|
+
<key>DTPlatformBuild</key>
|
|
32
|
+
<string>25F70</string>
|
|
33
|
+
<key>DTPlatformName</key>
|
|
34
|
+
<string>macosx</string>
|
|
35
|
+
<key>DTPlatformVersion</key>
|
|
36
|
+
<string>26.5</string>
|
|
37
|
+
<key>DTSDKBuild</key>
|
|
38
|
+
<string>25F70</string>
|
|
39
|
+
<key>DTSDKName</key>
|
|
40
|
+
<string>macosx26.5</string>
|
|
41
|
+
<key>DTXcode</key>
|
|
42
|
+
<string>2650</string>
|
|
43
|
+
<key>DTXcodeBuild</key>
|
|
44
|
+
<string>17F42</string>
|
|
45
|
+
<key>LSMinimumSystemVersion</key>
|
|
46
|
+
<string>12.0</string>
|
|
47
|
+
<key>NSHumanReadableCopyright</key>
|
|
48
|
+
<string>Copyright © 2013 Facebook, Inc. All rights reserved.</string>
|
|
49
|
+
</dict>
|
|
50
|
+
</plist>
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# FBSimulatorControl
|
|
2
|
+
|
|
3
|
+
A macOS library for managing, booting and interacting with multiple iOS Simulators simultaneously.
|
|
4
|
+
|
|
5
|
+
`FBSimulatorControl` is now intended to be an implementation detail of `idb`, but can still be used as a standalone Framework. We strongly encourage using `idb` directly since it is a "batteries included" command line interface that exposes all `FBSimulatorControl` functionality.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- Supports 'Multisim' for iOS: Booting of multiple Simulators on the same host OS.
|
|
10
|
+
- Boots iOS Simulators across a range of Xcode and iOS Versions.
|
|
11
|
+
- Runs independently of Xcode and `xcodebuild` without requiring embedding in a Graphical User Interface. Uses whatever Xcode toolchain is defined by `xcode-select`.
|
|
12
|
+
- Exposes a broad range of functionality that is available in `simctl` and Xcode.
|
|
13
|
+
- Implements additional functionality not available in `simctl` including hardware encoded video streaming, file manipulation, accessibility fetching, direct input event injection and more.
|
|
14
|
+
- An 'Event Bus' that exposes the details of a Simulator's lifecycle including Applications, Agents & the Simulator itself.
|
|
15
|
+
- `NSNotification`s interface for the 'Event Bus'.
|
|
16
|
+
- No external dependencies.
|
|
17
|
+
- A Pure Objective-C Framework, so as not to force a Swift-Version dependency.
|
|
18
|
+
- An API designed to be easily integrated into other Frameworks or Applications, including with Swift clients.
|
|
19
|
+
|
|
20
|
+
## About
|
|
21
|
+
|
|
22
|
+
The original use-case for `FBSimulatorControl` was to boot multiple Simulators on the same host, before this was officially supported in Xcode.
|
|
23
|
+
|
|
24
|
+
`FBSimulatorControl` works by linking with the private `CoreSimulator` and `SimulatorKit` frameworks that are installed as part of Xcode. Doing this allows `FBSimulatorControl` to talk directly to the same APIs that Xcode and `simctl` use. `FBSimulatorControl` also adds features that aren't present in Xcode or the iOS Simulator, such as accessibility fetching.
|
|
25
|
+
|
|
26
|
+
## Installation
|
|
27
|
+
|
|
28
|
+
The homebrew installation is derived from [the `build.sh`](../build.sh) script in the root of the repository. You can build `FBSimulatorControl` on its own with: `./build.sh build FBSimulatorControl` (or build every framework with `./build.sh build frameworks`).
|
|
29
|
+
|
|
30
|
+
The `FBSimulatorControl.xcodeproj` builds the `FBSimulatorControl.framework` and the `FBSimulatorControlTests.xctest` bundles. The project file is generated from `project.yml` with [XcodeGen](https://github.com/yonaskolb/XcodeGen) (run `./build.sh generate`), so it is not checked into the repo.
|
|
31
|
+
|
|
32
|
+
Once you build the `FBSimulatorControl.framework`, it can be linked like any other 3rd-party Framework for your project:
|
|
33
|
+
- Add `FBSimulatorControl.framework` to the [Target's 'Link Binary With Libraries' build phase](Documentation/link_binary_with_libraries.png).
|
|
34
|
+
- Ensure that `FBSimulatorControl` is copied into the Target's bundle (if your Target is an Application or Framework) or a path relative to the Executable if your project does not have a bundle.
|
|
35
|
+
|
|
36
|
+
## Usage
|
|
37
|
+
|
|
38
|
+
In order to support different Xcode versions and system environments, `FBSimulatorControl` weakly links against Xcode's Private Frameworks and loads these Frameworks when they are needed. `FBSimulatorControl` will link against the version of Xcode that you have set with [`xcode-select`](https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html). It is not recommended to run against multiple versions of Xcode on the same host as `CoreSimulator` has user-level daemons that cannot run against multiple versions of Xcode concurrently.
|
|
39
|
+
|
|
40
|
+
Since the Frameworks upon which `FBSimulatorControl` depends are loaded lazily, they must be loaded before the Framework is functional. However, you do not have to do this manually as any of the `FBSimulatorControl` functionality that has this dependency will load these Private Frameworks when they are used for the first time.
|
|
41
|
+
|
|
42
|
+
[The tests](FBSimulatorControlTests/Tests) should provide you with some basic guidance for using the API. `FBSimulatorControl` has an umbrella header that can be imported to give access to the entire API.
|
|
43
|
+
|
|
44
|
+
For a high level overview:
|
|
45
|
+
- `FBSimulatorControl` is the Principal Class. It is the first object that you should create with `+[FBSimulatorControl withConfiguration:error:]`. It creates a `FBSimulatorSet` upon creation.
|
|
46
|
+
- `FBSimulatorSet` wraps `SimDeviceSet` and provides a resiliant CRUD API for Deleting, Creating and Erasing Simulators.
|
|
47
|
+
- `FBSimulator` is a reference type that represents an individual Simulator. It has a number of convenience methods for accessing information about a Simulator. Many of the possible actions you can perform on a Simulator are present on instances of this class.
|
|
48
|
+
- `FBSimulatorDiagnostics` is a facade around available diagnostics for a Simulator. It fetches static logs such as the System Log on-demand and receives new logs from components such as `FBFramebufferVideo`.
|
|
49
|
+
- Configuration objects: `FBApplicationLaunchConfiguration`, `FBAgentLaunchConfiguration`, `FBSimulatorApplication`, `FBSimulatorControlConfiguration`, `FBSimulatorConfiguration` & `FBSimulatorBootConfiguration`.
|
|
50
|
+
|
|
51
|
+
Since `FBSimulatorControl` is built as a Framework Module, it's easy to make Swift Scripts that use the Framework:
|
|
52
|
+
|
|
53
|
+
To launch Safari on an iPhone 6, you can run the following:
|
|
54
|
+
|
|
55
|
+
```swift
|
|
56
|
+
#!/usr/bin/env xcrun swift -F /usr/local/Frameworks
|
|
57
|
+
// The -F Argument should be the directory in which the FBSimulatorControl.framework is located.
|
|
58
|
+
|
|
59
|
+
// Import the FBSimulatorControl Framework
|
|
60
|
+
import FBSimulatorControl
|
|
61
|
+
|
|
62
|
+
// Create the FBSimulatorControl Instance.
|
|
63
|
+
let options = FBSimulatorManagementOptions()
|
|
64
|
+
let config = FBSimulatorControlConfiguration(deviceSetPath: nil, options: options)
|
|
65
|
+
let logger = FBControlCoreGlobalConfiguration.defaultLogger()
|
|
66
|
+
let control = try FBSimulatorControl.withConfiguration(config, logger: logger)
|
|
67
|
+
|
|
68
|
+
// Get an existing iPhone 6 from the Simulator Pool.
|
|
69
|
+
let simulator = try control.pool.allocateSimulator(
|
|
70
|
+
with: FBSimulatorConfiguration.iPhone6(),
|
|
71
|
+
options: FBSimulatorAllocationOptions.reuse
|
|
72
|
+
)
|
|
73
|
+
print("Using \(simulator)")
|
|
74
|
+
|
|
75
|
+
// If it is booted, keep it booted, otherwise boot it.
|
|
76
|
+
if (simulator.state != .booted) {
|
|
77
|
+
print("Booting Simulator \(simulator)")
|
|
78
|
+
try simulator.boot()
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// List the Installed Apps and get the first installed app
|
|
82
|
+
let applications = simulator.installedApplications()
|
|
83
|
+
let application = applications.first!
|
|
84
|
+
|
|
85
|
+
// Launch the first installed Application
|
|
86
|
+
let appLaunch = FBApplicationLaunchConfiguration(
|
|
87
|
+
application: application,
|
|
88
|
+
arguments: [],
|
|
89
|
+
environment: [:],
|
|
90
|
+
output: FBProcessOutputConfiguration.outputToDevNull()
|
|
91
|
+
)
|
|
92
|
+
print("Launching \(application)")
|
|
93
|
+
try simulator.launchApplication(appLaunch)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
`FBSimulatorControl` currently has two ways of launching Simulators that have tradeoffs for different use cases:
|
|
98
|
+
|
|
99
|
+
## Multisim
|
|
100
|
+
The `CoreSimulator` Framework that is used by the `Simulator.app` as well as Playgrounds & Interface Builder has long had the concept of custom 'Device Sets' which contain created Simulators. Multiple Device Sets can be used on the same host and are an effective way of ensuring that multiple processes using `CoreSimulator` don't collide into each other. 'Device Sets' are also beneficial for an automation use-case, as using a different set other than the 'Default' will ensure that these Simulators aren't polluted.
|
|
101
|
+
|
|
102
|
+
`CoreSimulator` itself is also capable of running multiple Simulators on the same host concurrently. You can see this for yourself by using the `simctl` commandline. Booting Simulators this way can be of somewhat limited utility without the output of the screen. `FBSimulatorControl` solves this problem in two different ways:
|
|
103
|
+
|
|
104
|
+
## Launching via `Simulator.app`
|
|
105
|
+
`Simulator.app` is the macOS Application bundle with Xcode that you are probably familiar with for viewing and interacting with a Simulator. This Mac Application is the part of the Xcode Toolchain that you will be used to.
|
|
106
|
+
|
|
107
|
+
> **Xcode 27 and later:** `Simulator.app` has been replaced by the CoreDevice-based `DeviceHub.app`. `FBSimulatorControl` resolves whichever host app the active Xcode ships, so `focus` continues to work for simulators in the default device set. As with `Simulator.app`, the host app only displays the default device set — simulators in a custom device set (for example, the clones Xcode creates for parallel testing) are not shown; this is the basis for Apple known issue 176809181.
|
|
108
|
+
|
|
109
|
+
`FBSimulatorControl` can launch the Application Excutable directly, thereby allowing specific Simulators to be booted by UDID and Device Set. This can be done by overriding the `Simulator.app`s `NSUserDefaults` by [passing them as Arguments to the Application Process](https://www.bignerdranch.com/blog/by-your-command). Once the Simulator has booted, it can be interacted with via `CoreSimulator` with commands such as installing Apps and launch executables.
|
|
110
|
+
|
|
111
|
+
However, this mode of operation does limit the amount that `FBSimulatorControl` can manipulate the Simulator, once the `Simulator.app` process has been launched. In particular it's not [possible to execute custom code inside the Simulator Application process](https://gist.github.com/lawrencelomax/27bdc4e8a433a601008f), which means that it's not possible to get video frames that the booted simulator passes back to the `Simulator.app` process.
|
|
112
|
+
|
|
113
|
+
## Direct Launch
|
|
114
|
+
`FBSimulatorControl` also supports 'Direct Launching'. This means that the Simulator is booted from the `FBSimulatorControl` Framework. This gives increasing control over the operation of the Simulator, including fetching frames from the Framebuffer. This means that pixel-perfect videos and screenshots can be constructed from the Framebuffer. In addition, `FBSimulatorControl` can [communicate to the `SimulatorBridge`](https://github.com/facebook/FBSimulatorControl/blob/main/FBSimulatorControl/Management/FBSimulatorBridge.h) process running on the Simulator over XPC.
|
|
115
|
+
|
|
116
|
+
Direct Launching does not currently support manipulation of the UI within the Simulator, so is much better suited to a use-case where the [UI is manipulated by other means](https://github.com/facebook/webdriveragent).
|
|
117
|
+
|
|
118
|
+
## Contributing
|
|
119
|
+
See the [CONTRIBUTING](CONTRIBUTING) file for how to help out. There's plenty to work on the issues!
|
|
120
|
+
|
|
121
|
+
## Example Projects
|
|
122
|
+
|
|
123
|
+
* [SimulatorController](https://github.com/davidlawson/SimulatorController): GUI interface written in Swift
|
|
124
|
+
* [FBSimulatorClient](https://github.com/tapthaker/FBSimulatorClient): Simulator interface using REST requests
|
package/vendor/axe/Frameworks/FBSimulatorControl.framework/Versions/A/_CodeSignature/CodeResources
ADDED
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>files</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Resources/Info.plist</key>
|
|
8
|
+
<data>
|
|
9
|
+
2D2AL8QjIBNLrHoIH9QKkB4f4LU=
|
|
10
|
+
</data>
|
|
11
|
+
<key>Resources/README.md</key>
|
|
12
|
+
<data>
|
|
13
|
+
45vjNNC+ZqiGTAQC00+vbalC5hM=
|
|
14
|
+
</data>
|
|
15
|
+
</dict>
|
|
16
|
+
<key>files2</key>
|
|
17
|
+
<dict>
|
|
18
|
+
<key>Headers/FBFramebuffer.h</key>
|
|
19
|
+
<dict>
|
|
20
|
+
<key>hash2</key>
|
|
21
|
+
<data>
|
|
22
|
+
W9V2VaW55uud/hAJhEfOX0D+E/J7PPT6ocgOqsYVRRw=
|
|
23
|
+
</data>
|
|
24
|
+
</dict>
|
|
25
|
+
<key>Headers/FBPeriodicStatsTimer.h</key>
|
|
26
|
+
<dict>
|
|
27
|
+
<key>hash2</key>
|
|
28
|
+
<data>
|
|
29
|
+
2MksZhCSMQrH5WV5kh6FA7ExgO2X8OiZHrO3dyOsIhw=
|
|
30
|
+
</data>
|
|
31
|
+
</dict>
|
|
32
|
+
<key>Headers/FBSimDeviceWrapper.h</key>
|
|
33
|
+
<dict>
|
|
34
|
+
<key>hash2</key>
|
|
35
|
+
<data>
|
|
36
|
+
pFyj9WzrYNsKhy8q7kPtljuArfgy+8x/VySQj88nJmw=
|
|
37
|
+
</data>
|
|
38
|
+
</dict>
|
|
39
|
+
<key>Headers/FBSimulator.h</key>
|
|
40
|
+
<dict>
|
|
41
|
+
<key>hash2</key>
|
|
42
|
+
<data>
|
|
43
|
+
le4FFWeZikcdiT+9v0gKuLA/Ays2U51KvHc+zGiIOVA=
|
|
44
|
+
</data>
|
|
45
|
+
</dict>
|
|
46
|
+
<key>Headers/FBSimulatorBootConfiguration.h</key>
|
|
47
|
+
<dict>
|
|
48
|
+
<key>hash2</key>
|
|
49
|
+
<data>
|
|
50
|
+
SQdL78OGeHqOiMRuaPdPwufq/Wz73vYWmQHaNG79N6M=
|
|
51
|
+
</data>
|
|
52
|
+
</dict>
|
|
53
|
+
<key>Headers/FBSimulatorControl-Swift.h</key>
|
|
54
|
+
<dict>
|
|
55
|
+
<key>hash2</key>
|
|
56
|
+
<data>
|
|
57
|
+
4dyXE0aSrce7Hfcq6IlejvTK14eC3jknZexl+ce5Q9o=
|
|
58
|
+
</data>
|
|
59
|
+
</dict>
|
|
60
|
+
<key>Headers/FBSimulatorControl.h</key>
|
|
61
|
+
<dict>
|
|
62
|
+
<key>hash2</key>
|
|
63
|
+
<data>
|
|
64
|
+
+xxiNHy/N7hYGRnAK+T/x308yJA1XJoPxzBnQcSnjuQ=
|
|
65
|
+
</data>
|
|
66
|
+
</dict>
|
|
67
|
+
<key>Headers/FBSimulatorControlFrameworkLoader.h</key>
|
|
68
|
+
<dict>
|
|
69
|
+
<key>hash2</key>
|
|
70
|
+
<data>
|
|
71
|
+
5cX0lFsNCIAPdfzOwTGVXuo5lPmg9eZYrdPzWonuqEs=
|
|
72
|
+
</data>
|
|
73
|
+
</dict>
|
|
74
|
+
<key>Headers/FBSimulatorVideoStream.h</key>
|
|
75
|
+
<dict>
|
|
76
|
+
<key>hash2</key>
|
|
77
|
+
<data>
|
|
78
|
+
So8EYs6EcdvkcOKETqrs8VE7W6GvfSB3iHB5OscqspE=
|
|
79
|
+
</data>
|
|
80
|
+
</dict>
|
|
81
|
+
<key>Modules/FBSimulatorControl.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo</key>
|
|
82
|
+
<dict>
|
|
83
|
+
<key>hash2</key>
|
|
84
|
+
<data>
|
|
85
|
+
wAVs38lsOKUa/Od2X8eBElfXE6mZWz7wt2QCRH4P4Ac=
|
|
86
|
+
</data>
|
|
87
|
+
</dict>
|
|
88
|
+
<key>Modules/FBSimulatorControl.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo</key>
|
|
89
|
+
<dict>
|
|
90
|
+
<key>hash2</key>
|
|
91
|
+
<data>
|
|
92
|
+
9TPoleq1EXd3LLg0HyDoYqDeRX0ZW0a4sc4hzzH4QsM=
|
|
93
|
+
</data>
|
|
94
|
+
</dict>
|
|
95
|
+
<key>Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.abi.json</key>
|
|
96
|
+
<dict>
|
|
97
|
+
<key>hash2</key>
|
|
98
|
+
<data>
|
|
99
|
+
tvxVQxccugQ8URHtp4JozAM842YgkBIYdr4cuPSWCKM=
|
|
100
|
+
</data>
|
|
101
|
+
</dict>
|
|
102
|
+
<key>Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.private.swiftinterface</key>
|
|
103
|
+
<dict>
|
|
104
|
+
<key>hash2</key>
|
|
105
|
+
<data>
|
|
106
|
+
u4OdCnnfwJlupFv2D18N4EGnynf4DOulj2iKjdQY7kA=
|
|
107
|
+
</data>
|
|
108
|
+
</dict>
|
|
109
|
+
<key>Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftdoc</key>
|
|
110
|
+
<dict>
|
|
111
|
+
<key>hash2</key>
|
|
112
|
+
<data>
|
|
113
|
+
IkHX2/CeuUhcH59hRmkuyQV90JV0/lz855P8aaCnDdQ=
|
|
114
|
+
</data>
|
|
115
|
+
</dict>
|
|
116
|
+
<key>Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftinterface</key>
|
|
117
|
+
<dict>
|
|
118
|
+
<key>hash2</key>
|
|
119
|
+
<data>
|
|
120
|
+
u4OdCnnfwJlupFv2D18N4EGnynf4DOulj2iKjdQY7kA=
|
|
121
|
+
</data>
|
|
122
|
+
</dict>
|
|
123
|
+
<key>Modules/FBSimulatorControl.swiftmodule/arm64-apple-macos.swiftmodule</key>
|
|
124
|
+
<dict>
|
|
125
|
+
<key>hash2</key>
|
|
126
|
+
<data>
|
|
127
|
+
L+0KPy2QWAm86xqas6qLuEe3DkyohZaRQMly9o/61aM=
|
|
128
|
+
</data>
|
|
129
|
+
</dict>
|
|
130
|
+
<key>Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.abi.json</key>
|
|
131
|
+
<dict>
|
|
132
|
+
<key>hash2</key>
|
|
133
|
+
<data>
|
|
134
|
+
tvxVQxccugQ8URHtp4JozAM842YgkBIYdr4cuPSWCKM=
|
|
135
|
+
</data>
|
|
136
|
+
</dict>
|
|
137
|
+
<key>Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.private.swiftinterface</key>
|
|
138
|
+
<dict>
|
|
139
|
+
<key>hash2</key>
|
|
140
|
+
<data>
|
|
141
|
+
f5CQ8qrQCZxt065tkW2jbWSsDnZDmKr70+M8qMwguCU=
|
|
142
|
+
</data>
|
|
143
|
+
</dict>
|
|
144
|
+
<key>Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftdoc</key>
|
|
145
|
+
<dict>
|
|
146
|
+
<key>hash2</key>
|
|
147
|
+
<data>
|
|
148
|
+
qNL+1mur5n0vx1Nv8rShyGW8BDEMfuBKLcrmqbTqTrw=
|
|
149
|
+
</data>
|
|
150
|
+
</dict>
|
|
151
|
+
<key>Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftinterface</key>
|
|
152
|
+
<dict>
|
|
153
|
+
<key>hash2</key>
|
|
154
|
+
<data>
|
|
155
|
+
f5CQ8qrQCZxt065tkW2jbWSsDnZDmKr70+M8qMwguCU=
|
|
156
|
+
</data>
|
|
157
|
+
</dict>
|
|
158
|
+
<key>Modules/FBSimulatorControl.swiftmodule/x86_64-apple-macos.swiftmodule</key>
|
|
159
|
+
<dict>
|
|
160
|
+
<key>hash2</key>
|
|
161
|
+
<data>
|
|
162
|
+
AQC7H3ae7By52+CkxlFjyzNeBNoIjmsJ3c7nUM2yEyU=
|
|
163
|
+
</data>
|
|
164
|
+
</dict>
|
|
165
|
+
<key>Modules/module.modulemap</key>
|
|
166
|
+
<dict>
|
|
167
|
+
<key>hash2</key>
|
|
168
|
+
<data>
|
|
169
|
+
JN/NwSQsS/gS/+paeP9vMGBWGPZjslRPHWFxgBKgyfo=
|
|
170
|
+
</data>
|
|
171
|
+
</dict>
|
|
172
|
+
<key>Resources/Info.plist</key>
|
|
173
|
+
<dict>
|
|
174
|
+
<key>hash2</key>
|
|
175
|
+
<data>
|
|
176
|
+
otUzox9xuUWxqUrdHoJL3u39s8OGYJYpeaEVG+hKotA=
|
|
177
|
+
</data>
|
|
178
|
+
</dict>
|
|
179
|
+
<key>Resources/README.md</key>
|
|
180
|
+
<dict>
|
|
181
|
+
<key>hash2</key>
|
|
182
|
+
<data>
|
|
183
|
+
bTXsnixwcGyFdCsFAdh6SZXB4IK5InMP0K6viFoK0Tw=
|
|
184
|
+
</data>
|
|
185
|
+
</dict>
|
|
186
|
+
</dict>
|
|
187
|
+
<key>rules</key>
|
|
188
|
+
<dict>
|
|
189
|
+
<key>^Resources/</key>
|
|
190
|
+
<true/>
|
|
191
|
+
<key>^Resources/.*\.lproj/</key>
|
|
192
|
+
<dict>
|
|
193
|
+
<key>optional</key>
|
|
194
|
+
<true/>
|
|
195
|
+
<key>weight</key>
|
|
196
|
+
<real>1000</real>
|
|
197
|
+
</dict>
|
|
198
|
+
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
199
|
+
<dict>
|
|
200
|
+
<key>omit</key>
|
|
201
|
+
<true/>
|
|
202
|
+
<key>weight</key>
|
|
203
|
+
<real>1100</real>
|
|
204
|
+
</dict>
|
|
205
|
+
<key>^Resources/Base\.lproj/</key>
|
|
206
|
+
<dict>
|
|
207
|
+
<key>weight</key>
|
|
208
|
+
<real>1010</real>
|
|
209
|
+
</dict>
|
|
210
|
+
<key>^version.plist$</key>
|
|
211
|
+
<true/>
|
|
212
|
+
</dict>
|
|
213
|
+
<key>rules2</key>
|
|
214
|
+
<dict>
|
|
215
|
+
<key>.*\.dSYM($|/)</key>
|
|
216
|
+
<dict>
|
|
217
|
+
<key>weight</key>
|
|
218
|
+
<real>11</real>
|
|
219
|
+
</dict>
|
|
220
|
+
<key>^(.*/)?\.DS_Store$</key>
|
|
221
|
+
<dict>
|
|
222
|
+
<key>omit</key>
|
|
223
|
+
<true/>
|
|
224
|
+
<key>weight</key>
|
|
225
|
+
<real>2000</real>
|
|
226
|
+
</dict>
|
|
227
|
+
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
|
|
228
|
+
<dict>
|
|
229
|
+
<key>nested</key>
|
|
230
|
+
<true/>
|
|
231
|
+
<key>weight</key>
|
|
232
|
+
<real>10</real>
|
|
233
|
+
</dict>
|
|
234
|
+
<key>^.*</key>
|
|
235
|
+
<true/>
|
|
236
|
+
<key>^Info\.plist$</key>
|
|
237
|
+
<dict>
|
|
238
|
+
<key>omit</key>
|
|
239
|
+
<true/>
|
|
240
|
+
<key>weight</key>
|
|
241
|
+
<real>20</real>
|
|
242
|
+
</dict>
|
|
243
|
+
<key>^PkgInfo$</key>
|
|
244
|
+
<dict>
|
|
245
|
+
<key>omit</key>
|
|
246
|
+
<true/>
|
|
247
|
+
<key>weight</key>
|
|
248
|
+
<real>20</real>
|
|
249
|
+
</dict>
|
|
250
|
+
<key>^Resources/</key>
|
|
251
|
+
<dict>
|
|
252
|
+
<key>weight</key>
|
|
253
|
+
<real>20</real>
|
|
254
|
+
</dict>
|
|
255
|
+
<key>^Resources/.*\.lproj/</key>
|
|
256
|
+
<dict>
|
|
257
|
+
<key>optional</key>
|
|
258
|
+
<true/>
|
|
259
|
+
<key>weight</key>
|
|
260
|
+
<real>1000</real>
|
|
261
|
+
</dict>
|
|
262
|
+
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
263
|
+
<dict>
|
|
264
|
+
<key>omit</key>
|
|
265
|
+
<true/>
|
|
266
|
+
<key>weight</key>
|
|
267
|
+
<real>1100</real>
|
|
268
|
+
</dict>
|
|
269
|
+
<key>^Resources/Base\.lproj/</key>
|
|
270
|
+
<dict>
|
|
271
|
+
<key>weight</key>
|
|
272
|
+
<real>1010</real>
|
|
273
|
+
</dict>
|
|
274
|
+
<key>^[^/]+$</key>
|
|
275
|
+
<dict>
|
|
276
|
+
<key>nested</key>
|
|
277
|
+
<true/>
|
|
278
|
+
<key>weight</key>
|
|
279
|
+
<real>10</real>
|
|
280
|
+
</dict>
|
|
281
|
+
<key>^embedded\.provisionprofile$</key>
|
|
282
|
+
<dict>
|
|
283
|
+
<key>weight</key>
|
|
284
|
+
<real>20</real>
|
|
285
|
+
</dict>
|
|
286
|
+
<key>^version\.plist$</key>
|
|
287
|
+
<dict>
|
|
288
|
+
<key>weight</key>
|
|
289
|
+
<real>20</real>
|
|
290
|
+
</dict>
|
|
291
|
+
</dict>
|
|
292
|
+
</dict>
|
|
293
|
+
</plist>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
@class FBAttachment;
|
|
11
|
+
@class XCActivityRecord;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
A summary of an activity.
|
|
15
|
+
*/
|
|
16
|
+
@interface FBActivityRecord : NSObject
|
|
17
|
+
|
|
18
|
+
@property (nonnull, nonatomic, readonly, copy) NSString *title;
|
|
19
|
+
@property (nonnull, nonatomic, readonly, copy) NSString *activityType;
|
|
20
|
+
@property (nonnull, nonatomic, readonly, copy) NSUUID *uuid;
|
|
21
|
+
@property (nonnull, nonatomic, readonly, copy) NSDate *start;
|
|
22
|
+
@property (nonnull, nonatomic, readonly, copy) NSDate *finish;
|
|
23
|
+
@property (nonnull, nonatomic, readonly) NSArray<FBAttachment *> *attachments;
|
|
24
|
+
@property (nonatomic, readonly, assign) double duration;
|
|
25
|
+
@property (nonnull, nonatomic, readonly, copy) NSString *name;
|
|
26
|
+
@property (nonnull, nonatomic, copy) NSMutableArray<FBActivityRecord *> *subactivities;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
Constructs a activity summary from a XCActivityRecord
|
|
30
|
+
*/
|
|
31
|
+
+ (nonnull instancetype)from:(nonnull XCActivityRecord *)record;
|
|
32
|
+
|
|
33
|
+
@end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
@class XCTAttachment;
|
|
11
|
+
|
|
12
|
+
@interface FBAttachment : NSObject
|
|
13
|
+
|
|
14
|
+
@property (nullable, nonatomic, readonly, copy) NSData *payload;
|
|
15
|
+
@property (nonnull, nonatomic, readonly, copy) NSDate *timestamp;
|
|
16
|
+
@property (nonnull, nonatomic, readonly, copy) NSString *name;
|
|
17
|
+
@property (nonnull, nonatomic, readonly, copy) NSString *uniformTypeIdentifier;
|
|
18
|
+
@property (nullable, nonatomic, readonly, copy) NSDictionary<NSString *, id> *userInfo;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
Constructs a attachment from a XCTAttachment
|
|
22
|
+
*/
|
|
23
|
+
+ (nonnull instancetype)from:(nonnull XCTAttachment *)record;
|
|
24
|
+
|
|
25
|
+
@end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
typedef NS_ENUM(NSUInteger, FBCodeCoverageFormat) {
|
|
11
|
+
FBCodeCoverageExported,
|
|
12
|
+
FBCodeCoverageRaw,
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
@class FBCodeCoverageConfiguration;
|
package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestBundleConnection.h
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
#import <FBControlCore/FBControlCore.h>
|
|
11
|
+
|
|
12
|
+
@class FBTestManagerContext;
|
|
13
|
+
|
|
14
|
+
@protocol XCTestManager_IDEInterface;
|
|
15
|
+
@protocol XCTMessagingChannel_RunnerToIDE;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
A Strategy for Connecting.
|
|
19
|
+
*/
|
|
20
|
+
@interface FBTestBundleConnection : NSObject
|
|
21
|
+
|
|
22
|
+
#pragma mark Initializers
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
Constructs a Test Bundle Connection and runs the test plan to completion
|
|
26
|
+
|
|
27
|
+
@param context the Context of the Test Manager.
|
|
28
|
+
@param target the iOS Target.
|
|
29
|
+
@param interface the interface to delegate to.
|
|
30
|
+
@param testHostApplication the hosting
|
|
31
|
+
@param requestQueue the queue for asynchronous deliver.
|
|
32
|
+
@param logger the Logger to Log to.
|
|
33
|
+
@return a Future that resolves successfully when the test plan has completed.
|
|
34
|
+
*/
|
|
35
|
+
+ (nonnull FBFuture<NSNull *> *)connectAndRunBundleToCompletionWithContext:(nonnull FBTestManagerContext *)context target:(nonnull id<FBiOSTarget, FBXCTestExtendedCommands, FBApplicationCommands>)target interface:(nonnull id<XCTestManager_IDEInterface, XCTMessagingChannel_RunnerToIDE, NSObject>)interface testHostApplication:(nonnull id<FBLaunchedApplication>)testHostApplication requestQueue:(nonnull dispatch_queue_t)requestQueue logger:(nonnull id<FBControlCoreLogger>)logger;
|
|
36
|
+
|
|
37
|
+
@end
|
package/vendor/axe/Frameworks/XCTestBootstrap.framework/Versions/A/Headers/FBTestConfiguration.h
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
@class XCTestConfiguration;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
Represents XCTestConfiguration class used by Apple to configure tests (aka .xctestconfiguration)
|
|
14
|
+
*/
|
|
15
|
+
@interface FBTestConfiguration : NSObject
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
Creates a Test Configuration, writing it out to a file and returning the result.
|
|
19
|
+
|
|
20
|
+
@param sessionIdentifier the session identifier.
|
|
21
|
+
@param moduleName name the test module name.
|
|
22
|
+
@param testBundlePath the absolute path to the test bundle.
|
|
23
|
+
@param uiTesting YES if to initialize the Test Configuraiton for UI Testing, NO otherwise.
|
|
24
|
+
@param testsToRun the tests to run.
|
|
25
|
+
@param testsToSkip the tests to skip.
|
|
26
|
+
@param targetApplicationPath Target application path
|
|
27
|
+
@param targetApplicationBundleID Target application bundle id
|
|
28
|
+
@param testApplicationDependencies Dictionary with dependencies required to execute the tests
|
|
29
|
+
@param automationFrameworkPath Path to automation framework
|
|
30
|
+
@param reportActivities whether to report activities
|
|
31
|
+
@param error an error out for any error that occurs.
|
|
32
|
+
@return a test configuration after it has been written out to disk.
|
|
33
|
+
*/
|
|
34
|
+
+ (nullable instancetype)configurationByWritingToFileWithSessionIdentifier:(nonnull NSUUID *)sessionIdentifier moduleName:(nonnull NSString *)moduleName testBundlePath:(nonnull NSString *)testBundlePath uiTesting:(BOOL)uiTesting testsToRun:(nullable NSSet<NSString *> *)testsToRun testsToSkip:(nullable NSSet<NSString *> *)testsToSkip targetApplicationPath:(nullable NSString *)targetApplicationPath targetApplicationBundleID:(nullable NSString *)targetApplicationBundleID testApplicationDependencies:(nullable NSDictionary<NSString *, NSString *> *)testApplicationDependencies automationFrameworkPath:(nullable NSString *)automationFrameworkPath reportActivities:(BOOL)reportActivities error:(NSError * _Nullable * _Nullable)error;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
Creates a Test Configuration.
|
|
38
|
+
|
|
39
|
+
@param sessionIdentifier the session identifier.
|
|
40
|
+
@param moduleName name the test module name.
|
|
41
|
+
@param testBundlePath the absolute path to the test bundle.
|
|
42
|
+
@param uiTesting YES if to initialize the Test Configuraiton for UI Testing, NO otherwise.
|
|
43
|
+
@param xcTestConfiguration underlying XCTestConfiguration object
|
|
44
|
+
*/
|
|
45
|
+
+ (nonnull instancetype)configurationWithSessionIdentifier:(nonnull NSUUID *)sessionIdentifier moduleName:(nonnull NSString *)moduleName testBundlePath:(nonnull NSString *)testBundlePath path:(nonnull NSString *)path uiTesting:(BOOL)uiTesting xcTestConfiguration:(nonnull XCTestConfiguration *)xcTestConfiguration;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
The session identifier
|
|
49
|
+
*/
|
|
50
|
+
@property (nonnull, nonatomic, readonly, copy) NSUUID *sessionIdentifier;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
The name of the test module
|
|
54
|
+
*/
|
|
55
|
+
@property (nonnull, nonatomic, readonly, copy) NSString *moduleName;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
The path to test bundle
|
|
59
|
+
*/
|
|
60
|
+
@property (nonnull, nonatomic, readonly, copy) NSString *testBundlePath;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
The path to test configuration
|
|
64
|
+
*/
|
|
65
|
+
@property (nonnull, nonatomic, readonly, copy) NSString *path;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
Determines whether should initialize for UITesting
|
|
69
|
+
*/
|
|
70
|
+
@property (nonatomic, readonly, assign) BOOL shouldInitializeForUITesting;
|
|
71
|
+
|
|
72
|
+
@property (nonnull, nonatomic, readonly, strong) XCTestConfiguration *xcTestConfiguration;
|
|
73
|
+
|
|
74
|
+
@end
|