Skip to content

Instantly share code, notes, and snippets.

@cerisier
Created February 22, 2023 11:02
Show Gist options
  • Save cerisier/5f3885824b6e135a0716f84d3021c831 to your computer and use it in GitHub Desktop.
Save cerisier/5f3885824b6e135a0716f84d3021c831 to your computer and use it in GitHub Desktop.
Bazel AQUERY for mold
corentinkerisit@endurance monorepo % bazel aquery //iosapp/Apps/Capture
INFO: Analyzed target //iosapp/Apps/Capture:Capture (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
action 'Writing file iosapp/Apps/Capture/entitlements/Captureprovisioning_profile_tool-control'
Mnemonic: FileWrite
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 430905ad71444e01fc02ae0460ac9fa4345904f6c71c5301f84d9f72dd290867
Inputs: []
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Captureprovisioning_profile_tool-control]
action 'ExtractFromProvisioningProfile iosapp/Apps/Capture/entitlements/Capture.profile_metadata'
Mnemonic: ExtractFromProvisioningProfile
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: cff40c6eb75a220f1323d4eb40f4c750b61108e1d5478ce32ede32c1eb1ce757
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Captureprovisioning_profile_tool-control, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/provisioning_profile_tool/provisioning_profile_tool, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Sprovisioning_Uprofile_Utool_Sprovisioning_Uprofile_Utool-runfiles, external/build_bazel_rules_apple/tools/provisioning_profile_tool/provisioning_profile_tool.py, iosapp/_mobileprovision/co_amo_love-wildcard-dev.mobileprovision]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Capture.extracted_entitlements, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Capture.profile_metadata]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/provisioning_profile_tool/provisioning_profile_tool \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Captureprovisioning_profile_tool-control)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
action 'Writing file iosapp/Apps/Capture/entitlements/Captureplisttool-control'
Mnemonic: FileWrite
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: f00f48d10c5ca7049450324a8d72041fc02fb08ca61f33ea5e08f31283e9b636
Inputs: []
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Captureplisttool-control]
action 'ProcessEntitlementsFiles iosapp/Apps/Capture/Capture_entitlements.entitlements'
Mnemonic: ProcessEntitlementsFiles
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: c9edb97c3b8cc2c25fc1e83aa0b32a0e96d1142f901035bcd5458c7a274cc6ca
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Capture.extracted_entitlements, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Capture.profile_metadata, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Captureplisttool-control, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/plisttool/plisttool, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Splisttool_Splisttool-runfiles, external/build_bazel_rules_apple/tools/plisttool/plisttool.py]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_entitlements.entitlements]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/plisttool/plisttool \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Captureplisttool-control)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
action 'Writing file iosapp/Apps/Capture/entitlements/Capturesimulator-plisttool-control'
Mnemonic: FileWrite
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 3e2b350b55faeaef20652c31dfea38908b423d95a6804b34ddf81f4d82c41114
Inputs: []
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Capturesimulator-plisttool-control]
action 'ProcessSimulatorEntitlementsFile iosapp/Apps/Capture/Capture_entitlements.simulator.entitlements'
Mnemonic: ProcessSimulatorEntitlementsFile
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 4210d7976c34646c9367422730d942593988ce430a12b8f0336331cc725d110c
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Capture.extracted_entitlements, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Capture.profile_metadata, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Capturesimulator-plisttool-control, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/plisttool/plisttool, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Splisttool_Splisttool-runfiles, external/build_bazel_rules_apple/tools/plisttool/plisttool.py]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_entitlements.simulator.entitlements]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/plisttool/plisttool \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/entitlements/Capturesimulator-plisttool-control)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
action 'Reporting failed target //iosapp/Apps/Capture:Capture located at /Users/corentinkerisit/code/github.com/wesprint-io/monorepo/iosapp/Apps/Capture/BUILD.bazel:59:21'
Mnemonic: Fail
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 92bb5cc6fa914fcbd10a915be3cd6369d567e95f935b3b3a7669d6d3261d30d5
Inputs: []
Outputs: [bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/libCapture_bin]
action 'Writing file iosapp/Apps/Capture/Capture_bin-2.params'
Mnemonic: FileWrite
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: b17802e22fb152688d1c84ad6ddc355b195c8562aeee0e097100fdffe7b98d56
Inputs: []
Outputs: [bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin-2.params]
action 'Linking iosapp/Apps/Capture/Capture_bin'
Mnemonic: ObjcLink
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: cef26bc5f1fa33743f4a6ab7a0c97ac2a021e20cc53d1a840d369857eab13b20
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_entitlements.entitlements, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/com_github_amplitude_amplitude-ios/libAmplitude.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/com_github_mac-cain13_r_swift/RswiftResources.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/com_github_mac-cain13_r_swift/libRswiftResources.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/com_github_reactivex_rxswift/RxSwift.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/com_github_reactivex_rxswift/libRxSwift.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/com_github_swinject_swinject/Swinject.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/com_github_swinject_swinject/libSwinject.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Application.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-linker.objlist, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin-2.params, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/libApplication.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Capture/API/CaptureAPI.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Capture/API/libAPI.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Capture/Bindings/CaptureBindings.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Capture/Bindings/libBindings.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Capture/Lib/CaptureLib.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Capture/Lib/libLib.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/GalaxyGate/API/GalaxyGateAPI.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/GalaxyGate/API/libAPI.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/GalaxyGate/Bindings/GalaxyGateBindings.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/GalaxyGate/Bindings/libBindings.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/GalaxyGate/Lib/GalaxyGateLib.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/GalaxyGate/Lib/libLib.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Profile/API/ProfileAPI.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Profile/API/libAPI.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Profile/Bindings/ProfileBindings.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Profile/Bindings/libBindings.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Profile/Lib/ProfileLib.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Profile/Lib/libLib.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Settings/API/SettingsAPI.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Settings/API/libAPI.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Settings/Bindings/SettingsBindings.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Settings/Bindings/libBindings.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Settings/Lib/SettingsLib.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Settings/Lib/libLib.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Analytics/API/Analytics.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Analytics/API/libAPI.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Analytics/Core/AnalyticsCore.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Analytics/Core/libCore.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/AppShell/AppShell.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/AppShell/libAppShell.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Attribution/Attribution.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Attribution/libAttribution.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/BugReporting/API/BugReporting.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/BugReporting/API/libAPI.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/BugReporting/Core/BugReportingCore.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/BugReporting/Core/libCore.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/CoreDependencies/CoreDependencies.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/CoreDependencies/libCoreDependencies.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/CrashReporting/API/CrashReporting.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/CrashReporting/API/libAPI.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/CrashReporting/Core/CrashReportingCore.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/CrashReporting/Core/libCore.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/DependencyInjection/DependencyInjection.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/DependencyInjection/libDependencyInjection.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Logging/Logging.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Logging/libLogging.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Navigation/Navigation.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Navigation/libNavigation.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/TaskExecution/TaskExecution.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/TaskExecution/libTaskExecution.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Theming/Theming.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Theming/ThemingResources.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Theming/libTheming.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Theming/libThemingResources.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Tracing/Tracing.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Tracing/libTracing.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Utilities/Obfuscation/Obfuscation.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Utilities/Obfuscation/libObfuscation.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/rs/mobile/core/template/coreRx.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/rs/mobile/core/template/coreUniffi.swiftmodule, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/rs/mobile/core/template/libcore.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/rs/mobile/core/template/librx_core_swift_lib.a, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/rs/mobile/core/template/libuniffi_core_swift_lib.a, external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/AnalyticsConnector, external/com_github_sentry_sentry-cocoa/Sentry.xcframework/ios-arm64_x86_64-simulator/Sentry.framework/Sentry, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Shake, external/local_config_cc/cc_wrapper.sh, external/local_config_cc/libtool, external/local_config_cc/libtool_check_unique, external/local_config_cc/make_hashed_objlist.py, external/local_config_cc/wrapped_clang, external/local_config_cc/wrapped_clang_pp, external/local_config_cc/xcrunwrapper.sh, external/rules_apple_linker_mold/ld64.mold]
Outputs: [bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin.dwarf]
Environment: [PATH=/bin:/usr/bin:/usr/local/bin]
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec external/local_config_cc/wrapped_clang \
-Xlinker \
-objc_abi_version \
-Xlinker \
2 \
-fobjc-link-runtime \
-ObjC \
-target \
arm64-apple-ios13.0-simulator \
-lsqlite3 \
-filelist \
bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-linker.objlist \
-o \
bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin \
-force_load \
bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Theming/libTheming.a \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Application.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Capture/Bindings/CaptureBindings.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Capture/Lib/CaptureLib.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Capture/API/CaptureAPI.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Theming/Theming.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Theming/ThemingResources.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/com_github_mac-cain13_r_swift/RswiftResources.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/GalaxyGate/Bindings/GalaxyGateBindings.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/GalaxyGate/Lib/GalaxyGateLib.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/GalaxyGate/API/GalaxyGateAPI.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Profile/Bindings/ProfileBindings.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Profile/Lib/ProfileLib.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Profile/API/ProfileAPI.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Settings/Bindings/SettingsBindings.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Settings/Lib/SettingsLib.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Components/Settings/API/SettingsAPI.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Analytics/Core/AnalyticsCore.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/AppShell/AppShell.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/BugReporting/Core/BugReportingCore.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/CoreDependencies/CoreDependencies.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/BugReporting/API/BugReporting.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Analytics/API/Analytics.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Navigation/Navigation.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/CrashReporting/Core/CrashReportingCore.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/CrashReporting/API/CrashReporting.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/DependencyInjection/DependencyInjection.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Logging/Logging.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/TaskExecution/TaskExecution.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Attribution/Attribution.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Tracing/Tracing.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Platform/Utilities/Obfuscation/Obfuscation.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/rs/mobile/core/template/coreRx.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/rs/mobile/core/template/coreUniffi.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/com_github_reactivex_rxswift/RxSwift.swiftmodule \
-Wl,-add_ast_path,bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/com_github_swinject_swinject/Swinject.swiftmodule \
-Wl,-objc_abi_version,2 \
-ObjC \
-L/usr/lib/swift \
-L__BAZEL_XCODE_DEVELOPER_DIR__/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator \
-Wl,-rpath,/usr/lib/swift \
'--ld-path=external/rules_apple_linker_mold/ld64.mold' \
-lc++ \
-g \
'DSYM_HINT_LINKED_BINARY=bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin' \
'DSYM_HINT_DSYM_PATH=bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin.dwarf' \
-Fexternal/com_github_sentry_sentry-cocoa/Sentry.xcframework/ios-arm64_x86_64-simulator \
-Fexternal/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator \
-Fexternal/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator \
-framework \
Sentry \
-framework \
AnalyticsConnector \
-framework \
Shake \
-isysroot \
__BAZEL_XCODE_SDKROOT__ \
-F__BAZEL_XCODE_SDKROOT__/System/Library/Frameworks \
-F__BAZEL_XCODE_DEVELOPER_DIR__/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks \
-headerpad_max_install_names \
-Wl,-sectcreate,__TEXT,__entitlements,bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_entitlements.entitlements \
-Wl,-rpath,@executable_path/Frameworks \
-no-canonical-prefixes \
-target \
arm64-apple-ios13.0-simulator \
-Xlinker \
-no_deduplicate \
-framework \
Foundation \
-framework \
UIKit \
@bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin-2.params)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
action 'Writing file iosapp/Apps/Capture/Capture-linker.objlist'
Mnemonic: FileWrite
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: deb4145d78112c9ec8c31ffb28da7e9448b4380131600b2b82ba78ab179e9b47
Inputs: []
Outputs: [bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-linker.objlist]
action 'Creating symlink bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_lipobin'
Mnemonic: Symlink
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 7b4ebfc50b3c4e60aabc2b9ab2168b4b378cb8201dee02d0418f436786c1920b
Inputs: [bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_lipobin]
action 'Creating symlink bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/Capture'
Mnemonic: Symlink
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 7b4ebfc50b3c4e60aabc2b9ab2168b4b378cb8201dee02d0418f436786c1920b
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_lipobin]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/Capture]
action 'Writing file iosapp/Apps/Capture/Capture-intermediates/dossier_arguments'
Mnemonic: FileWrite
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: ac3ebb88077cd1cbb8cc436058ddea66cd7c74e2d848069fdf2c4dc19d32163f
Inputs: []
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/dossier_arguments]
action 'Generating codesigning dossier for Capture'
Mnemonic: GenerateCodesigningDossier
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 87ba05ec33ff8eaa14ba51c03332129190c0168aca348dedcce647972ce23c71
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/dossier_arguments, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_entitlements.simulator.entitlements, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/dossier_codesigningtool/dossier_codesigningtool, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Sdossier_Ucodesigningtool_Sdossier_Ucodesigningtool-runfiles, external/build_bazel_rules_apple/tools/dossier_codesigningtool/dossier_codesigningtool.py, iosapp/_mobileprovision/co_amo_love-wildcard-dev.mobileprovision]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_dossier.zip]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/dossier_codesigningtool/dossier_codesigningtool \
create \
@bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/dossier_arguments)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
action 'Copy DWARF into dSYM `iosapp/Apps/Capture/Capture_bin.dwarf`'
Mnemonic: DsymDwarf
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: db4881f84b0953b0bfe045d1bb3b6e6a81bc36e4299662704d394764c186579d
Inputs: [bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin.dwarf]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.app.dSYM/Contents/Resources/DWARF/Capture]
Command Line: (exec /bin/bash \
-c \
'\u000Aif [[ $OSTYPE == darwin* ]]; then\u000A readonly flags='\''-cp'\''\u000Aelse\u000A readonly flags='\''-p'\''\u000Afi\u000Acp $flags '\''bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin.dwarf'\'' '\''bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.app.dSYM/Contents/Resources/DWARF/Capture'\''\u000A')
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
action 'Expanding template iosapp/Apps/Capture/Capture.app.dSYM/Contents/Info.plist'
Mnemonic: TemplateExpand
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 661f65abaa9aa45b105b91cb799a93e26a58803b3c75c89160a81f02769f41cf
Inputs: [external/build_bazel_rules_apple/apple/internal/templates/dSYM-Info.plist.template]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.app.dSYM/Contents/Info.plist]
Template: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.%bundle_name_with_extension%.dSYM</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
Substitutions: [
{%bundle_name_with_extension%: Capture.app}
]
action 'DSYMBundleCopy iosapp/Apps/Capture/dSYMs/Capture.app.dSYM'
Mnemonic: DSYMBundleCopy
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 5d1bfbc1fe18d7518a414e4b2eab5206c4800d4140908cbc447ec2580db7c2fd
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.app.dSYM/Contents/Info.plist, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin.dwarf]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/dSYMs/Capture.app.dSYM (TreeArtifact)]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, OUTPUT_DIR=bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/dSYMs/Capture.app.dSYM, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec /bin/bash \
-c \
'mkdir -p ${OUTPUT_DIR}/Contents/Resources/DWARF && cp bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.app.dSYM/Contents/Info.plist ${OUTPUT_DIR}/Contents/Info.plist')
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
action 'ImportedDynamicFrameworkProcessor iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Sentry.framework.zip'
Mnemonic: ImportedDynamicFrameworkProcessor
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 23ac24a66797586a7e58acc7967f195681e91263e60237c65a60838c3f366257
Inputs: [bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/codesigningtool/codesigningtool, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/imported_dynamic_framework_processor/imported_dynamic_framework_processor, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Scodesigningtool_Scodesigningtool-runfiles, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Simported_Udynamic_Uframework_Uprocessor_Simported_Udynamic_Uframework_Uprocessor-runfiles, external/build_bazel_rules_apple/tools/codesigningtool/codesigningtool.py, external/build_bazel_rules_apple/tools/imported_dynamic_framework_processor/imported_dynamic_framework_processor.py, external/com_github_sentry_sentry-cocoa/Sentry.xcframework/ios-arm64_x86_64-simulator/Sentry.framework/Info.plist, external/com_github_sentry_sentry-cocoa/Sentry.xcframework/ios-arm64_x86_64-simulator/Sentry.framework/Sentry, external/com_github_sentry_sentry-cocoa/Sentry.xcframework/ios-arm64_x86_64-simulator/Sentry.framework/_CodeSignature/CodeResources, iosapp/_mobileprovision/co_amo_love-wildcard-dev.mobileprovision]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Sentry.framework.zip]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/imported_dynamic_framework_processor/imported_dynamic_framework_processor \
--framework_binary \
external/com_github_sentry_sentry-cocoa/Sentry.xcframework/ios-arm64_x86_64-simulator/Sentry.framework/Sentry \
--slice \
arm64 \
--strip_bitcode \
--output_zip \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Sentry.framework.zip \
--temp_path \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Sentry.framework \
--framework_file \
external/com_github_sentry_sentry-cocoa/Sentry.xcframework/ios-arm64_x86_64-simulator/Sentry.framework/Info.plist \
--framework_file \
external/com_github_sentry_sentry-cocoa/Sentry.xcframework/ios-arm64_x86_64-simulator/Sentry.framework/_CodeSignature/CodeResources \
--codesign \
/usr/bin/codesign \
--identity \
- \
--force \
--disable_timestamp \
--target_to_sign \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Sentry.framework \
--)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
action 'ImportedDynamicFrameworkProcessor iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/AnalyticsConnector.framework.zip'
Mnemonic: ImportedDynamicFrameworkProcessor
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 510bab5613b027890bb546e34b4f90c2320dd628c65f66a934501a56d9ce789b
Inputs: [bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/codesigningtool/codesigningtool, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/imported_dynamic_framework_processor/imported_dynamic_framework_processor, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Scodesigningtool_Scodesigningtool-runfiles, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Simported_Udynamic_Uframework_Uprocessor_Simported_Udynamic_Uframework_Uprocessor-runfiles, external/build_bazel_rules_apple/tools/codesigningtool/codesigningtool.py, external/build_bazel_rules_apple/tools/imported_dynamic_framework_processor/imported_dynamic_framework_processor.py, external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/AnalyticsConnector, external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/Info.plist, external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/Modules/AnalyticsConnector.swiftmodule/arm64-apple-ios-simulator.abi.json, external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/Modules/AnalyticsConnector.swiftmodule/x86_64-apple-ios-simulator.abi.json, external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/_CodeSignature/CodeResources, iosapp/_mobileprovision/co_amo_love-wildcard-dev.mobileprovision]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/AnalyticsConnector.framework.zip]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/imported_dynamic_framework_processor/imported_dynamic_framework_processor \
--framework_binary \
external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/AnalyticsConnector \
--slice \
arm64 \
--strip_bitcode \
--output_zip \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/AnalyticsConnector.framework.zip \
--temp_path \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/AnalyticsConnector.framework \
--framework_file \
external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/Info.plist \
--framework_file \
external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/Modules/AnalyticsConnector.swiftmodule/arm64-apple-ios-simulator.abi.json \
--framework_file \
external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/Modules/AnalyticsConnector.swiftmodule/x86_64-apple-ios-simulator.abi.json \
--framework_file \
external/com_github_amplitude_analytics-connector-ios/AnalyticsConnector.xcframework/ios-arm64_x86_64-simulator/AnalyticsConnector.framework/_CodeSignature/CodeResources \
--codesign \
/usr/bin/codesign \
--identity \
- \
--force \
--disable_timestamp \
--target_to_sign \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/AnalyticsConnector.framework \
--)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
action 'ImportedDynamicFrameworkProcessor iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Shake.framework.zip'
Mnemonic: ImportedDynamicFrameworkProcessor
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 495bb88c0f208943060b2c1cbd0e57bcbf0773afbda53f0ee2bc68ff2d0a4829
Inputs: [bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/codesigningtool/codesigningtool, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/imported_dynamic_framework_processor/imported_dynamic_framework_processor, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Scodesigningtool_Scodesigningtool-runfiles, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Simported_Udynamic_Uframework_Uprocessor_Simported_Udynamic_Uframework_Uprocessor-runfiles, external/build_bazel_rules_apple/tools/codesigningtool/codesigningtool.py, external/build_bazel_rules_apple/tools/imported_dynamic_framework_processor/imported_dynamic_framework_processor.py, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Assets.car, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/DemangleNodes.def, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Info.plist, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/LICENSE.txt, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/ReferenceStorage.def, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Roobert-Bold.otf, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Roobert-Medium.otf, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/SHKScreenshotVC.storyboardc/Info.plist, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/SHKScreenshotVC.storyboardc/ScreenshotID.nib, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/SHKScreenshotVC.storyboardc/x0n-cR-uDu-view-Jlv-bX-B75.nib, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Shake, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/StandardTypesMangling.def, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/ValueWitnessMangling.def, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/_CodeSignature/CodeResources, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/cs.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/de.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/en.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/es.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/et.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/fr.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/hu.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/it.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/ja.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/lv.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/pl.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/pt-BR.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/pt-PT.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/ru.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/th.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/upload-symbols.sh, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/zh-Hans.lproj/Localizable.strings, external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/zh-Hant.lproj/Localizable.strings, iosapp/_mobileprovision/co_amo_love-wildcard-dev.mobileprovision]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Shake.framework.zip]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/imported_dynamic_framework_processor/imported_dynamic_framework_processor \
--framework_binary \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Shake \
--slice \
arm64 \
--strip_bitcode \
--output_zip \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Shake.framework.zip \
--temp_path \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Shake.framework \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Assets.car \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/DemangleNodes.def \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Info.plist \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/LICENSE.txt \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/ReferenceStorage.def \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Roobert-Bold.otf \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/Roobert-Medium.otf \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/SHKScreenshotVC.storyboardc/Info.plist \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/SHKScreenshotVC.storyboardc/ScreenshotID.nib \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/SHKScreenshotVC.storyboardc/x0n-cR-uDu-view-Jlv-bX-B75.nib \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/StandardTypesMangling.def \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/ValueWitnessMangling.def \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/_CodeSignature/CodeResources \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/cs.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/de.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/en.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/es.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/et.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/fr.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/hu.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/it.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/ja.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/lv.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/pl.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/pt-BR.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/pt-PT.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/ru.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/th.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/upload-symbols.sh \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/zh-Hans.lproj/Localizable.strings \
--framework_file \
external/com_github_shakebugs_shake-ios/Sources/Shake.xcframework/ios-arm64_x86_64-simulator/Shake.framework/zh-Hant.lproj/Localizable.strings \
--codesign \
/usr/bin/codesign \
--identity \
- \
--force \
--disable_timestamp \
--target_to_sign \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Shake.framework \
--)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
action 'AssetCatalogCompile iosapp/Apps/Capture/Capture-intermediates/xcassets'
Mnemonic: AssetCatalogCompile
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 9bb73e9869e901041977062ccd40779f8619fc41fd35315dbeae8423fcea2c5b
Inputs: [bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/xctoolrunner/xctoolrunner, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Sxctoolrunner_Sxctoolrunner-runfiles, external/build_bazel_rules_apple/tools/xctoolrunner/xctoolrunner.py, iosapp/Apps/Capture/Resources/Assets.xcassets/AccentColor.colorset/Contents.json, iosapp/Apps/Capture/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json, iosapp/Apps/Capture/Resources/Assets.xcassets/Contents.json]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/xcassets (TreeArtifact), bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/xcassets-info.plist]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/xctoolrunner/xctoolrunner \
actool \
--compile \
'[ABSOLUTE]bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/xcassets' \
--platform \
iphonesimulator \
--minimum-deployment-target \
13.0 \
--compress-pngs \
--product-type \
com.apple.product-type.application \
--app-icon \
AppIcon \
--target-device \
iphone \
--output-partial-info-plist \
'[ABSOLUTE]bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/xcassets-info.plist' \
'[ABSOLUTE]iosapp/Apps/Capture/Resources/Assets.xcassets')
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {no-sandbox: 1, requires-darwin: '', supports-xcode-requirements-set: ''}
action 'Writing file iosapp/Apps/Capture/Capture-intermediates/Info.plist-root-control'
Mnemonic: FileWrite
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: d7e1bc2a3b0371daff58f037dda4aebb2dbf9793428c175d8c129fcfe9123eff
Inputs: []
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/Info.plist-root-control]
action 'CompileRootInfoPlist iosapp/Apps/Capture/Capture-intermediates/Info.plist'
Mnemonic: CompileRootInfoPlist
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: aa405eafd81a973c7bf0cdce582d4611e4beda6892765fe91bc3ba3206efe1e9
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/external/build_bazel_rules_apple/apple/internal/environment_plist_ios.plist, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/Info.plist-root-control, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/xcassets-info.plist, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/plisttool/plisttool, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Splisttool_Splisttool-runfiles, external/build_bazel_rules_apple/tools/plisttool/plisttool.py, iosapp/Apps/Capture/Resources/Info.plist]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/Info.plist, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/PkgInfo]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/plisttool/plisttool \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/Info.plist-root-control)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
action 'SwiftStdlibCopy iosapp/Apps/Capture/Capture-intermediates/swiftlibs'
Mnemonic: SwiftStdlibCopy
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 5d01bee9bc0a400e3921f95a1223341ababb9a734e08d84e91fbebec75cdfa39
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_lipobin, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/swift_stdlib_tool/swift_stdlib_tool, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Sswift_Ustdlib_Utool_Sswift_Ustdlib_Utool-runfiles, external/build_bazel_rules_apple/tools/swift_stdlib_tool/swift_stdlib_tool.py]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/swiftlibs (TreeArtifact)]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/swift_stdlib_tool/swift_stdlib_tool \
--platform \
iphonesimulator \
--output_path \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/swiftlibs \
--binary \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_lipobin \
--strip_bitcode)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
action 'GenerateAppleSymbolsFile iosapp/Apps/Capture/Capture-intermediates/symbols_output'
Mnemonic: GenerateAppleSymbolsFile
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 8e286e8fa6ad8d82da30174e11c59123e4453ea585de66f76349738bbe6c4643
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_lipobin, bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin.dwarf]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/symbols_output (TreeArtifact)]
Environment: [APPLE_SDK_PLATFORM=iPhoneSimulator, APPLE_SDK_VERSION_OVERRIDE=16.2, XCODE_VERSION_OVERRIDE=14.2.0.14C18]
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
Command Line: (exec /bin/bash \
-c \
'mkdir -p '\''bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/symbols_output'\'' && /usr/bin/xcrun symbols -noTextInSOD -noDaemon -arch all -symbolsPackageDir '\''bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/symbols_output'\'' '\''bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_lipobin'\'' '\''bazel-out/ios-sim_arm64-min13.0-applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture_bin.dwarf'\'' >/dev/null')
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
ExecutionInfo: {requires-darwin: '', supports-xcode-requirements-set: ''}
action 'Writing file iosapp/Apps/Capture/Capture-intermediates/bundletool_control.json'
Mnemonic: FileWrite
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 2f30ae5a694fc6eb19c675ba78b16c8055e13e6c075ff1138c91d29108bc47fc
Inputs: []
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/bundletool_control.json]
action 'Bundling Capture'
Mnemonic: BundleApp
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: e135b2fdeb2c8267ecb7f57d6ff70c23f6864d4c70ef4a7dfd541cfc8cc85b7a
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/Capture, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/Info.plist, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/PkgInfo, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/AnalyticsConnector.framework.zip, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Sentry.framework.zip, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/_imported_frameworks/Shake.framework.zip, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/bundletool_control.json, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/swiftlibs, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/xcassets, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/bundletool/bundletool, bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/internal/_middlemen/external_Sbuild_Ubazel_Urules_Uapple_Stools_Sbundletool_Sbundletool-runfiles, external/build_bazel_rules_apple/tools/bundletool/bundletool.py]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/unprocessed_archive.zip]
Command Line: (exec bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-521287fc850f/bin/external/build_bazel_rules_apple/tools/bundletool/bundletool \
bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/bundletool_control.json)
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
action 'Processing and signing Capture'
Mnemonic: ProcessAndSign
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 5a9b710f604f3db0f8a15274a7169ef19aa48a577313ded50bb1a9205097ae09
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/unprocessed_archive.zip]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.ipa]
Command Line: (exec /bin/bash \
-c \
'cp -p '\''bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture-intermediates/unprocessed_archive.zip'\'' '\''bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.ipa'\''')
# Configuration: 9238d9ea0e324a0d39e6df1c567ced6f0c7b6a7aa70b8614e3a44456964dc3f1
# Execution platform: @local_config_platform//:host
action 'Expanding template iosapp/Apps/Capture/Capture'
Mnemonic: TemplateExpand
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 21da6c60f2c166f2f4a1029ae9c89f04e8f6b9a16502facf9539ceaa64f68679
Inputs: [external/build_bazel_rules_apple/apple/internal/templates/ios_sim.template.py]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture]
Template: #!/usr/bin/env python3
# Copyright 2020 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Invoked by `bazel run` to launch ios_application targets in the simulator."""
# This script works in one of two modes.
#
# If either --ios_simulator_version or --ios_simulator_device were not
# passed to bazel:
#
# 1. Discovers a simulator compatible with the minimum_os of the
# ios_application target, preferring already-booted simulators
# if possible
# 2. Boots the simulator if needed
# 3. Installs and launches the application
# 4. Displays the application's output on the console
#
# This mode does not kill running simulators or shutdown or delete the simulator
# after it completes.
#
# If --ios_simulator_version and --ios_simulator_device were both passed
# to bazel:
#
# 1. Creates a new temporary simulator by running "simctl create ..."
# 2. Boots the new temporary simulator
# 3. Installs and launches the application
# 4. Displays the application's output on the console
# 5. When done, shuts down and deletes the newly-created simulator
#
# All environment variables with names starting with "IOS_" are passed to the
# application, after stripping the prefix "IOS_".
import collections.abc
import contextlib
import json
import logging
import os
import os.path
import platform
import plistlib
import shutil
import subprocess
import tempfile
import time
import zipfile
logging.basicConfig(
format="%(asctime)s.%(msecs)03d %(levelname)s %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
level=logging.INFO)
logger = logging.getLogger(__name__)
if platform.system() != "Darwin":
raise Exception("Cannot run iOS targets on a non-mac machine.")
class DeviceType(collections.abc.Mapping):
"""Wraps the `devicetype` dictionary from `simctl list -j`.
Provides an ordering so iPhones > iPads. In addition, maintains the
original order from `simctl list` as `simctl_list_index` to ensure
newer device types are sorted after older device types.
"""
def __init__(self, device_type, simctl_list_index):
self.device_type = device_type
self.simctl_list_index = simctl_list_index
def __getitem__(self, name):
return self.device_type[name]
def __iter__(self):
return iter(self.device_type)
def __len__(self):
return len(self.device_type)
def __repr__(self):
return self["name"] + " (" + self["identifier"] + ")"
def __lt__(self, other):
# Order iPhones ahead of (later in the list than) iPads.
if self.is_ipad() and other.is_iphone():
return True
elif self.is_iphone() and other.is_ipad():
return False
# Order device types from the same product family in the same order
# as `simctl list`.
return self.simctl_list_index < other.simctl_list_index
def is_iphone(self):
return self.has_product_family_or_identifier("iPhone")
def is_ipad(self):
return self.has_product_family_or_identifier("iPad")
def has_product_family_or_identifier(self, device_type):
product_family = self.get("productFamily")
if product_family:
return product_family == device_type
# Some older simulators are missing `productFamily`. Try to guess from the
# identifier.
return device_type in self["identifier"]
class Device(collections.abc.Mapping):
"""Wraps the `device` dictionary from `simctl list -j`.
Provides an ordering so booted devices > shutdown devices, delegating
to `DeviceType` order when both devices have the same state.
"""
def __init__(self, device, device_type):
self.device = device
self.device_type = device_type
def is_shutdown(self):
return self["state"] == "Shutdown"
def is_booted(self):
return self["state"] == "Booted"
def __getitem__(self, name):
return self.device[name]
def __iter__(self):
return iter(self.device)
def __len__(self):
return len(self.device)
def __repr__(self):
return self["name"] + "(" + self["udid"] + ")"
def __lt__(self, other):
if self.is_shutdown() and other.is_booted():
return True
elif self.is_booted() and other.is_shutdown():
return False
else:
return self.device_type < other.device_type
def minimum_os_to_simctl_runtime_version(minimum_os):
"""Converts a minimum OS string to a simctl RuntimeVersion integer.
Args:
minimum_os: A string in the form '12.2' or '13.2.3'.
Returns:
An integer in the form 0xAABBCC, where AA is the major version, BB is
the minor version, and CC is the micro version.
"""
# Pad the minimum OS version to major.minor.micro.
minimum_os_components = (minimum_os.split(".") + ["0"] * 3)[:3]
result = 0
for component in minimum_os_components:
result = (result << 8) | int(component)
return result
def discover_best_compatible_simulator(simctl_path, minimum_os, sim_device,
sim_os_version):
"""Discovers the best compatible simulator device type and device.
Args:
simctl_path: The path to the `simctl` binary.
minimum_os: The minimum OS version required by the ios_application() target.
sim_device: Optional name of the device (e.g. "iPhone 8 Plus").
sim_os_version: Optional version of the iOS runtime (e.g. "13.2").
Returns:
A tuple (device_type, device) containing the DeviceType and Device
of the best compatible simulator (might be None if no match was found).
Raises:
subprocess.SubprocessError: if `simctl list` fails or times out.
"""
# The `simctl list` CLI provides only very basic case-insensitive description
# matching search term functionality.
#
# This code needs to enforce a numeric floor on `minimum_os`, so it directly
# parses the JSON output by `simctl list` instead of repeatedly invoking
# `simctl list` with search terms.
cmd = [simctl_path, "list", "-j"]
with subprocess.Popen(cmd, stdout=subprocess.PIPE) as process:
simctl_data = json.load(process.stdout)
if process.wait() != os.EX_OK:
raise subprocess.CalledProcessError(process.returncode, cmd)
compatible_device_types = []
minimum_runtime_version = minimum_os_to_simctl_runtime_version(minimum_os)
# Prepare the device name for case-insensitive matching.
sim_device = sim_device and sim_device.casefold()
# `simctl list` orders device types from oldest to newest. Remember
# the index of each device type to preserve that ordering when
# sorting device types.
for (simctl_list_index, device_type) in enumerate(simctl_data["devicetypes"]):
device_type = DeviceType(device_type, simctl_list_index)
if not (device_type.is_iphone() or device_type.is_ipad()):
continue
# Some older simulators are missing `maxRuntimeVersion`. Assume those
# simulators support all OSes (even though it's not true).
max_runtime_version = device_type.get("maxRuntimeVersion")
if max_runtime_version and max_runtime_version < minimum_runtime_version:
continue
if sim_device and device_type["name"].casefold().find(sim_device) == -1:
continue
compatible_device_types.append(device_type)
compatible_device_types.sort()
logger.debug("Found %d compatible device types.",
len(compatible_device_types))
compatible_runtime_identifiers = set()
for runtime in simctl_data["runtimes"]:
if not runtime["isAvailable"]:
continue
if sim_os_version and runtime["version"] != sim_os_version:
continue
compatible_runtime_identifiers.add(runtime["identifier"])
compatible_devices = []
for runtime_identifier, devices in simctl_data["devices"].items():
if runtime_identifier not in compatible_runtime_identifiers:
continue
for device in devices:
if not device["isAvailable"]:
continue
compatible_device = None
for device_type in compatible_device_types:
if device["deviceTypeIdentifier"] == device_type["identifier"]:
compatible_device = Device(device, device_type)
break
if not compatible_device:
continue
compatible_devices.append(compatible_device)
compatible_devices.sort()
logger.debug("Found %d compatible devices.", len(compatible_devices))
if compatible_device_types:
best_compatible_device_type = compatible_device_types[-1]
else:
best_compatible_device_type = None
if compatible_devices:
best_compatible_device = compatible_devices[-1]
else:
best_compatible_device = None
return (best_compatible_device_type, best_compatible_device)
def persistent_ios_simulator(simctl_path, minimum_os, sim_device,
sim_os_version):
"""Finds or creates a persistent compatible iOS simulator.
Boots the simulator if needed. Does not shut down or delete the simulator when
done.
Args:
simctl_path: The path to the `simctl` binary.
minimum_os: The minimum OS version required by the ios_application() target.
sim_device: Optional name of the device (e.g. "iPhone 8 Plus").
sim_os_version: Optional version of the iOS runtime (e.g. "13.2").
Returns:
The UDID of the compatible iOS simulator.
Raises:
Exception: if a compatible simulator was not found.
"""
(best_compatible_device_type,
best_compatible_device) = discover_best_compatible_simulator(
simctl_path, minimum_os, sim_device, sim_os_version)
if best_compatible_device:
udid = best_compatible_device["udid"]
if best_compatible_device.is_shutdown():
logger.debug("Booting compatible device: %s", best_compatible_device)
subprocess.run([simctl_path, "boot", udid], check=True)
else:
logger.debug("Using compatible device: %s", best_compatible_device)
return udid
if best_compatible_device_type:
device_name = best_compatible_device_type["name"]
device_id = best_compatible_device_type["identifier"]
logger.info("Creating new %s simulator", device_name)
create_result = subprocess.run(
[simctl_path, "create", device_name, device_id],
encoding="utf-8",
stdout=subprocess.PIPE,
check=True)
udid = create_result.stdout.rstrip()
logger.debug("Created new simulator: %s", udid)
return udid
raise Exception(
"Could not find or create a simulator compatible with minimum OS version %s (device name %s, OS version %s)"
% (minimum_os, sim_device, sim_os_version))
def wait_for_sim_to_boot(simctl_path, udid):
"""Blocks until the given simulator is booted.
Args:
simctl_path: The path to the `simctl` binary.
udid: The identifier of the simulator to wait for.
Returns:
True if the simulator boots within 60 seconds, False otherwise.
"""
logger.info("Waiting for simulator to boot...")
for _ in range(0, 60):
# The expected output of "simctl list" is like:
# -- iOS 8.4 --
# iPhone 5s (E946FA1C-26AB-465C-A7AC-24750D520BEA) (Shutdown)
# TestDevice (8491C4BC-B18E-4E2D-934A-54FA76365E48) (Booted)
# So if there's any booted simulator, $booted_device will not be empty.
simctl_list_result = subprocess.run([simctl_path, "list", "devices"],
encoding="utf-8",
check=True,
stdout=subprocess.PIPE)
for line in simctl_list_result.stdout.split("\n"):
if line.find(udid) != -1 and line.find("Booted") != -1:
logger.debug("Simulator is booted.")
# Simulator is booted.
return True
logger.debug("Simulator not booted, still waiting...")
time.sleep(1)
return False
def boot_simulator(developer_path, simctl_path, udid):
"""Launches the iOS simulator for the given identifier.
Ensures the Simulator process is in the foreground.
Args:
developer_path: The path to /Applications/Xcode.app/Contents/Developer.
simctl_path: The path to the `simctl` binary.
udid: The identifier of the simulator to wait for.
Raises:
Exception: if the simulator did not launch within 60 seconds.
"""
logger.info("Launching simulator with udid: %s", udid)
# Using subprocess.Popen() to launch Simulator.app and then
# `osascript -e "tell application \"Simulator\" to activate" is racy
# and can fail with:
#
# Simulator got an error: Connection is invalid. (-609)
#
# This is likely because the newly-spawned Simulator.app process
# hasn't had time to connect to the Apple Events system which
# `osascript` relies on.
simulator_path = os.path.join(developer_path, "Applications/Simulator.app")
subprocess.run(
["open", "-a", simulator_path, "--args", "-CurrentDeviceUDID", udid],
check=True)
logger.debug("Simulator launched.")
if not wait_for_sim_to_boot(simctl_path, udid):
raise Exception("Failed to launch simulator with UDID: " + udid)
@contextlib.contextmanager
def temporary_ios_simulator(simctl_path, device, version):
"""Creates a temporary iOS simulator, cleaned up automatically upon close.
Args:
simctl_path: The path to the `simctl` binary.
device: The name of the device (e.g. "iPhone 8 Plus").
version: The version of the iOS runtime (e.g. "13.2").
Yields:
The UDID of the newly-created iOS simulator.
"""
runtime_version_name = version.replace(".", "-")
logger.info("Creating simulator, device=%s, version=%s", device, version)
simctl_create_result = subprocess.run([
simctl_path, "create", "TestDevice", device,
"com.apple.CoreSimulator.SimRuntime.iOS-" + runtime_version_name
],
encoding="utf-8",
check=True,
stdout=subprocess.PIPE)
udid = simctl_create_result.stdout.rstrip()
try:
logger.info("Killing all running simulators...")
subprocess.run(["pkill", "Simulator"],
stderr=subprocess.DEVNULL,
check=False)
yield udid
finally:
logger.info("Shutting down simulator with udid: %s", udid)
subprocess.run([simctl_path, "shutdown", udid],
stderr=subprocess.DEVNULL,
check=False)
logger.info("Deleting simulator with udid: %s", udid)
subprocess.run([simctl_path, "delete", udid], check=True)
@contextlib.contextmanager
def extracted_app(ios_application_output_path, app_name):
"""Extracts Foo.app from ios_application() output and makes it writable.
Args:
ios_application_output_path: Path to the output of an `ios_application()`.
If the path is a directory, copies it to a temporary directory and makes
the contents writable, as `simctl install` fails to install an `.app` that
is read-only. If the path is an .ipa archive, unzips it to a temporary
directory.
app_name: The name of the application (e.g. "Foo" for "Foo.app").
Yields:
Path to Foo.app in temporary directory (re-used if already present).
"""
if os.path.isdir(ios_application_output_path):
# Re-use the same path for each run and rsync to it (reducing
# copies). Ensure the result is writable, or `simctl install` will
# fail with `Unhandled error domain NSPOSIXErrorDomain, code 13`.
dst_dir = os.path.join(tempfile.gettempdir(), "bazel_temp_" + app_name)
os.makedirs(dst_dir, exist_ok=True)
rsync_command = [
"/usr/bin/rsync",
"--archive",
"--delete",
"--checksum",
"--chmod=u+w",
"--verbose",
# The output path might itself be a symlink; resolve to the
# real path so rsync doesn't just copy the symlink.
os.path.realpath(ios_application_output_path),
dst_dir,
]
logger.debug("Found app directory: %s, running command: %s",
ios_application_output_path, rsync_command)
result = subprocess.run(
rsync_command,
capture_output=True,
check=True,
encoding='utf-8',
text=True)
logger.debug("rsync output: %s", result.stdout)
yield os.path.join(dst_dir, app_name + ".app")
else:
# Create a new temporary directory for each run, deleting it
# afterwards (there's no efficient way to "sync" an unzip, so this
# can't re-use the output directory).
with tempfile.TemporaryDirectory(prefix="bazel_temp") as temp_dir:
logger.debug("Unzipping IPA from %s to %s", ios_application_output_path,
temp_dir)
with zipfile.ZipFile(ios_application_output_path) as ipa_zipfile:
ipa_zipfile.extractall(temp_dir)
yield os.path.join(temp_dir, "Payload", app_name + ".app")
def bundle_id(bundle_path):
"""Returns the bundle ID given a bundle directory path."""
info_plist_path = os.path.join(bundle_path, "Info.plist")
with open(info_plist_path, mode="rb") as plist_file:
plist = plistlib.load(plist_file)
return plist["CFBundleIdentifier"]
def simctl_launch_environ():
"""Calculates an environment dictionary for running `simctl launch`."""
# Pass environment variables prefixed with "IOS_" to the simulator, replace
# the prefix with "SIMCTL_CHILD_". bazel adds "IOS_" to the env vars which
# will be passed to the app as prefix to differentiate from other env vars. We
# replace the prefix "IOS_" with "SIMCTL_CHILD_" here, because "simctl" only
# pass the env vars prefixed with "SIMCTL_CHILD_" to the app.
result = {}
for k, v in os.environ.items():
if not k.startswith("IOS_"):
continue
new_key = k.replace("IOS_", "SIMCTL_CHILD_", 1)
result[new_key] = v
if 'IDE_DISABLED_OS_ACTIVITY_DT_MODE' not in os.environ:
# Ensure os_log() mirrors writes to stderr. (lldb and Xcode set this
# environment variable as well.)
result["SIMCTL_CHILD_OS_ACTIVITY_DT_MODE"] = "enable"
return result
@contextlib.contextmanager
def ios_simulator(simctl_path, minimum_os, sim_device, sim_os_version):
"""Finds either a temporary or persistent iOS simulator based on args.
Args:
simctl_path: The path to the `simctl` binary.
minimum_os: The minimum OS version required by the ios_application() target.
sim_device: Optional name of the device (e.g. "iPhone 8 Plus").
sim_os_version: Optional version of the iOS runtime (e.g. "13.2").
Yields:
The UDID of the simulator.
"""
if sim_device and sim_os_version:
with temporary_ios_simulator(simctl_path, sim_device,
sim_os_version) as udid:
yield udid
else:
yield persistent_ios_simulator(simctl_path, minimum_os, sim_device,
sim_os_version)
def run_app_in_simulator(simulator_udid, developer_path, simctl_path,
ios_application_output_path, app_name):
"""Installs and runs an app in the specified simulator.
Args:
simulator_udid: The UDID of the simulator in which to run the app.
developer_path: The path to /Applications/Xcode.app/Contents/Developer.
simctl_path: The path to the `simctl` binary.
ios_application_output_path: Path to the output of an `ios_application()`.
app_name: The name of the application (e.g. "Foo" for "Foo.app").
"""
boot_simulator(developer_path, simctl_path, simulator_udid)
with extracted_app(ios_application_output_path, app_name) as app_path:
logger.debug("Installing app %s to simulator %s", app_path, simulator_udid)
subprocess.run([simctl_path, "install", simulator_udid, app_path],
check=True)
app_bundle_id = bundle_id(app_path)
logger.info("Launching app %s in simulator %s", app_bundle_id,
simulator_udid)
args = [
simctl_path, "launch", "--console-pty", simulator_udid, app_bundle_id
]
subprocess.run(args, env=simctl_launch_environ(), check=False)
def main(sim_device, sim_os_version, ios_application_output_path, app_name,
minimum_os):
"""Main entry point to `bazel run` for ios_application() targets.
Args:
sim_device: The name of the device (e.g. "iPhone 8 Plus").
sim_os_version: The version of the iOS runtime (e.g. "13.2").
ios_application_output_path: Path to the output of an `ios_application()`.
app_name: The name of the application (e.g. "Foo" for "Foo.app").
minimum_os: The minimum OS version required by the ios_application() target.
"""
xcode_select_result = subprocess.run(["xcode-select", "-p"],
encoding="utf-8",
check=True,
stdout=subprocess.PIPE)
developer_path = xcode_select_result.stdout.rstrip()
simctl_path = os.path.join(developer_path, "usr", "bin", "simctl")
with ios_simulator(simctl_path, minimum_os, sim_device,
sim_os_version) as simulator_udid:
run_app_in_simulator(simulator_udid, developer_path, simctl_path,
ios_application_output_path, app_name)
if __name__ == "__main__":
try:
# Tempate values filled in by rules_apple/apple/internal/run_support.bzl.
main("%sim_device%", "%sim_os_version%", "%ipa_file%", "%app_name%",
"%minimum_os%")
except subprocess.CalledProcessError as e:
logger.error("%s exited with error code %d", e.cmd, e.returncode)
except KeyboardInterrupt:
pass
Substitutions: [
{%app_name%: Capture}
{%ipa_file%: iosapp/Apps/Capture/Capture.ipa}
{%sim_device%: iPhone 13}
{%sim_os_version%: 16.1}
{%minimum_os%: 13.0}
]
action 'Creating source manifest for //iosapp/Apps/Capture:Capture'
Mnemonic: SourceSymlinkManifest
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: bc3b302f8fca64f0f68c45b612ab588dbc01c3eed4a9a83949ee5a281005b836
Inputs: []
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.runfiles_manifest]
action 'Creating runfiles tree bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.runfiles'
Mnemonic: SymlinkTree
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 235c0027856e4c10e6b3baebc19e8884643f7b49ee6145602ee11147e48ce038
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.runfiles_manifest]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.runfiles/MANIFEST]
Environment: [PATH=/bin:/usr/bin:/usr/local/bin]
runfiles for //iosapp/Apps/Capture:Capture
Mnemonic: Middleman
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 709e80c88487a2411e1ee4dfb9f22a861492d20c4765150c0c794abd70f8147c
Inputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.ipa, bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/bin/iosapp/Apps/Capture/Capture.runfiles/MANIFEST]
Outputs: [bazel-out/applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e/internal/_middlemen/iosapp_SApps_SCapture_SCapture-runfiles]
INFO: Elapsed time: 0.206s, Critical Path: 0.00s
INFO: 0 processes.
INFO: Build completed successfully, 0 total actions
corentinkerisit@endurance monorepo %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment